mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
chore(deps): update all non-major dependencies (#15145)
This commit is contained in:
parent
227d56d37f
commit
7ff2c0afe8
37
package.json
37
package.json
@ -41,32 +41,32 @@
|
||||
"ci-docs": "run-s build docs-build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/types": "^7.23.3",
|
||||
"@babel/types": "^7.23.4",
|
||||
"@eslint-types/import": "^2.29.0-1",
|
||||
"@eslint-types/typescript-eslint": "^6.11.0",
|
||||
"@eslint-types/typescript-eslint": "^6.12.0",
|
||||
"@rollup/plugin-typescript": "^11.1.5",
|
||||
"@types/babel__core": "^7.20.4",
|
||||
"@types/babel__preset-env": "^7.9.5",
|
||||
"@types/babel__core": "^7.20.5",
|
||||
"@types/babel__preset-env": "^7.9.6",
|
||||
"@types/convert-source-map": "^2.0.3",
|
||||
"@types/cross-spawn": "^6.0.5",
|
||||
"@types/cross-spawn": "^6.0.6",
|
||||
"@types/debug": "^4.1.12",
|
||||
"@types/estree": "^1.0.5",
|
||||
"@types/etag": "^1.8.3",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/json-stable-stringify": "^1.0.36",
|
||||
"@types/less": "^3.0.6",
|
||||
"@types/micromatch": "^4.0.5",
|
||||
"@types/node": "^20.9.0",
|
||||
"@types/micromatch": "^4.0.6",
|
||||
"@types/node": "^20.10.0",
|
||||
"@types/picomatch": "^2.3.3",
|
||||
"@types/semver": "^7.5.4",
|
||||
"@types/semver": "^7.5.6",
|
||||
"@types/sass": "~1.43.1",
|
||||
"@types/stylus": "^0.48.42",
|
||||
"@types/ws": "^8.5.9",
|
||||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
"@typescript-eslint/parser": "^6.10.0",
|
||||
"@types/ws": "^8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
||||
"@typescript-eslint/parser": "^6.12.0",
|
||||
"@vitejs/release-scripts": "^1.3.1",
|
||||
"conventional-changelog-cli": "^4.1.0",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-define-config": "^2.0.0",
|
||||
"eslint-plugin-import": "^2.29.0",
|
||||
"eslint-plugin-n": "^16.3.1",
|
||||
@ -77,20 +77,20 @@
|
||||
"lint-staged": "^15.1.0",
|
||||
"npm-run-all2": "^6.1.1",
|
||||
"picocolors": "^1.0.0",
|
||||
"playwright-chromium": "^1.39.0",
|
||||
"playwright-chromium": "^1.40.0",
|
||||
"prettier": "3.1.0",
|
||||
"rimraf": "^5.0.5",
|
||||
"rollup": "^4.2.0",
|
||||
"semver": "^7.5.4",
|
||||
"simple-git-hooks": "^2.9.0",
|
||||
"tslib": "^2.6.2",
|
||||
"tsx": "^4.1.2",
|
||||
"tsx": "^4.5.0",
|
||||
"typescript": "^5.2.2",
|
||||
"unbuild": "^2.0.0",
|
||||
"vite": "workspace:*",
|
||||
"vitepress": "1.0.0-rc.25",
|
||||
"vitepress": "1.0.0-rc.31",
|
||||
"vitest": "^0.34.6",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm exec lint-staged --concurrent false"
|
||||
@ -109,7 +109,7 @@
|
||||
"eslint --cache --fix"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@8.10.3",
|
||||
"packageManager": "pnpm@8.11.0",
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"vite": "workspace:*"
|
||||
@ -124,8 +124,7 @@
|
||||
"patchedDependencies": {
|
||||
"chokidar@3.5.3": "patches/chokidar@3.5.3.patch",
|
||||
"sirv@2.0.3": "patches/sirv@2.0.3.patch",
|
||||
"dotenv-expand@10.0.0": "patches/dotenv-expand@10.0.0.patch",
|
||||
"postcss-load-config@4.0.1": "patches/postcss-load-config@4.0.1.patch"
|
||||
"dotenv-expand@10.0.0": "patches/dotenv-expand@10.0.0.patch"
|
||||
},
|
||||
"peerDependencyRules": {
|
||||
"allowedVersions": {
|
||||
|
@ -34,7 +34,7 @@
|
||||
"funding": "https://github.com/vitejs/vite?sponsor=1",
|
||||
"devDependencies": {
|
||||
"@types/minimist": "^1.2.5",
|
||||
"@types/prompts": "^2.4.8",
|
||||
"@types/prompts": "^2.4.9",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"kolorist": "^1.8.0",
|
||||
"minimist": "^1.2.8",
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.0.2"
|
||||
"lit": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,9 +9,9 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"lit": "^3.0.2"
|
||||
"lit": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.1"
|
||||
"preact": "^10.19.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.6.0",
|
||||
"@preact/preset-vite": "^2.7.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.19.1"
|
||||
"preact": "^10.19.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.6.0",
|
||||
"vite": "^5.0.0"
|
||||
"@preact/preset-vite": "^2.7.0",
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@builder.io/qwik": "^1.2.17"
|
||||
"@builder.io/qwik": "^1.2.19"
|
||||
}
|
||||
}
|
||||
|
@ -10,9 +10,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@builder.io/qwik": "^1.2.17"
|
||||
"@builder.io/qwik": "^1.2.19"
|
||||
}
|
||||
}
|
||||
|
@ -14,15 +14,15 @@
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
||||
"@typescript-eslint/parser": "^6.10.0",
|
||||
"@types/react": "^18.2.38",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
||||
"@typescript-eslint/parser": "^6.12.0",
|
||||
"@vitejs/plugin-react": "^4.2.0",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.4",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -14,13 +14,13 @@
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.37",
|
||||
"@types/react-dom": "^18.2.15",
|
||||
"@types/react": "^18.2.38",
|
||||
"@types/react-dom": "^18.2.17",
|
||||
"@vitejs/plugin-react": "^4.2.0",
|
||||
"eslint": "^8.53.0",
|
||||
"eslint": "^8.54.0",
|
||||
"eslint-plugin-react": "^7.33.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.4",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,11 +9,11 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0",
|
||||
"vite": "^5.0.2",
|
||||
"vite-plugin-solid": "^2.7.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.8.5"
|
||||
"solid-js": "^1.8.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.0.0",
|
||||
"vite": "^5.0.2",
|
||||
"vite-plugin-solid": "^2.7.2"
|
||||
}
|
||||
}
|
||||
|
@ -10,12 +10,12 @@
|
||||
"check": "svelte-check --tsconfig ./tsconfig.json"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
||||
"@tsconfig/svelte": "^5.0.2",
|
||||
"svelte": "^4.2.3",
|
||||
"svelte-check": "^3.6.0",
|
||||
"svelte": "^4.2.7",
|
||||
"svelte-check": "^3.6.2",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.0",
|
||||
"svelte": "^4.2.3",
|
||||
"vite": "^5.0.0"
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
||||
"svelte": "^4.2.7",
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -9,12 +9,12 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^4.5.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^5.0.0",
|
||||
"vite": "^5.0.2",
|
||||
"vue-tsc": "^1.8.22"
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,10 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^4.5.0",
|
||||
"vite": "^5.0.0"
|
||||
"vite": "^5.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@
|
||||
"@babel/core": "^7.23.3",
|
||||
"@babel/preset-env": "^7.23.3",
|
||||
"browserslist": "^4.22.1",
|
||||
"core-js": "^3.33.2",
|
||||
"core-js": "^3.33.3",
|
||||
"magic-string": "^0.30.5",
|
||||
"regenerator-runtime": "^0.14.0",
|
||||
"systemjs": "^6.14.2"
|
||||
|
@ -492,6 +492,28 @@ License: MIT
|
||||
By: Johannes Stein
|
||||
Repository: rollup/plugins
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
> Copyright (c) 2019 RollupJS Plugin Contributors (https://github.com/rollup/plugins/graphs/contributors)
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## @rollup/plugin-commonjs
|
||||
@ -817,6 +839,35 @@ Repository: egoist/cac
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## call-bind
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/ljharb/call-bind.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2020 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## chokidar
|
||||
License: MIT
|
||||
By: Paul Miller, Elan Shanker
|
||||
@ -1056,6 +1107,35 @@ Repository: git://github.com/debug-js/debug.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## define-data-property
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/ljharb/define-data-property.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2023 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## define-lazy-prop
|
||||
License: MIT
|
||||
By: Sindre Sorhus
|
||||
@ -1521,6 +1601,33 @@ Repository: git+https://github.com/isaacs/fs.realpath.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## function-bind
|
||||
License: MIT
|
||||
By: Raynos, Jordan Harband
|
||||
Repository: https://github.com/Raynos/function-bind.git
|
||||
|
||||
> Copyright (c) 2013 Raynos.
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## generic-names
|
||||
License: MIT
|
||||
By: Alexey Litvinov
|
||||
@ -1550,6 +1657,35 @@ Repository: git+https://github.com/css-modules/generic-names.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## get-intrinsic
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/ljharb/get-intrinsic.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2020 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## glob
|
||||
License: ISC
|
||||
By: Isaac Z. Schlueter
|
||||
@ -1596,6 +1732,152 @@ Repository: gulpjs/glob-parent
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## gopd
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/ljharb/gopd.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2022 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## has
|
||||
License: MIT
|
||||
By: Thiago de Arruda, Jordan Harband
|
||||
Repository: git://github.com/tarruda/has.git
|
||||
|
||||
> Copyright (c) 2013 Thiago de Arruda
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person
|
||||
> obtaining a copy of this software and associated documentation
|
||||
> files (the "Software"), to deal in the Software without
|
||||
> restriction, including without limitation the rights to use,
|
||||
> copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the
|
||||
> Software is furnished to do so, subject to the following
|
||||
> conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be
|
||||
> included in all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
||||
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
||||
> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
> OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## has-property-descriptors
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/inspect-js/has-property-descriptors.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2022 Inspect JS
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## has-proto
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/inspect-js/has-proto.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2022 Inspect JS
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## has-symbols
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git://github.com/inspect-js/has-symbols.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2016 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## http-proxy
|
||||
License: MIT
|
||||
By: Charlie Robbins, jcrugzz <jcrugzz@gmail.com>
|
||||
@ -1830,6 +2112,35 @@ Repository: sindresorhus/is-wsl
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## isarray
|
||||
License: MIT
|
||||
By: Julian Gruber
|
||||
Repository: git://github.com/juliangruber/isarray.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## isexe
|
||||
License: ISC
|
||||
By: Isaac Z. Schlueter
|
||||
@ -1858,24 +2169,27 @@ License: MIT
|
||||
By: James Halliday
|
||||
Repository: git://github.com/ljharb/json-stable-stringify.git
|
||||
|
||||
> This software is released under the MIT license:
|
||||
> MIT License
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
> this software and associated documentation files (the "Software"), to deal in
|
||||
> the Software without restriction, including without limitation the rights to
|
||||
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
> the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
> subject to the following conditions:
|
||||
> Copyright (c) 2013 contributors
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
@ -1942,6 +2256,28 @@ License: MIT
|
||||
By: antonk52
|
||||
Repository: https://github.com/antonk52/lilconfig
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2022 Anton Kastritskiy
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## loader-utils
|
||||
@ -2265,6 +2601,35 @@ Repository: sindresorhus/object-assign
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## object-keys
|
||||
License: MIT
|
||||
By: Jordan Harband, Raynos, Nathan Rajlich, Ivan Starkov, Gary Katsevman
|
||||
Repository: git://github.com/ljharb/object-keys.git
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
> Copyright (C) 2013 Jordan Harband
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in
|
||||
> all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
> THE SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## okie
|
||||
License: MIT
|
||||
By: Evan You
|
||||
@ -2950,6 +3315,35 @@ Repository: git://github.com/feross/run-parallel.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## set-function-length
|
||||
License: MIT
|
||||
By: Jordan Harband
|
||||
Repository: git+https://github.com/ljharb/set-function-length.git
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) Jordan Harband and contributors
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
> in the Software without restriction, including without limitation the rights
|
||||
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
> copies of the Software, and to permit persons to whom the Software is
|
||||
> furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all
|
||||
> copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
> SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## shebang-command
|
||||
License: MIT
|
||||
By: Kevin Mårtensson
|
||||
|
@ -83,11 +83,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ampproject/remapping": "^2.2.1",
|
||||
"@babel/parser": "^7.23.3",
|
||||
"@babel/parser": "^7.23.4",
|
||||
"@jridgewell/trace-mapping": "^0.3.20",
|
||||
"@rollup/plugin-alias": "^5.0.1",
|
||||
"@rollup/plugin-alias": "^5.1.0",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-dynamic-import-vars": "^2.1.0",
|
||||
"@rollup/plugin-dynamic-import-vars": "^2.1.1",
|
||||
"@rollup/plugin-json": "^6.0.1",
|
||||
"@rollup/plugin-node-resolve": "15.2.3",
|
||||
"@rollup/plugin-typescript": "^11.1.5",
|
||||
@ -112,7 +112,7 @@
|
||||
"etag": "^1.8.1",
|
||||
"fast-glob": "^3.3.2",
|
||||
"http-proxy": "^1.18.1",
|
||||
"json-stable-stringify": "^1.0.2",
|
||||
"json-stable-stringify": "^1.1.0",
|
||||
"launch-editor-middleware": "^2.6.1",
|
||||
"lightningcss": "^1.22.1",
|
||||
"magic-string": "^0.30.5",
|
||||
@ -126,7 +126,7 @@
|
||||
"picocolors": "^1.0.0",
|
||||
"picomatch": "^2.3.1",
|
||||
"postcss-import": "^15.1.0",
|
||||
"postcss-load-config": "^4.0.1",
|
||||
"postcss-load-config": "^4.0.2",
|
||||
"postcss-modules": "^6.0.0",
|
||||
"resolve.exports": "^2.0.2",
|
||||
"rollup-plugin-dts": "^6.1.0",
|
||||
@ -138,7 +138,7 @@
|
||||
"tsconfck": "^3.0.0",
|
||||
"tslib": "^2.6.2",
|
||||
"types": "link:./types",
|
||||
"ufo": "^1.3.1",
|
||||
"ufo": "^1.3.2",
|
||||
"ws": "^8.14.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`parse positives > ? in url 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mo?ds/*.js\\", {\\"as\\":\\"url\\",\\"import\\":\\"*\\"})), \`./mo?ds/\${base ?? foo}.js\`)"`;
|
||||
exports[`parse positives > ? in url 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mo\\\\\\\\?ds/*.js\\", {\\"as\\":\\"url\\",\\"import\\":\\"*\\"})), \`./mo?ds/\${base ?? foo}.js\`)"`;
|
||||
|
||||
exports[`parse positives > ? in variables 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mods/*.js\\", {\\"as\\":\\"raw\\",\\"import\\":\\"*\\"})), \`./mods/\${base ?? foo}.js\`)"`;
|
||||
|
||||
exports[`parse positives > ? in worker 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mo?ds/*.js\\", {\\"as\\":\\"worker\\",\\"import\\":\\"*\\"})), \`./mo?ds/\${base ?? foo}.js\`)"`;
|
||||
exports[`parse positives > ? in worker 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mo\\\\\\\\?ds/*.js\\", {\\"as\\":\\"worker\\",\\"import\\":\\"*\\"})), \`./mo?ds/\${base ?? foo}.js\`)"`;
|
||||
|
||||
exports[`parse positives > alias path 1`] = `"__variableDynamicImportRuntimeHelper((import.meta.glob(\\"./mods/*.js\\")), \`./mods/\${base}.js\`)"`;
|
||||
|
||||
|
@ -2,7 +2,7 @@ import { resolve } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import { transformDynamicImport } from '../../../plugins/dynamicImportVars'
|
||||
import { normalizePath } from '../../../utils'
|
||||
import { isWindows, normalizePath } from '../../../utils'
|
||||
|
||||
const __dirname = resolve(fileURLToPath(import.meta.url), '..')
|
||||
|
||||
@ -42,11 +42,13 @@ describe('parse positives', () => {
|
||||
expect(await run('`./mods/${base ?? foo}.js?raw`')).toMatchSnapshot()
|
||||
})
|
||||
|
||||
it('? in url', async () => {
|
||||
// ? is not escaped on windows (? cannot be used as a filename on windows)
|
||||
it.skipIf(isWindows)('? in url', async () => {
|
||||
expect(await run('`./mo?ds/${base ?? foo}.js?url`')).toMatchSnapshot()
|
||||
})
|
||||
|
||||
it('? in worker', async () => {
|
||||
// ? is not escaped on windows (? cannot be used as a filename on windows)
|
||||
it.skipIf(isWindows)('? in worker', async () => {
|
||||
expect(await run('`./mo?ds/${base ?? foo}.js?worker`')).toMatchSnapshot()
|
||||
})
|
||||
|
||||
|
@ -12,6 +12,7 @@ import {
|
||||
createFilter,
|
||||
normalizePath,
|
||||
parseRequest,
|
||||
requestQueryMaybeEscapedSplitRE,
|
||||
requestQuerySplitRE,
|
||||
transformStableResult,
|
||||
} from '../utils'
|
||||
@ -69,7 +70,11 @@ function parseDynamicImportPattern(
|
||||
return null
|
||||
}
|
||||
|
||||
const [userPattern] = userPatternQuery.split(requestQuerySplitRE, 2)
|
||||
const [userPattern] = userPatternQuery.split(
|
||||
// ? is escaped on posix OS
|
||||
requestQueryMaybeEscapedSplitRE,
|
||||
2,
|
||||
)
|
||||
const [rawPattern] = filename.split(requestQuerySplitRE, 2)
|
||||
|
||||
const as = (['worker', 'url', 'raw'] as const).find(
|
||||
|
@ -997,6 +997,7 @@ export function arraify<T>(target: T | T[]): T[] {
|
||||
export const multilineCommentsRE = /\/\*[^*]*\*+(?:[^/*][^*]*\*+)*\//g
|
||||
export const singlelineCommentsRE = /\/\/.*/g
|
||||
export const requestQuerySplitRE = /\?(?!.*[/|}])/
|
||||
export const requestQueryMaybeEscapedSplitRE = /\\?\?(?!.*[/|}])/
|
||||
|
||||
export function parseRequest(id: string): Record<string, string> | null {
|
||||
const [_, search] = id.split(requestQuerySplitRE, 2)
|
||||
|
@ -1,38 +0,0 @@
|
||||
diff --git a/src/index.js b/src/index.js
|
||||
index a7d16703a96a1229381beef905287192db332332..53a29ba20c7826caefc18bc0e786493a6ffcf978 100644
|
||||
--- a/src/index.js
|
||||
+++ b/src/index.js
|
||||
@@ -85,10 +85,12 @@ const addTypeScriptLoader = (options = {}, loader) => {
|
||||
`.${moduleName}rc.yaml`,
|
||||
`.${moduleName}rc.yml`,
|
||||
`.${moduleName}rc.ts`,
|
||||
+ `.${moduleName}rc.cts`,
|
||||
`.${moduleName}rc.js`,
|
||||
`.${moduleName}rc.cjs`,
|
||||
`.${moduleName}rc.mjs`,
|
||||
`${moduleName}.config.ts`,
|
||||
+ `${moduleName}.config.cts`,
|
||||
`${moduleName}.config.js`,
|
||||
`${moduleName}.config.cjs`,
|
||||
`${moduleName}.config.mjs`
|
||||
@@ -100,7 +102,8 @@ const addTypeScriptLoader = (options = {}, loader) => {
|
||||
'.js': importDefault,
|
||||
'.cjs': importDefault,
|
||||
'.mjs': importDefault,
|
||||
- '.ts': loader
|
||||
+ '.ts': loader,
|
||||
+ '.cts': loader
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -112,7 +115,9 @@ const withTypeScriptLoader = (rcFunc) => {
|
||||
|
||||
try {
|
||||
// Register TypeScript compiler instance
|
||||
- registerer = require('ts-node').register()
|
||||
+ registerer = require('ts-node').register({
|
||||
+ moduleTypes: { '**/*.cts': 'cjs' }
|
||||
+ })
|
||||
|
||||
return require(configFile)
|
||||
} catch (err) {
|
@ -11,8 +11,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"aliased-module": "file:./dir/module",
|
||||
"vue": "^3.3.8",
|
||||
"@vue/shared": "^3.3.8"
|
||||
"vue": "^3.3.9",
|
||||
"@vue/shared": "^3.3.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/test-resolve-linked": "workspace:*"
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "@vite/test-config-sibling",
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@types/lodash": "^4.14.201",
|
||||
"@types/lodash": "^4.14.202",
|
||||
"lodash": "^4.17.21"
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
"less": "^4.2.0",
|
||||
"magic-string": "^0.30.5",
|
||||
"sass": "^1.69.5",
|
||||
"stylus": "^0.61.0",
|
||||
"stylus": "^0.62.0",
|
||||
"sugarss": "^4.0.1"
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
"less": "^4.2.0",
|
||||
"postcss-nested": "^6.0.1",
|
||||
"sass": "^1.69.5",
|
||||
"stylus": "^0.61.0",
|
||||
"stylus": "^0.62.0",
|
||||
"sugarss": "^4.0.1"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,6 @@
|
||||
"dependencies": {
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,6 @@
|
||||
"dependencies": {
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
}
|
||||
}
|
||||
|
2
playground/external/package.json
vendored
2
playground/external/package.json
vendored
@ -17,7 +17,7 @@
|
||||
"slash3": "npm:slash@^3.0.0",
|
||||
"slash5": "npm:slash@^5.1.0",
|
||||
"vite": "workspace:*",
|
||||
"vue": "^3.3.8",
|
||||
"vue": "^3.3.9",
|
||||
"vue32": "npm:vue@~3.2.0"
|
||||
}
|
||||
}
|
||||
|
@ -15,6 +15,6 @@
|
||||
"devDependencies": {
|
||||
"@vitejs/test-json-module": "file:./json-module",
|
||||
"express": "^4.18.2",
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
}
|
||||
}
|
||||
|
@ -10,6 +10,6 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.3.8"
|
||||
"vue": "^3.3.9"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/test-dep-no-discovery": "file:./dep-no-discovery",
|
||||
"vue": "^3.3.8",
|
||||
"vue": "^3.3.9",
|
||||
"vuex": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"axios": "^1.6.1",
|
||||
"axios": "^1.6.2",
|
||||
"clipboard": "^2.0.11",
|
||||
"@vitejs/longfilename-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": "file:./longfilename",
|
||||
"@vitejs/test-dep-alias-using-absolute-path": "file:./dep-alias-using-absolute-path",
|
||||
@ -41,7 +41,7 @@
|
||||
"react-dom": "^18.2.0",
|
||||
"@vitejs/test-resolve-linked": "workspace:0.0.0",
|
||||
"url": "^0.11.3",
|
||||
"vue": "^3.3.8",
|
||||
"vue": "^3.3.9",
|
||||
"vuex": "^4.1.0",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash.clonedeep": "^4.5.0"
|
||||
|
@ -18,7 +18,7 @@
|
||||
"#other-pkg-slash/": "@vitejs/test-resolve-imports-pkg/nest/"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.23.2",
|
||||
"@babel/runtime": "^7.23.4",
|
||||
"es5-ext": "0.10.62",
|
||||
"normalize.css": "^8.0.1",
|
||||
"@vitejs/test-require-pkg-with-module-field": "link:./require-pkg-with-module-field",
|
||||
|
@ -13,7 +13,7 @@
|
||||
"@vitejs/test-worker-exports": "file:./worker-exports"
|
||||
},
|
||||
"devDependencies": {
|
||||
"miniflare": "^3.20231025.1",
|
||||
"miniflare": "^3.20231030.1",
|
||||
"@vitejs/test-resolve-linked": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
"dependencies": {
|
||||
"autoprefixer": "^10.4.16",
|
||||
"tailwindcss": "^3.3.5",
|
||||
"vue": "^3.3.8",
|
||||
"vue": "^3.3.9",
|
||||
"vue-router": "^4.2.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
1088
pnpm-lock.yaml
1088
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user