chore: security clearances (#10773)

* chore: nx migrate + resolve form-data security alert

https://github.com/NativeScript/NativeScript/security/dependabot/43

* fix(security): babel/helpers

https://github.com/NativeScript/NativeScript/security/dependabot/27
This commit is contained in:
Nathan Walker
2025-07-26 18:18:17 -07:00
parent a9e5a22fbc
commit f1e2df624c
5 changed files with 1875 additions and 1217 deletions

View File

@@ -9,6 +9,8 @@
{ "version": "20.5.0-beta.3", "description": "Update resolve.conditions to include defaults that are no longer provided by Vite.", "implementation": "./src/migrations/update-20-5-0/update-resolve-conditions", "package": "@nx/vite", "name": "update-20-5-0-update-resolve-conditions" }, { "version": "20.5.0-beta.3", "description": "Update resolve.conditions to include defaults that are no longer provided by Vite.", "implementation": "./src/migrations/update-20-5-0/update-resolve-conditions", "package": "@nx/vite", "name": "update-20-5-0-update-resolve-conditions" },
{ "version": "20.5.0-beta.3", "description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.", "implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files", "package": "@nx/vite", "name": "eslint-ignore-vite-temp-files" }, { "version": "20.5.0-beta.3", "description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.", "implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files", "package": "@nx/vite", "name": "eslint-ignore-vite-temp-files" },
{ "cli": "nx", "version": "21.0.0-beta.9", "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.", "implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync", "package": "@nx/jest", "name": "replace-getJestProjects-with-getJestProjectsAsync-v21" }, { "cli": "nx", "version": "21.0.0-beta.9", "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.", "implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync", "package": "@nx/jest", "name": "replace-getJestProjects-with-getJestProjectsAsync-v21" },
{ "version": "21.0.0-beta.10", "description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.", "implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor", "package": "@nx/jest", "name": "remove-tsconfig-option-from-jest-executor" } { "version": "21.0.0-beta.10", "description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.", "implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor", "package": "@nx/jest", "name": "remove-tsconfig-option-from-jest-executor" },
{ "version": "21.3.0-beta.3", "requires": { "jest": ">=30.0.0" }, "description": "Rename the CLI option `testPathPattern` to `testPathPatterns`.", "implementation": "./src/migrations/update-21-3-0/rename-test-path-pattern", "package": "@nx/jest", "name": "rename-test-path-pattern" },
{ "version": "21.3.0-beta.3", "requires": { "jest": ">=30.0.0" }, "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher", "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases", "package": "@nx/jest", "name": "replace-removed-matcher-aliases" }
] ]
} }

