Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 23afd5a

Browse files
committed
build: output .mjs files for runtime templates
BREAKING CHANGE: output `.mjs` files for runtime templates
1 parent 7b3426a commit 23afd5a

File tree

9 files changed

+82
-116
lines changed

9 files changed

+82
-116
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
"prettier": "^2.3.0",
101101
"release-it": "14.6.2",
102102
"rimraf": "^3.0.2",
103-
"siroc": "0.9.2",
103+
"siroc": "0.10.0",
104104
"start-server-and-test": "^1.12.1",
105105
"testcafe": "1.14.0",
106106
"tsd": "^0.15.1",

src/globals-register.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function addGlobalsFile(this: ModuleThis) {
3333
.map(([key, value]) => `export const ${key} = ${JSON.stringify(value)}`)
3434
.join('\n')
3535

36-
const globalsFile = addResolvedTemplate.call(this, 'globals.js', {
36+
const globalsFile = addResolvedTemplate.call(this, 'globals.mjs', {
3737
contents,
3838
})
3939

src/globals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This is a shim for runtime/templates/globals.js
1+
// This is a shim for runtime/templates/globals.mjs
22

33
export const globalNuxt = '$nuxt'
44

src/module.ts

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
import type { Module, NuxtOptions } from '@nuxt/types'
2-
import { relative, resolve, sep } from 'upath'
2+
import { resolve } from 'upath'
33

44
import { name, version } from '../package.json'
55

66
import { registerBabelPlugin } from './babel-register'
77
import { addGlobalsFile } from './globals-register'
8-
import {
9-
addResolvedTemplate,
10-
resolveCoreJsVersion,
11-
resolveRelativePath,
12-
} from './utils'
8+
import { addResolvedTemplate, resolveCoreJsVersion } from './utils'
139

1410
const compositionApiModule: Module<never> = function compositionApiModule() {
1511
const nuxtOptions: NuxtOptions = this.nuxt.options
@@ -42,10 +38,10 @@ const compositionApiModule: Module<never> = function compositionApiModule() {
4238
this.extendBuild(config => {
4339
if (!config.module) return
4440

45-
config.module.rules.unshift({
46-
test: /\.mjs$/,
47-
type: 'javascript/auto',
48-
include: [/node_modules/],
41+
config.module.rules.forEach(rule => {
42+
if (rule.test instanceof RegExp && rule.test.test('index.mjs')) {
43+
rule.type = 'javascript/auto'
44+
}
4945
})
5046
})
5147

@@ -62,12 +58,12 @@ const compositionApiModule: Module<never> = function compositionApiModule() {
6258

6359
// Add appropriate corejs polyfill for IE support
6460

65-
addResolvedTemplate.call(this, 'polyfill.client.js', {
61+
addResolvedTemplate.call(this, 'polyfill.client.mjs', {
6662
corejsPolyfill: resolveCoreJsVersion.call(this),
6763
})
6864

6965
// Plugin to allow running onGlobalSetup
70-
const globalPlugin = addResolvedTemplate.call(this, 'plugin.js')
66+
const globalPlugin = addResolvedTemplate.call(this, 'plugin.mjs')
7167

7268
this.nuxt.hook('modules:done', () => {
7369
nuxtOptions.plugins.unshift(globalPlugin)
@@ -80,7 +76,7 @@ const compositionApiModule: Module<never> = function compositionApiModule() {
8076
!nuxtOptions.buildModules.includes('@nuxtjs/pwa') &&
8177
!nuxtOptions.modules.includes('@nuxtjs/pwa')
8278
) {
83-
nuxtOptions.plugins.push(addResolvedTemplate.call(this, 'meta.js'))
79+
nuxtOptions.plugins.push(addResolvedTemplate.call(this, 'meta.mjs'))
8480
} else if (nuxtOptions.dev) {
8581
console.warn(
8682
'useMeta is not supported in onGlobalSetup as @nuxtjs/pwa detected.\nSee https://github.com/nuxt-community/composition-api/issues/307'
File renamed without changes.
File renamed without changes.
File renamed without changes.

yarn.lock

Lines changed: 70 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,10 +1801,10 @@
18011801
dependencies:
18021802
slash "^3.0.0"
18031803

1804-
"@rollup/plugin-commonjs@^18.0.0":
1805-
version "18.0.0"
1806-
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-18.0.0.tgz#50dc7518b5aa9e66a270e529ea85115d269825c4"
1807-
integrity sha512-fj92shhg8luw7XbA0HowAqz90oo7qtLGwqTKbyZ8pmOyH8ui5e+u0wPEgeHLH3djcVma6gUCUrjY6w5R2o1u6g==
1804+
"@rollup/plugin-commonjs@^19.0.0":
1805+
version "19.0.0"
1806+
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-19.0.0.tgz#8c3e71f9a66908e60d70cc1be205834ef3e45f71"
1807+
integrity sha512-adTpD6ATGbehdaQoZQ6ipDFhdjqsTgpOAhFiPwl+dzre4pPshsecptDPyEFb61JMJ1+mGljktaC4jI8ARMSNyw==
18081808
dependencies:
18091809
"@rollup/pluginutils" "^3.1.0"
18101810
commondir "^1.0.1"
@@ -1821,10 +1821,10 @@
18211821
dependencies:
18221822
"@rollup/pluginutils" "^3.0.8"
18231823

1824-
"@rollup/plugin-node-resolve@^11.2.1":
1825-
version "11.2.1"
1826-
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60"
1827-
integrity sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==
1824+
"@rollup/plugin-node-resolve@^13.0.0":
1825+
version "13.0.0"
1826+
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.0.tgz#352f07e430ff377809ec8ec8a6fd636547162dc4"
1827+
integrity sha512-41X411HJ3oikIDivT5OKe9EZ6ud6DXudtfNrGbC4nniaxx2esiWjkLOzgnZsWq1IM8YIeL2rzRGLZLBjlhnZtQ==
18281828
dependencies:
18291829
"@rollup/pluginutils" "^3.1.0"
18301830
"@types/resolve" "1.17.1"
@@ -2398,14 +2398,6 @@
23982398
"@typescript-eslint/typescript-estree" "4.23.0"
23992399
debug "^4.1.1"
24002400

2401-
"@typescript-eslint/[email protected]":
2402-
version "4.22.1"
2403-
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.22.1.tgz#5bb357f94f9cd8b94e6be43dd637eb73b8f355b4"
2404-
integrity sha512-d5bAiPBiessSmNi8Amq/RuLslvcumxLmyhf1/Xa9IuaoFJ0YtshlJKxhlbY7l2JdEk3wS0EnmnfeJWSvADOe0g==
2405-
dependencies:
2406-
"@typescript-eslint/types" "4.22.1"
2407-
"@typescript-eslint/visitor-keys" "4.22.1"
2408-
24092401
"@typescript-eslint/[email protected]":
24102402
version "4.23.0"
24112403
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.23.0.tgz#8792ef7eacac122e2ec8fa2d30a59b8d9a1f1ce4"
@@ -2414,29 +2406,11 @@
24142406
"@typescript-eslint/types" "4.23.0"
24152407
"@typescript-eslint/visitor-keys" "4.23.0"
24162408

2417-
"@typescript-eslint/[email protected]":
2418-
version "4.22.1"
2419-
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.22.1.tgz#bf99c6cec0b4a23d53a61894816927f2adad856a"
2420-
integrity sha512-2HTkbkdAeI3OOcWbqA8hWf/7z9c6gkmnWNGz0dKSLYLWywUlkOAQ2XcjhlKLj5xBFDf8FgAOF5aQbnLRvgNbCw==
2421-
24222409
"@typescript-eslint/[email protected]":
24232410
version "4.23.0"
24242411
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.23.0.tgz#da1654c8a5332f4d1645b2d9a1c64193cae3aa3b"
24252412
integrity sha512-oqkNWyG2SLS7uTWLZf6Sr7Dm02gA5yxiz1RP87tvsmDsguVATdpVguHr4HoGOcFOpCvx9vtCSCyQUGfzq28YCw==
24262413

2427-
"@typescript-eslint/[email protected]":
2428-
version "4.22.1"
2429-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.1.tgz#dca379eead8cdfd4edc04805e83af6d148c164f9"
2430-
integrity sha512-p3We0pAPacT+onSGM+sPR+M9CblVqdA9F1JEdIqRVlxK5Qth4ochXQgIyb9daBomyQKAXbygxp1aXQRV0GC79A==
2431-
dependencies:
2432-
"@typescript-eslint/types" "4.22.1"
2433-
"@typescript-eslint/visitor-keys" "4.22.1"
2434-
debug "^4.1.1"
2435-
globby "^11.0.1"
2436-
is-glob "^4.0.1"
2437-
semver "^7.3.2"
2438-
tsutils "^3.17.1"
2439-
24402414
"@typescript-eslint/[email protected]":
24412415
version "4.23.0"
24422416
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.23.0.tgz#0753b292097523852428a6f5a1aa8ccc1aae6cd9"
@@ -2450,14 +2424,6 @@
24502424
semver "^7.3.2"
24512425
tsutils "^3.17.1"
24522426

2453-
"@typescript-eslint/[email protected]":
2454-
version "4.22.1"
2455-
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.1.tgz#6045ae25a11662c671f90b3a403d682dfca0b7a6"
2456-
integrity sha512-WPkOrIRm+WCLZxXQHCi+WG8T2MMTUFR70rWjdWYddLT7cEfb2P4a3O/J2U1FBVsSFTocXLCoXWY6MZGejeStvQ==
2457-
dependencies:
2458-
"@typescript-eslint/types" "4.22.1"
2459-
eslint-visitor-keys "^2.0.0"
2460-
24612427
"@typescript-eslint/[email protected]":
24622428
version "4.23.0"
24632429
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.23.0.tgz#7215cc977bd3b4ef22467b9023594e32f9e4e455"
@@ -3578,10 +3544,10 @@ [email protected]:
35783544
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
35793545
integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=
35803546

3581-
cac@^6.7.2:
3582-
version "6.7.2"
3583-
resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.2.tgz#e7f0d21f4776c46c7d0de7976e56fa5562e17597"
3584-
integrity sha512-w0bH1IF9rEjdi0a6lTtlXYT+vBZEJL9oytaXXRdsD68MH6+SrZGOGsu7s2saHQvYXqwo/wBdkW75tt8wFpj+mw==
3547+
cac@^6.7.3:
3548+
version "6.7.3"
3549+
resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.3.tgz#10410b8611677990cc2e3c8b576d471c1d71b768"
3550+
integrity sha512-ECVqVZh74qgSuZG9YOt2OJPI3wGcf+EwwuF/XIOYqZBD0KZYLtgPWqFPxmDPQ6joxI1nOlvVgRV6VT53Ooyocg==
35853551

35863552
cacache@^12.0.2:
35873553
version "12.0.4"
@@ -5524,15 +5490,10 @@ es-to-primitive@^1.2.1:
55245490
is-date-object "^1.0.1"
55255491
is-symbol "^1.0.2"
55265492

5527-
esbuild@^0.11.5:
5528-
version "0.11.5"
5529-
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.5.tgz#25b18a2ff2fb9580683edce26a48f64c08c2f2df"
5530-
integrity sha512-aRs6jAE+bVRp1tyfzUugAw1T/Y0Fwzp4Z2ROikF3h+UifoD5QlEbEYQGc6orNnnSIRhWR5VWBH7LozlAumaLHg==
5531-
5532-
esbuild@^0.8.56:
5533-
version "0.8.57"
5534-
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.8.57.tgz#a42d02bc2b57c70bcd0ef897fe244766bb6dd926"
5535-
integrity sha512-j02SFrUwFTRUqiY0Kjplwjm1psuzO1d6AjaXKuOR9hrY0HuPsT6sV42B6myW34h1q4CRy+Y3g4RU/cGJeI/nNA==
5493+
esbuild@^0.11.20, esbuild@^0.11.6:
5494+
version "0.11.20"
5495+
resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.11.20.tgz#7cefa1aee8b372c184e42457885f7ce5d3e62a1e"
5496+
integrity sha512-QOZrVpN/Yz74xfat0H6euSgn3RnwLevY1mJTEXneukz1ln9qB+ieaerRMzSeETpz/UJWsBMzRVR/andBht5WKw==
55365497

55375498
escalade@^3.1.1:
55385499
version "3.1.1"
@@ -6256,6 +6217,15 @@ from@~0:
62566217
resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
62576218
integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=
62586219

6220+
fs-extra@^10.0.0:
6221+
version "10.0.0"
6222+
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
6223+
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
6224+
dependencies:
6225+
graceful-fs "^4.2.0"
6226+
jsonfile "^6.0.1"
6227+
universalify "^2.0.0"
6228+
62596229
fs-extra@^8.1.0:
62606230
version "8.1.0"
62616231
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
@@ -6566,7 +6536,7 @@ [email protected]:
65666536
merge2 "^1.2.3"
65676537
slash "^3.0.0"
65686538

6569-
[email protected], globby@^11.0.1, globby@^11.0.2, globby@^11.0.3:
6539+
[email protected], globby@^11.0.1, globby@^11.0.3:
65706540
version "11.0.3"
65716541
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.3.tgz#9b1f0cb523e171dd1ad8c7b2a9fb4b644b9593cb"
65726542
integrity sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==
@@ -8183,10 +8153,10 @@ jest@^26.6.3:
81838153
import-local "^3.0.2"
81848154
jest-cli "^26.6.3"
81858155

8186-
jiti@^1.3.0, jiti@^1.6.3, jiti@^1.6.4, jiti@^1.9.1:
8187-
version "1.9.1"
8188-
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.9.1.tgz#d9e267fa050ddc52191f17d8af815d49a38ebafd"
8189-
integrity sha512-AhYrAxJ/IW2257nHkJasUjtxHhmYIUEHEjsofJtGYsPWk8pTjqjbPFlJfOwfY+WX8YBiKHM1l0ViDC/mye2SWg==
8156+
jiti@^1.3.0, jiti@^1.9.1, jiti@^1.9.2:
8157+
version "1.9.2"
8158+
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.9.2.tgz#2ee44830883dbb1b2e222adc053c3052d0bf3b61"
8159+
integrity sha512-wymUBR/YGGVNVRAxX52yvFoZdUAYKEGjk0sYrz6gXLCvMblnRvJAmDUnMvQiH4tUHDBtbKHnZ4GT3R+m3Hc39A==
81908160

81918161
joi@^17.3.0:
81928162
version "17.4.0"
@@ -8199,7 +8169,7 @@ joi@^17.3.0:
81998169
"@sideway/formula" "^3.0.0"
82008170
"@sideway/pinpoint" "^2.0.0"
82018171

8202-
joycon@^3.0.0:
8172+
joycon@^3.0.1:
82038173
version "3.0.1"
82048174
resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.0.1.tgz#9074c9b08ccf37a6726ff74a18485f85efcaddaf"
82058175
integrity sha512-SJcJNBg32dGgxhPtM0wQqxqV0ax9k/9TaUskGDSJkSFSQOEWWvQ3zzWdGQRIUry2j1zA5+ReH13t0Mf3StuVZA==
@@ -9146,16 +9116,16 @@ mkdirp@^1.0.3, mkdirp@^1.0.4:
91469116
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
91479117
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
91489118

9149-
mkdist@^0.1.3:
9150-
version "0.1.3"
9151-
resolved "https://registry.yarnpkg.com/mkdist/-/mkdist-0.1.3.tgz#46787c2493493d8eff1770700da23d5c4fc3d844"
9152-
integrity sha512-WQ0l+v0ICvxvsmgi2MtePzeyis5kMDRUMnibUDsc1NdVSo+lsoiIYbLrvIBgKJGJ2ITMaLDtCAHiFjF3U7h29A==
9119+
mkdist@^0.2.1:
9120+
version "0.2.1"
9121+
resolved "https://registry.yarnpkg.com/mkdist/-/mkdist-0.2.1.tgz#5bde8cd8ba5a884ed51bfe32d6d111d29209b92c"
9122+
integrity sha512-q9KBmE9tIqQF6bRRKSt4N8FQ7FU9NpviTxOODep0x+Ji8e077Dgfm262t9vR8jjXeKC+GHNf1BdDLyNjFGeWqg==
91539123
dependencies:
91549124
defu "^3.2.2"
9155-
esbuild "^0.8.56"
9125+
esbuild "^0.11.6"
91569126
fs-extra "^9.1.0"
9157-
globby "^11.0.2"
9158-
jiti "^1.6.3"
9127+
globby "^11.0.3"
9128+
jiti "^1.9.1"
91599129
mri "^1.1.6"
91609130
upath "^2.0.1"
91619131
vue-template-compiler "^2.6.12"
@@ -11636,19 +11606,19 @@ rollup-plugin-dts@^3.0.1:
1163611606
optionalDependencies:
1163711607
"@babel/code-frame" "^7.12.13"
1163811608

11639-
rollup-plugin-esbuild@3.0.2:
11640-
version "3.0.2"
11641-
resolved "https://registry.yarnpkg.com/rollup-plugin-esbuild/-/rollup-plugin-esbuild-3.0.2.tgz#85a1afd59510ef143813b46f515e92a49779a60b"
11642-
integrity sha512-uq+oBCeLXF1m6g9V0qpqbPbgyq24aXBKF474BvqgxfNmTP6FZ+oVk5/pCWQ/2rfSNJs4IimNU/k0q8xMaa0iCA==
11609+
rollup-plugin-esbuild@4.2.3:
11610+
version "4.2.3"
11611+
resolved "https://registry.yarnpkg.com/rollup-plugin-esbuild/-/rollup-plugin-esbuild-4.2.3.tgz#3d719e58e7a5f84515fe52a58d35bc97a9e7e12c"
11612+
integrity sha512-GWyDUPv79Iw4uQdizD7ch7yA+wiB9W4Ye01RmO/kuF3yjybluJT5rbmLAnyv3kWmOF8suOjf+TvvBCXEj6qSAw==
1164311613
dependencies:
1164411614
"@rollup/pluginutils" "^4.1.0"
11645-
joycon "^3.0.0"
11615+
joycon "^3.0.1"
1164611616
jsonc-parser "^3.0.0"
1164711617

11648-
rollup@^2.44.0:
11649-
version "2.44.0"
11650-
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.44.0.tgz#8da324d1c4fd12beef9ae6e12f4068265b6d95eb"
11651-
integrity sha512-rGSF4pLwvuaH/x4nAS+zP6UNn5YUDWf/TeEU5IoXSZKBbKRNTCI3qMnYXKZgrC0D2KzS2baiOZt1OlqhMu5rnQ==
11618+
rollup@^2.47.0:
11619+
version "2.47.0"
11620+
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.47.0.tgz#9d958aeb2c0f6a383cacc0401dff02b6e252664d"
11621+
integrity sha512-rqBjgq9hQfW0vRmz+0S062ORRNJXvwRpzxhFXORvar/maZqY6za3rgQ/p1Glg+j1hnc1GtYyQCPiAei95uTElg==
1165211622
optionalDependencies:
1165311623
fsevents "~2.3.1"
1165411624

@@ -11992,31 +11962,31 @@ simple-swizzle@^0.2.2:
1199211962
dependencies:
1199311963
is-arrayish "^0.3.1"
1199411964

11995-
siroc@0.9.2:
11996-
version "0.9.2"
11997-
resolved "https://registry.yarnpkg.com/siroc/-/siroc-0.9.2.tgz#fe18a82c9f2d6d1a7be7bdf4a809172ec1943ebf"
11998-
integrity sha512-uaA0Zuuw3VQpXqJmdNmcrbZcRS3TWzhDg8Rn3ihJzE2S10/FO3UgWmmkJt/ovD8WO4NnWzCAuWSxR6Dhlnt5zA==
11965+
siroc@0.10.0:
11966+
version "0.10.0"
11967+
resolved "https://registry.yarnpkg.com/siroc/-/siroc-0.10.0.tgz#38c763c9b56d905a9805e24fa6211e84a5064878"
11968+
integrity sha512-/q0wNwCbEEi4Y2MgWqXX/bVi4Im8QWfYtriWBMexWKuZFhsLFNTjlWZsf9qNEGej7OHYQ4UgxZ6XZeG2x7xaKw==
1199911969
dependencies:
1200011970
"@rollup/plugin-alias" "^3.1.2"
12001-
"@rollup/plugin-commonjs" "^18.0.0"
11971+
"@rollup/plugin-commonjs" "^19.0.0"
1200211972
"@rollup/plugin-json" "^4.1.0"
12003-
"@rollup/plugin-node-resolve" "^11.2.1"
11973+
"@rollup/plugin-node-resolve" "^13.0.0"
1200411974
"@rollup/plugin-replace" "^2.4.2"
12005-
cac "^6.7.2"
12006-
chalk "^4.1.0"
11975+
cac "^6.7.3"
11976+
chalk "^4.1.1"
1200711977
consola "^2.15.3"
12008-
defu "^3.2.2"
12009-
esbuild "^0.11.5"
11978+
defu "^4.0.1"
11979+
esbuild "^0.11.20"
1201011980
execa "^5.0.0"
12011-
fs-extra "^9.1.0"
12012-
glob "^7.1.6"
12013-
jiti "^1.6.4"
12014-
mkdist "^0.1.3"
12015-
rollup "^2.44.0"
11981+
fs-extra "^10.0.0"
11982+
glob "^7.1.7"
11983+
jiti "^1.9.2"
11984+
mkdist "^0.2.1"
11985+
rollup "^2.47.0"
1201611986
rollup-plugin-dts "^3.0.1"
12017-
rollup-plugin-esbuild "3.0.2"
12018-
sort-package-json "^1.49.0"
12019-
typescript "^4.2.3"
11987+
rollup-plugin-esbuild "4.2.3"
11988+
sort-package-json "^1.50.0"
11989+
typescript "^4.2.4"
1202011990
upath "^2.0.1"
1202111991
v8-compile-cache "^2.3.0"
1202211992

@@ -12111,10 +12081,10 @@ sort-object-keys@^1.1.3:
1211112081
resolved "https://registry.yarnpkg.com/sort-object-keys/-/sort-object-keys-1.1.3.tgz#bff833fe85cab147b34742e45863453c1e190b45"
1211212082
integrity sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==
1211312083

12114-
sort-package-json@^1.49.0:
12115-
version "1.49.0"
12116-
resolved "https://registry.yarnpkg.com/sort-package-json/-/sort-package-json-1.49.0.tgz#82845ab598501bb35875f326e4768a5ab5f15335"
12117-
integrity sha512-3YuqFGThwc9X0TZLYohOUJJ/P6uJIVcTeuJOc6ZWw4f1fHpTHIfVysKer4qXtrZ2zvwwU2aEcb555Bo+2fwIgQ==
12084+
sort-package-json@^1.50.0:
12085+
version "1.50.0"
12086+
resolved "https://registry.yarnpkg.com/sort-package-json/-/sort-package-json-1.50.0.tgz#19fc109fe23bd157bd03c8e572fa3251a52467d8"
12087+
integrity sha512-qZpqhMU9XTntebgAgc4hv/D6Fzhh7kFnwvV6a7+q8y8J5JoaDqPYQnvXPf7BBqG95tdE8X6JVNo7/jDzcbdfUg==
1211812088
dependencies:
1211912089
detect-indent "^6.0.0"
1212012090
detect-newline "3.1.0"
@@ -13318,7 +13288,7 @@ typedarray@^0.0.6:
1331813288
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1331913289
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
1332013290

13321-
[email protected], typescript@^4.2.3, typescript@~4.2:
13291+
[email protected], typescript@^4.2.4, typescript@~4.2:
1332213292
version "4.2.4"
1332313293
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.2.4.tgz#8610b59747de028fda898a8aef0e103f156d0961"
1332413294
integrity sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==

0 commit comments

Comments
 (0)