Skip to content

Commit

Permalink
chore: upgrade dependencies (#771)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed May 1, 2024
1 parent 016f1aa commit d64fcb0
Show file tree
Hide file tree
Showing 13 changed files with 6,763 additions and 5,916 deletions.
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,39 +36,39 @@
"postinstall": "husky install"
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-transform-typescript": "^7.23.6",
"@babel/preset-env": "^7.23.9",
"@babel/preset-typescript": "^7.23.3",
"@babel/core": "^7.24.5",
"@babel/plugin-transform-typescript": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@swc-node/core": "workspace:*",
"@swc-node/jest": "workspace:*",
"@swc-node/register": "workspace:*",
"@types/babel__core": "^7.20.5",
"@types/benchmark": "^2.1.5",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.15",
"@types/lodash": "^4.17.0",
"@types/node": "^20.12.7",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"ava": "^6.1.1",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"ava": "^6.1.2",
"benchmark": "^2.1.4",
"colorette": "^2.0.20",
"cross-env": "^7.0.3",
"esbuild": "^0.20.0",
"eslint": "^8.56.0",
"esbuild": "^0.20.2",
"eslint": "8",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.0.8",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lerna": "^8.0.2",
"lint-staged": "^15.2.1",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"prettier": "^3.2.4",
"react": "^18.2.0",
"prettier": "^3.2.5",
"react": "^18.3.1",
"rxjs": "^7.8.1",
"sinon": "^17.0.1",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},
"lint-staged": {
"*.@(js|ts|tsx|mts)": [
Expand Down Expand Up @@ -102,5 +102,5 @@
"SWC_NODE_PROJECT": "./tsconfig.test.json"
}
},
"packageManager": "pnpm@8.15.1"
"packageManager": "pnpm@9.0.6"
}
4 changes: 2 additions & 2 deletions packages/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ function transformOption(path: string, options?: Options, jest = false): SwcOpti
sourceMaps: options?.swc?.swcrc
? undefined
: jest || typeof opts.sourcemap === 'undefined'
? 'inline'
: opts.sourcemap,
? 'inline'
: opts.sourcemap,
inlineSourcesContent: true,
swcrc: false,
...(options?.swc ?? {}),
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@swc/types": ">= 0.1"
},
"devDependencies": {
"@swc/core": "^1.4.13",
"@swc/types": "^0.1.5"
"@swc/core": "^1.4.17",
"@swc/types": "^0.1.6"
},
"funding": {
"type": "github",
Expand Down
4 changes: 2 additions & 2 deletions packages/integrate-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"p-timeout": "^6.1.2"
},
"devDependencies": {
"@swc/core": "^1.4.13",
"@swc/core": "^1.4.17",
"@swc-node/register": "workspace:*",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Generated by [AVA](https://avajs.dev).
`Error: ␊
at /packages/integrate/__tests__/sourcemaps/sourcemaps.spec.ts:27:5␊
at Test.callFn (file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/test.js:521:26)␊
at Test.run (file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/test.js:530:33)␊
at Runner.runSingle (file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/runner.js:281:33)␊
at Runner.runTest (file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/runner.js:363:30)␊
at Test.callFn (file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/test.js:525:26)␊
at Test.run (file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/test.js:534:33)␊
at Runner.runSingle (file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/runner.js:281:33)␊
at Runner.runTest (file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/runner.js:363:30)␊
at processTicksAndRejections (node:internal/process/task_queues:95:5)␊
at async Promise.all (index 0)␊
at file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/runner.js:528:21␊
at Runner.start (file:///node_modules/.pnpm/ava@6.1.1/node_modules/ava/lib/runner.js:536:15)`
at file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/runner.js:528:21␊
at Runner.start (file:///node_modules/.pnpm/ava@6.1.2_encoding@0.1.13/node_modules/ava/lib/runner.js:536:15)`
Binary file not shown.
14 changes: 7 additions & 7 deletions packages/integrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"url": "https://github.com/swc-project/swc-node/issues"
},
"devDependencies": {
"@swc/helpers": "^0.5.3",
"@swc-node/core": "^1.10.6",
"@types/jest": "^29.5.11",
"@types/react": "^18.2.51",
"@types/react-dom": "^18.2.18",
"@swc/helpers": "^0.5.11",
"@swc-node/core": "^1.13.0",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"jest": "^29.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sinon": "^17.0.1"
}
}
Binary file modified packages/jest/__test__/hoist-top-level.spec.ts.snap
Binary file not shown.
6 changes: 3 additions & 3 deletions packages/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"access": "public"
},
"dependencies": {
"@node-rs/xxhash": "^1.6.2",
"@node-rs/xxhash": "^1.7.3",
"@swc-node/core": "^1.13.0",
"@swc-node/register": "^1.9.0"
},
Expand All @@ -37,8 +37,8 @@
"typescript": ">= 5.0"
},
"devDependencies": {
"@swc/core": "^1.4.13",
"@swc/types": "^0.1.5"
"@swc/core": "^1.4.17",
"@swc/types": "^0.1.6"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"url": "https://github.com/sponsors/Brooooooklyn"
},
"devDependencies": {
"typescript": "^5.3.3",
"webpack": "^5.90.0"
"typescript": "^5.4.5",
"webpack": "^5.91.0"
}
}
6 changes: 3 additions & 3 deletions packages/register/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
"typescript": ">= 4.3"
},
"devDependencies": {
"@swc/core": "^1.4.13",
"@swc/helpers": "^0.5.3",
"@swc/core": "^1.4.17",
"@swc/helpers": "^0.5.11",
"@types/debug": "^4.1.12",
"lodash": "^4.17.21",
"sinon": "^17.0.1",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},
"funding": {
"type": "github",
Expand Down

0 comments on commit d64fcb0

Please sign in to comment.