2859
package-lock.json generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +1,115 @@
{ {
"name": "nativescript", "name": "nativescript",
"version": "8.9.0", "version": "8.9.0",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc", "clean": "git clean -f -X -d --exclude=!.idea/ --exclude=!.vscode/* --exclude=!.npmrc",
"clean.all": "npm run setup && nx run-many --target=clean --all", "clean.all": "npm run setup && nx run-many --target=clean --all",
"setup": "npm run clean && npm install", "setup": "npm run clean && npm install",
"setup:yarn": "yarn clean && yarn", "setup:yarn": "yarn clean && yarn",
"setup:pnpm": "pnpm run clean && pnpm install", "setup:pnpm": "pnpm run clean && pnpm install",
"postinstall": "ts-patch install && husky", "postinstall": "ts-patch install && husky",
"start": "nps" "start": "nps"
}, },
"private": true, "private": true,
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/NativeScript/NativeScript.git" "url": "https://github.com/NativeScript/NativeScript.git"
}, },
"dependencies": { "dependencies": {
"nativescript-theme-core": "^1.0.4" "nativescript-theme-core": "^1.0.4"
}, },
"devDependencies": { "devDependencies": {
"@csstools/css-calc": "~2.1.2", "@csstools/css-calc": "~2.1.2",
"@csstools/css-color-parser": "^3.0.8", "@csstools/css-color-parser": "^3.0.8",
"@csstools/css-parser-algorithms": "^3.0.4", "@csstools/css-parser-algorithms": "^3.0.4",
"@csstools/css-tokenizer": "^3.0.3", "@csstools/css-tokenizer": "^3.0.3",
"@nativescript/hook": "^3.0.1", "@nativescript/hook": "^3.0.1",
"@nativescript/nx": "^21.0.0", "@nativescript/nx": "^21.0.0",
"@nstudio/focus": "^20.0.2", "@nstudio/focus": "^20.0.2",
"@nstudio/nps-i": "~2.0.0", "@nstudio/nps-i": "~2.0.0",
"@nx/devkit": "21.2.1", "@nx/devkit": "21.3.7",
"@nx/eslint-plugin": "21.2.1", "@nx/eslint-plugin": "21.3.7",
"@nx/jest": "21.2.1", "@nx/jest": "21.3.7",
"@nx/js": "21.2.1", "@nx/js": "21.3.7",
"@nx/node": "21.2.1", "@nx/node": "21.3.7",
"@nx/plugin": "21.2.1", "@nx/plugin": "21.3.7",
"@nx/vite": "21.2.1", "@nx/vite": "21.3.7",
"@nx/web": "21.2.1", "@nx/web": "21.3.7",
"@nx/workspace": "21.2.1", "@nx/workspace": "21.3.7",
"@prettier/plugin-xml": "^3.4.1", "@prettier/plugin-xml": "^3.4.1",
"@swc-node/register": "~1.10.1", "@swc-node/register": "~1.10.1",
"@swc/core": "~1.12.7", "@swc/core": "~1.12.7",
"@swc/helpers": "~0.5.17", "@swc/helpers": "~0.5.17",
"@types/jest": "~29.5.0", "@types/jest": "30.0.0",
"@types/node": "^20.0.0", "@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^8.35.0", "@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0", "@typescript-eslint/parser": "^8.35.0",
"@vitest/coverage-v8": "^2.0.0", "@vitest/coverage-v8": "^2.0.0",
"@vitest/ui": "^2.0.0", "@vitest/ui": "^2.0.0",
"acorn": "^8.15.0", "acorn": "^8.15.0",
"acorn-stage3": "^4.0.0", "acorn-stage3": "^4.0.0",
"copy-webpack-plugin": "^13.0.0", "copy-webpack-plugin": "^13.0.0",
"copyfiles": "^2.4.0", "copyfiles": "^2.4.0",
"css": "^3.0.0", "css": "^3.0.0",
"css-tree": "^1.1.2", "css-tree": "^1.1.2",
"css-what": "^6.1.0", "css-what": "^6.1.0",
"dotenv": "~16.4.0", "dotenv": "~16.4.0",
"dotenv-webpack": "^7.0.0", "dotenv-webpack": "^7.0.0",
"emoji-regex": "^10.3.0", "emoji-regex": "^10.3.0",
"enhanced-resolve": "^5.8.3", "enhanced-resolve": "^5.8.3",
"eslint": "~8.57.0", "eslint": "~8.57.0",
"eslint-config-prettier": "^10.0.0", "eslint-config-prettier": "^10.0.0",
"fork-ts-checker-webpack-plugin": "^7.0.0", "fork-ts-checker-webpack-plugin": "^7.0.0",
"gonzales": "^1.0.7", "form-data": ">=4.0.4",
"husky": "^9.0.0", "gonzales": "^1.0.7",
"jest": "~29.7.0", "husky": "^9.0.0",
"jest-environment-jsdom": "~29.7.0", "jest": "30.0.5",
"jiti": "2.4.2", "jest-environment-jsdom": "30.0.5",
"jsdom": "~22.1.0", "jiti": "2.4.2",
"lint-staged": "^15.2.0", "jsdom": "~22.1.0",
"loader-utils": "^2.0.0 || ^3.0.0", "lint-staged": "^15.2.0",
"module-alias": "^2.2.2", "loader-utils": "^2.0.0 || ^3.0.0",
"nativescript": "^9.0.0-alpha.0", "module-alias": "^2.2.2",
"nativescript-typedoc-theme": "1.1.0", "nativescript": "^9.0.0-alpha.0",
"nx": "21.2.1", "nativescript-typedoc-theme": "1.1.0",
"parse-css": "git+https://github.com/tabatkins/parse-css.git", "nx": "21.3.7",
"parserlib": "^1.1.1", "parse-css": "git+https://github.com/tabatkins/parse-css.git",
"postcss": "^8.0.0", "parserlib": "^1.1.1",
"postcss-import": "^16.0.0", "postcss": "^8.0.0",
"postcss-loader": "^8.0.0", "postcss-import": "^16.0.0",
"prettier": "^3.2.5", "postcss-loader": "^8.0.0",
"sass": "^1.72.0", "prettier": "^3.2.5",
"sass-loader": "^16.0.5", "sass": "^1.72.0",
"shady-css-parser": "^0.1.0", "shady-css-parser": "^0.1.0",
"terser-webpack-plugin": "^5.0.0", "terser-webpack-plugin": "^5.0.0",
"tree-kill": "^1.2.2", "tree-kill": "^1.2.2",
"ts-dedent": "^2.2.0", "ts-dedent": "^2.2.0",
"ts-jest": "29.4.0", "ts-jest": "29.4.0",
"ts-loader": "^9.0.0", "ts-loader": "^9.0.0",
"ts-node": "10.9.2", "ts-node": "10.9.2",
"ts-patch": "^3.0.0", "ts-patch": "^3.0.0",
"tslib": "^2.6.0", "tslib": "^2.6.0",
"typedoc": "^0.28.6", "typedoc": "^0.28.6",
"typescript": "5.8.3", "typescript": "5.8.3",
"vite": "^6.0.0", "vite": "6.3.5",
"vitest": "^2.0.0", "vitest": "^2.0.0",
"vue-loader": "^15.0.0 <= 15.9.8", "vue-loader": "^15.0.0 <= 15.9.8",
"webpack": "^5.30.0 <= 5.50.0 || ^5.51.2", "webpack": "^5.30.0 <= 5.50.0 || ^5.51.2",
"webpack-bundle-analyzer": "^4.0.0", "webpack-bundle-analyzer": "^4.0.0",
"webpack-chain": "^6.0.0", "webpack-chain": "^6.0.0",
"webpack-cli": "^4.0.0", "webpack-cli": "^4.0.0",
"webpack-merge": "^5.0.0", "webpack-merge": "^5.0.0",
"webpack-virtual-modules": "^0.4.0", "webpack-virtual-modules": "^0.4.0",
"zx": "^8.3.0" "zx": "^8.3.0",
}, "jest-util": "30.0.5"
"lint-staged": { },
"**/*.{js,ts,css,scss,json,html}": [ "overrides": {
"npx prettier --write" "form-data": ">=4.0.4"
] },
} "lint-staged": {
"**/*.{js,ts,css,scss,json,html}": [
"npx prettier --write"
]
}
} }

View File

@@ -57,6 +57,7 @@
"devDependencies": { "devDependencies": {
"@angular/compiler-cli": "^20.0.0", "@angular/compiler-cli": "^20.0.0",
"@angular-devkit/build-angular": "^20.0.0", "@angular-devkit/build-angular": "^20.0.0",
"@babel/helpers": ">=7.26.10",
"@types/css": "0.0.38", "@types/css": "0.0.38",
"@types/jest": "29.5.4", "@types/jest": "29.5.4",
"@types/loader-utils": "2.0.6", "@types/loader-utils": "2.0.6",

View File

@@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json", "$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "tools/workspace-plugin/src", "sourceRoot": "tools/workspace-plugin/src",
"projectType": "library", "projectType": "library",
"tags": [],
"targets": { "targets": {
"build": { "build": {
"executor": "@nx/js:tsc", "executor": "@nx/js:tsc",
@@ -49,6 +50,5 @@
"jestConfig": "tools/workspace-plugin/jest.config.ts" "jestConfig": "tools/workspace-plugin/jest.config.ts"
} }
} }
}, }
"tags": []
} }