mirror of https://github.com/vuejs/core.git
chore: upgrade rolldown to latest
This commit is contained in:
parent
e96f457d63
commit
496cc7d148
|
@ -94,15 +94,15 @@
|
||||||
"markdown-table": "^3.0.4",
|
"markdown-table": "^3.0.4",
|
||||||
"marked": "13.0.3",
|
"marked": "13.0.3",
|
||||||
"npm-run-all2": "^7.0.1",
|
"npm-run-all2": "^7.0.1",
|
||||||
"oxc-parser": "^0.35.0",
|
"oxc-parser": "^0.76.0",
|
||||||
"oxc-transform": "^0.35.0",
|
"oxc-transform": "^0.76.0",
|
||||||
"picocolors": "^1.1.1",
|
"picocolors": "^1.1.1",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"pretty-bytes": "^6.1.1",
|
"pretty-bytes": "^6.1.1",
|
||||||
"pug": "^3.0.3",
|
"pug": "^3.0.3",
|
||||||
"puppeteer": "~23.3.0",
|
"puppeteer": "~23.3.0",
|
||||||
"rimraf": "^6.0.1",
|
"rimraf": "^6.0.1",
|
||||||
"rolldown": "0.14.0-snapshot-d5e797b-20241114003621",
|
"rolldown": "1.0.0-beta.24",
|
||||||
"rollup": "^4.25.0",
|
"rollup": "^4.25.0",
|
||||||
"rollup-plugin-dts": "^6.1.1",
|
"rollup-plugin-dts": "^6.1.1",
|
||||||
"rollup-plugin-esbuild": "^6.1.1",
|
"rollup-plugin-esbuild": "^6.1.1",
|
||||||
|
|
483
pnpm-lock.yaml
483
pnpm-lock.yaml
|
@ -123,11 +123,11 @@ importers:
|
||||||
specifier: ^7.0.1
|
specifier: ^7.0.1
|
||||||
version: 7.0.1
|
version: 7.0.1
|
||||||
oxc-parser:
|
oxc-parser:
|
||||||
specifier: ^0.35.0
|
specifier: ^0.76.0
|
||||||
version: 0.35.0
|
version: 0.76.0
|
||||||
oxc-transform:
|
oxc-transform:
|
||||||
specifier: ^0.35.0
|
specifier: ^0.76.0
|
||||||
version: 0.35.0
|
version: 0.76.0
|
||||||
picocolors:
|
picocolors:
|
||||||
specifier: ^1.1.1
|
specifier: ^1.1.1
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
|
@ -147,8 +147,8 @@ importers:
|
||||||
specifier: ^6.0.1
|
specifier: ^6.0.1
|
||||||
version: 6.0.1
|
version: 6.0.1
|
||||||
rolldown:
|
rolldown:
|
||||||
specifier: 0.14.0-snapshot-d5e797b-20241114003621
|
specifier: 1.0.0-beta.24
|
||||||
version: 0.14.0-snapshot-d5e797b-20241114003621
|
version: 1.0.0-beta.24
|
||||||
rollup:
|
rollup:
|
||||||
specifier: ^4.25.0
|
specifier: ^4.25.0
|
||||||
version: 4.25.0
|
version: 4.25.0
|
||||||
|
@ -500,14 +500,14 @@ packages:
|
||||||
conventional-commits-parser:
|
conventional-commits-parser:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@emnapi/core@1.3.1':
|
'@emnapi/core@1.4.4':
|
||||||
resolution: {integrity: sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==}
|
resolution: {integrity: sha512-A9CnAbC6ARNMKcIcrQwq6HeHCjpcBZ5wSx4U01WXCqEKlrzB9F9315WDNHkrs2xbx7YjjSxbUYxuN6EQzpcY2g==}
|
||||||
|
|
||||||
'@emnapi/runtime@1.3.1':
|
'@emnapi/runtime@1.4.4':
|
||||||
resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==}
|
resolution: {integrity: sha512-hHyapA4A3gPaDCNfiqyZUStTMqIkKRshqPIuDOXv1hcBnD4U3l8cP0T1HMCfGRxQ6V64TGCcoswChANyOAwbQg==}
|
||||||
|
|
||||||
'@emnapi/wasi-threads@1.0.1':
|
'@emnapi/wasi-threads@1.0.3':
|
||||||
resolution: {integrity: sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==}
|
resolution: {integrity: sha512-8K5IFFsQqF9wQNJptGbS6FNKgUTsSRYnTqNCG1vPP8jFdjSv18n2mQfJpkt2Oibo9iBEzcDnDxNwKTzC7svlJw==}
|
||||||
|
|
||||||
'@esbuild/aix-ppc64@0.21.5':
|
'@esbuild/aix-ppc64@0.21.5':
|
||||||
resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==}
|
resolution: {integrity: sha512-1SDgH6ZSPTlggy1yI6+Dbkiz8xzpHJEVAlF/AM1tHPLsf5STom9rwtjE4hKAF20FfXXNTFqEYXyJNWh1GiZedQ==}
|
||||||
|
@ -882,8 +882,8 @@ packages:
|
||||||
'@jspm/core@2.0.1':
|
'@jspm/core@2.0.1':
|
||||||
resolution: {integrity: sha512-Lg3PnLp0QXpxwLIAuuJboLeRaIhrgJjeuh797QADg3xz8wGLugQOS5DpsE8A6i6Adgzf+bacllkKZG3J0tGfDw==}
|
resolution: {integrity: sha512-Lg3PnLp0QXpxwLIAuuJboLeRaIhrgJjeuh797QADg3xz8wGLugQOS5DpsE8A6i6Adgzf+bacllkKZG3J0tGfDw==}
|
||||||
|
|
||||||
'@napi-rs/wasm-runtime@0.2.5':
|
'@napi-rs/wasm-runtime@0.2.11':
|
||||||
resolution: {integrity: sha512-kwUxR7J9WLutBbulqg1dfOrMTwhMdXLdcGUhcbCcGwnPLt3gz19uHVdwH1syKVDbE022ZS2vZxOWflFLS0YTjw==}
|
resolution: {integrity: sha512-9DPkXtvHydrcOsopiYpUgPHpmj0HWZKMUnL2dZqpvC42lsratuBG06V5ipyno0fUek5VlFsNQ+AcFATSrJXgMA==}
|
||||||
|
|
||||||
'@nodelib/fs.scandir@2.1.5':
|
'@nodelib/fs.scandir@2.1.5':
|
||||||
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
||||||
|
@ -897,86 +897,191 @@ packages:
|
||||||
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
|
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
|
|
||||||
'@oxc-parser/binding-darwin-arm64@0.35.0':
|
'@oxc-parser/binding-android-arm64@0.76.0':
|
||||||
resolution: {integrity: sha512-2SSWMTMlrW8Ljcvgi0BOWr3Na6IX0Y9JYRRf4irV2OR9ZMGq1AcnK65ujMYE+w+zOfgqRKXVanz8vz6ii1bEmw==}
|
resolution: {integrity: sha512-1XJW/16CDmF5bHE7LAyPPmEEVnxSadDgdJz+xiLqBrmC4lfAeuAfRw3HlOygcPGr+AJsbD4Z5sFJMkwjbSZlQg==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [android]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-darwin-arm64@0.76.0':
|
||||||
|
resolution: {integrity: sha512-yoQwSom8xsB+JdGsPUU0xxmxLKiF2kdlrK7I56WtGKZilixuBf/TmOwNYJYLRWkBoW5l2/pDZOhBm2luwmLiLw==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@oxc-parser/binding-darwin-x64@0.35.0':
|
'@oxc-parser/binding-darwin-x64@0.76.0':
|
||||||
resolution: {integrity: sha512-q0p/DCz74/9pCZlzGgYw5nC11p2ilImq6XFCOsBOWDdAcB5FFEFO8dyLBxiWgKzXZW+B+FoAJQAGV3UPswx8Jw==}
|
resolution: {integrity: sha512-uRIopPLvr3pf2Xj7f5LKyCuqzIU6zOS+zEIR8UDYhcgJyZHnvBkfrYnfcztyIcrGdQehrFUi3uplmI09E7RdiQ==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-arm64-gnu@0.35.0':
|
'@oxc-parser/binding-freebsd-x64@0.76.0':
|
||||||
resolution: {integrity: sha512-MzSTS1nsYhuXHXaZvrKDFXGpUA5UOKFTb30kFVpRLmzunE3Rhp4BeT6aQib64oJBevuI+7OYE14p/CmfgOiavw==}
|
resolution: {integrity: sha512-a0EOFvnOd2FqmDSvH6uWLROSlU6KV/JDKbsYDA/zRLyKcG6HCsmFnPsp8iV7/xr9WMbNgyJi6R5IMpePQlUq7Q==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [freebsd]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-linux-arm-gnueabihf@0.76.0':
|
||||||
|
resolution: {integrity: sha512-ikRYDHL3fOdZwfJKmcdqjlLgkeNZ3Ez0qM8wAev5zlHZ+lY/Ig7qG5SCqPlvuTu+nNQ6zrFFaKvvt69EBKXU/g==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-linux-arm-musleabihf@0.76.0':
|
||||||
|
resolution: {integrity: sha512-dtRv5J5MRCLR7x39K8ufIIW4svIc7gYFUaI0YFXmmeOBhK/K2t/CkguPnDroKtsmXIPHDRtmJ1JJYzNcgJl6Wg==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-linux-arm64-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-IE4iiiggFH2snagQxHrY5bv6dDpRMMat+vdlMN/ibonA65eOmRLp8VLTXnDiNrcla/itJ1L9qGABHNKU+SnE8g==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-arm64-musl@0.35.0':
|
'@oxc-parser/binding-linux-arm64-musl@0.76.0':
|
||||||
resolution: {integrity: sha512-5WoOYIwE7/HN0IjGMToylXKclvczKM19R1ecbVFsYtKbuj7S6aXkP37x02njA+1DLtTRYv2TySxZjRrov+JFZg==}
|
resolution: {integrity: sha512-wi9zQPMDHrBuRuT7Iurfidc9qlZh7cKa5vfYzOWNBCaqJdgxmNOFzvYen02wVUxSWGKhpiPHxrPX0jdRyJ8Npg==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-x64-gnu@0.35.0':
|
'@oxc-parser/binding-linux-riscv64-gnu@0.76.0':
|
||||||
resolution: {integrity: sha512-wLtbsco7oRAjQH6LZ10jChW0R4l/UrYtr2lOTv2uvguZ/Xtab8xbKV3J+i/ct3XyuPo05W9Z3gBeJVePV/4xHw==}
|
resolution: {integrity: sha512-0tqqu1pqPee2lLGY8vtYlX1L415fFn89e0a3yp4q5N9f03j1rRs0R31qesTm3bt/UK8HYjECZ+56FCVPs2MEMQ==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [riscv64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-linux-s390x-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-y36Hh1a5TA+oIGtlc8lT7N9vdHXBlhBetQJW0p457KbiVQ7jF7AZkaPWhESkjHWAsTVKD2OjCa9ZqfaqhSI0FQ==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
cpu: [s390x]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-linux-x64-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-7/acaG9htovp3gp/J0kHgbItQTuHctl+rbqPPqZ9DRBYTz8iV8kv3QN8t8Or8i/hOmOjfZp9McDoSU1duoR4/A==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-x64-musl@0.35.0':
|
'@oxc-parser/binding-linux-x64-musl@0.76.0':
|
||||||
resolution: {integrity: sha512-DdqhCOm1uvHG3qCijQsdmGzVkGSQiVp5/576+01gvtIB1Xi72zJpo0d5Aoz/Ef262b+YkRJ23UncBMv2IWNLRQ==}
|
resolution: {integrity: sha512-AxFt0reY6Q2rfudABmMTFGR8tFFr58NlH2rRBQgcj+F+iEwgJ+jMwAPhXd2y1I2zaI8GspuahedUYQinqxWqjA==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-parser/binding-win32-arm64-msvc@0.35.0':
|
'@oxc-parser/binding-wasm32-wasi@0.76.0':
|
||||||
resolution: {integrity: sha512-a+DgOdXBKvsNRHi0ohJViuGXUCKVYM5VWC77QEbScuDz5kM0VoAobCxOgaqW90xk0ASqL5U9MS/C0c0e17LZ3A==}
|
resolution: {integrity: sha512-wHdkHdhf6AWBoO8vs5cpoR6zEFY1rB+fXWtq6j/xb9j/lu1evlujRVMkh8IM/M/pOUIrNkna3nzST/mRImiveQ==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [wasm32]
|
||||||
|
|
||||||
|
'@oxc-parser/binding-win32-arm64-msvc@0.76.0':
|
||||||
|
resolution: {integrity: sha512-G7ZlEWcb2hNwCK3qalzqJoyB6HaTigQ/GEa7CU8sAJ/WwMdG/NnPqiC9IqpEAEy1ARSo4XMALfKbKNuqbSs5mg==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@oxc-parser/binding-win32-x64-msvc@0.35.0':
|
'@oxc-parser/binding-win32-x64-msvc@0.76.0':
|
||||||
resolution: {integrity: sha512-Rm0CRpvsGLJI8++o06Fmz09Nza6vkzluOJj3Bye4DwqKcr4kLA+L/f+TyfiOZrzy9I9J9H8zM7C2UMdU0ws8/g==}
|
resolution: {integrity: sha512-0jLzzmnu8/mqNhKBnNS2lFUbPEzRdj5ReiZwHGHpjma0+ullmmwP2AqSEqx3ssHDK9CpcEMdKOK2LsbCfhHKIA==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@oxc-project/types@0.35.0':
|
'@oxc-project/runtime@0.75.1':
|
||||||
resolution: {integrity: sha512-IM45j7X1wrbu5xDXtrqbQRkQSsTxKZOCaw6OujjBGItICRKvFE6VGq21czpgKUwDIH0BqTQlFabCbt+d1/7v2A==}
|
resolution: {integrity: sha512-UH07DRi7xXqAsJ/sFbJJg0liIXnapB6P5uADXIiF1s6WQjZzcTIkKHca0s522QVxmijPxVX5ijCYxSr7eSq5CQ==}
|
||||||
|
engines: {node: '>=6.9.0'}
|
||||||
|
|
||||||
'@oxc-transform/binding-darwin-arm64@0.35.0':
|
'@oxc-project/types@0.75.1':
|
||||||
resolution: {integrity: sha512-oh+L/TM7/u3A1qIlFz2hEW0LIVPdhgK+dGAgnyDCOaXqP0P45MgkklbTF+lSAXkv5PgpvNmrnocu4j1mjswskA==}
|
resolution: {integrity: sha512-7ZJy+51qWpZRvynaQUezeYfjCtaSdiXIWFUZIlOuTSfDXpXqnSl/m1IUPLx6XrOy6s0SFv3CLE14vcZy63bz7g==}
|
||||||
|
|
||||||
|
'@oxc-project/types@0.76.0':
|
||||||
|
resolution: {integrity: sha512-CH3THIrSViKal8yV/Wh3FK0pFhp40nzW1MUDCik9fNuid2D/7JJXKJnfFOAvMxInGXDlvmgT6ACAzrl47TqzkQ==}
|
||||||
|
|
||||||
|
'@oxc-transform/binding-android-arm64@0.76.0':
|
||||||
|
resolution: {integrity: sha512-NjYRsQrBUJz1elPWXY8u6VRr2YlegRS+1fDTvxnofelIXcZbP6Klp9kR7FnOKFvT4nHMF42M6TtOwpt75noW7A==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [arm64]
|
||||||
|
os: [android]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-darwin-arm64@0.76.0':
|
||||||
|
resolution: {integrity: sha512-Sq1ikZFG9xFXQ/qnWH00w57VdM9AQmXm+o1VcP4W/zJ1bwUpjAIT5nre2ixpMejAW6g/Nn+INIq+QLuTeeu76A==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@oxc-transform/binding-darwin-x64@0.35.0':
|
'@oxc-transform/binding-darwin-x64@0.76.0':
|
||||||
resolution: {integrity: sha512-/B8YOmxxHGKeNqCeCoe7FY3eLrru5R07kS5pObkOGZgz2jqWw2CnJ3XMq+GaNAAgvVJc4O7wU88yV8a/TX3ppQ==}
|
resolution: {integrity: sha512-z9rW+H5ConXji4AsnGYD57O6IqHgtPWl4zomFKAZkDNIgnH4lAMTFxJooWqibU6md3eqohzV97rK1ZXY3ioENw==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-arm64-gnu@0.35.0':
|
'@oxc-transform/binding-freebsd-x64@0.76.0':
|
||||||
resolution: {integrity: sha512-Smbku1J3IofBVEJFvnP6IcGyavZsAskbGBs++ty/4+JQqv67fCeGFNRf8erAWpNQGhpgsL/EW7QIPuZ89SlIBw==}
|
resolution: {integrity: sha512-Lm2ySyYItojGqoKc1qtU/beARNdPLlXRtbgH/zqRh7Gy0nsMe0DHmsMciL57RJQxDb7LJ1eztE/r/QvgeDNPLg==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [x64]
|
||||||
|
os: [freebsd]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm-gnueabihf@0.76.0':
|
||||||
|
resolution: {integrity: sha512-cwWM8r/cxsQTohCFgzQCxP6XzYb3tciVSB6x70KpG/u6aQItks+zCqoMSu7cgL6McBEt/fvP2pGzNz5ZDEYq8Q==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm-musleabihf@0.76.0':
|
||||||
|
resolution: {integrity: sha512-0qsWf7u2LdSZTwQ5cMw2kESRy/mnPzI0hRX6/lJ5frRJjEJ1OOH8mQkUOx6ctowQlipv/VDVR+ZSTqikPPdGow==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [arm]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm64-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-WpxFWdocseSUjbUMQAG9NMCMo/SSUkjBM3knYRW9P2HIaD961q0+NAHQu4ZNiZ5yyXeiT/QjpZjKQtrex8ab6w==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-arm64-musl@0.35.0':
|
'@oxc-transform/binding-linux-arm64-musl@0.76.0':
|
||||||
resolution: {integrity: sha512-H0CV1mf4TNIPm4PwkHWJUxekgOHvyyCTehHimUjBaB2XxImwo1pEa+bO79wkJYm/F1aSDRM4APivK9c3Hi4F0w==}
|
resolution: {integrity: sha512-acoILN/8p5o0ut1bQlPxMSPqJ2JxgEl5bv94O7aIrQda0GvKKwSZvrtNdRqRA5DV5PusreuKnEHjHoe1hPAwaw==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-x64-gnu@0.35.0':
|
'@oxc-transform/binding-linux-riscv64-gnu@0.76.0':
|
||||||
resolution: {integrity: sha512-VSOiPOx4I/e3yTNED50Vn0VwHb3Pa0QQwqCZYRDKmqztsTQN6RSKnawWG+EPY+9mqLJs+8KfMphQMsjRE2K+hA==}
|
resolution: {integrity: sha512-Y9UNgfs4BaMxtoN7NYON8BqTTUrnTgXtCbhWxAw2VoTV/VQXEoywMKMEFZoSmrzu+FF467GPWgWS6VqvgvidOQ==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [riscv64]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-s390x-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-WwG79icPeZuuAfzETKU7tr7RHvlV25Sfzt02NqXdWwfFts2afLCpt1OVam11iLA30Kgj8q7HysZjhbIgEZUpkg==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [s390x]
|
||||||
|
os: [linux]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-x64-gnu@0.76.0':
|
||||||
|
resolution: {integrity: sha512-BcDXgbDwfyiIVM8gtkPCL1pkic+YCPrRIMcYyoYuZwsHm5j/kz7mImXMNsT/Sad3fRblFfGrssoTzKn2i3zodA==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-x64-musl@0.35.0':
|
'@oxc-transform/binding-linux-x64-musl@0.76.0':
|
||||||
resolution: {integrity: sha512-ItoZZ1auUQsgSE+lvL559+cLBnZb4Q2zotTB0JpH8M8rxROpW+GVwU3TzBwQHmtGE9ri+KuywpXkPREifdOx9g==}
|
resolution: {integrity: sha512-jlsKpMap4e2yQeLvjlpz+qAUWtbFg3310NLB48NM9xIRfPddlF9RRguIrIOnssK9MzNeUKHP3H2t6XJs68Uigw==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@oxc-transform/binding-win32-arm64-msvc@0.35.0':
|
'@oxc-transform/binding-wasm32-wasi@0.76.0':
|
||||||
resolution: {integrity: sha512-XuvyU0mhgpF5NIAcoknQPQnl70s/kfkBASo6xCx2HQP74vGGP6Aj810U4N0D66jGazpVw+mbaEsDzGHm3KWwiw==}
|
resolution: {integrity: sha512-fVMo9oickaMJSApbImlkPeCtYai47NR0ZOmAtyX05LHwRqrKmLBef46v9WXilKoNJ7MziyM7H11Nr01ze6SKrQ==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
cpu: [wasm32]
|
||||||
|
|
||||||
|
'@oxc-transform/binding-win32-arm64-msvc@0.76.0':
|
||||||
|
resolution: {integrity: sha512-NHYNglz3Xnauz9puiTCSmaG/MaYp2sreYtH3YkzHrcwhG1NRS3mLIEH4Iu03sSeZOthvcPe1TuE2TUt6bECdeg==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@oxc-transform/binding-win32-x64-msvc@0.35.0':
|
'@oxc-transform/binding-win32-x64-msvc@0.76.0':
|
||||||
resolution: {integrity: sha512-+hTWKxqO519Iot9A6XdCEdvokg/2Yid4NevjhsEJnsa1MrHHxbOjzWKq22GRjv0CpMgKlMyJXWHP4YKzDZ/Sog==}
|
resolution: {integrity: sha512-1FDq8BsSgvBpXYOR0a4O7GW78irTP3lJvcU+xPPhMtomNdNx+mn19JhYNqj3sApZ2+UeAa2hb3ELPmMVEPFJrA==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
|
@ -1065,69 +1170,72 @@ packages:
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
'@rolldown/binding-darwin-arm64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-darwin-arm64@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-K+kETZAdSaIHG+ivKes6IGiyFK4+uriEXhUHMPWvKqz4njcaXA9Lk5wEOiIFMLNsiyygkddBvuE2JXiiqtc7pw==}
|
resolution: {integrity: sha512-gE4HGjIioZaMGZupq2zQQdqhlRV2b2qnjFHHkJEW50zVDmiVNWwdHjwvZDPx9JfW5y4GuHgp/zKDLZZbJlQ1/Q==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@rolldown/binding-darwin-x64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-darwin-x64@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-ZrW/GM6xu0VMHBnnboAoID2mtHgg/aO0C6dVuu41FXxNTb5TenK+CL7o6TRErIYh9UggOE8ElePlw9yDCquRqw==}
|
resolution: {integrity: sha512-h2HfOtqmjIHIz9WdpKAJ8sBfLNGkrMlwrCfNV2MDDGu0x3YdYBYPE+ozS5PvE53Tp8y6EYn2/thNWJTGWy/N3Q==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [darwin]
|
os: [darwin]
|
||||||
|
|
||||||
'@rolldown/binding-freebsd-x64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-freebsd-x64@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-ay0xOrOCH2DA5iBpn2w02o7BMw0ftqHnfu6hq5eXMkzAioObA0eCLS+8vpbN9FpPpWRPYZoK9z519npn9GfVcw==}
|
resolution: {integrity: sha512-lx3Q2TU2bbY4yDCZ6e+Wiom3VMLFlZmQswx/1CyjFd+Vv3Q+99SZm6CSfNAIZBaWD246yQRRr1Vx+iIoWCdYzQ==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [freebsd]
|
os: [freebsd]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm-gnueabihf@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-flQG9NDOlYTlV9Y+7Lim+NZyv554Xrea8bN84ep9AJy49NHkwhzan46Ct9/drwbK4uQvTePk1Cof7CdX4/tJ7w==}
|
resolution: {integrity: sha512-PLtsV6uf3uS1/cNF8Wu/kitTpXT2YpOZbN6VJm7oMi5A8o5oO0vh8STCB71O5k2kwQMVycsmxHWFk2ZyEa6aMw==}
|
||||||
cpu: [arm]
|
cpu: [arm]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-gnu@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm64-gnu@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-osxZlZdtOC+ck8PZiQ27ujf2jbi67rrQmWx60wwuTnFznl7Rj4pULTDmxaq7oO14yYAW7w00in8OKGXcvRQ5yw==}
|
resolution: {integrity: sha512-UxGukDkWnv7uS5R+BPVeJ4FSuwA+lgC62LRsyPPSJhJhKMNGZ2W9sQPIpEtBRlww8t0qR6QBsiD5TGLW98ktGw==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-musl@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm64-musl@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-B1d+iRhQiKgBkbcO7ByUYoNUeWqV+XMP3Vz8Y27Nj+flgvt5GkmOEYJ2pJ4Nv5h9bzd4SwHsjzJ7XdXdbRk3Xw==}
|
resolution: {integrity: sha512-vB99yGYW9FOQe4lk3MNKa13+vRj+7waZFlRE3Ba/IpEy7RFxZ78ASkPLXkz4+kYYbUvMnRaOfk9RKX2fqYZRUg==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-gnu@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-x64-gnu@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-dQNu7BKid2dhJpRUJ7M+Lr+O77wyZfVDifjF3BEb5mlL/YJR029VZSEoguzyf0ir0xNFwcoFmXqvNol6RuCC7g==}
|
resolution: {integrity: sha512-fAMZBWutuKWHsyvHVsKjFYRXVgTbzBfNmomzPPpog8UtdkHk5Vnb0qVEeZP4hR4TsXnKfzD2EQ98NRqFej5QYA==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-musl@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-x64-musl@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-NKB/1i7f0j1YNnTd/DvOzlAfVufCVCovELxxBvdY1GqPBIbY8IrWsggHcw/A3ETdiHv/5qo6bg0OwyY0XJcUcA==}
|
resolution: {integrity: sha512-0UY/Qo8fAlpolcWOg2ZU7SCUrsCJWifdRMliV9GXlZaBKbMoVNFw0pHGDm9cj/3TWhJu/iB0peZK00dm22LlNw==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [linux]
|
os: [linux]
|
||||||
|
|
||||||
'@rolldown/binding-wasm32-wasi@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-wasm32-wasi@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-3s1aV1BwnR1lGd4tq/f9of9q/9HjjYwukr6t++rK/hLG+SvhchLroHycjIdodew/cvvUNJjQoxp6o3XnoNzSVQ==}
|
resolution: {integrity: sha512-7ubbtKCo6FBuAM4q6LoT5dOea7f/zj9OYXgumbwSmA0fw18mN5h8SrFTUjl7h9MpPkOyhi2uY6ss4pb39KXkcw==}
|
||||||
engines: {node: '>=14.21.3'}
|
engines: {node: '>=14.21.3'}
|
||||||
cpu: [wasm32]
|
cpu: [wasm32]
|
||||||
|
|
||||||
'@rolldown/binding-win32-arm64-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-arm64-msvc@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-Yb0WpkFVDog5jaa9wsp9S/S4OaNR/HwGC4gOUM24Aho7aJBogjwnnX9YXf6c9AS3CPqdeWhslRtgWfRKBzQZCQ==}
|
resolution: {integrity: sha512-S5WKIabtRBJyzu31KnJRlbZRR6FMrTMzYRrNTnIY2hWWXfpcB1PNuHqbo+98ODLpH8knul4Vyf5sCL61okLTjA==}
|
||||||
cpu: [arm64]
|
cpu: [arm64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@rolldown/binding-win32-ia32-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-ia32-msvc@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-9ECBsIsmjEyKofobNQfgwjc2apokoLfP8hYxu/dQKUT1Mb8KPCZp2pPqhi27HpLB+asEOnO3xMleABJdrYGmtg==}
|
resolution: {integrity: sha512-5EW8mzHoukz3zBn/VAaTapK+i+/ZFbSSP9meDmLSuGnk6La8uLAPc7E+6S3gbJnQ6k8lSC6ipIIeXC4SPdttKQ==}
|
||||||
cpu: [ia32]
|
cpu: [ia32]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@rolldown/binding-win32-x64-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-x64-msvc@1.0.0-beta.24':
|
||||||
resolution: {integrity: sha512-sIHCWBHaqpuF2SCfkGTb4Ml4sYAHCc4tyX8DW1/7tgA8uRsQ01UqoBZSv32KCao38AIYQSpC9HGQumcnjnximw==}
|
resolution: {integrity: sha512-KpurHt8+B0yTg9gHroC3H/Tf2c9VfjIBsC/wVHTf7GGAe+xkw1+5iYB3Y5iSy3OaMTGq1U3/YEvTqqBdSbDMUg==}
|
||||||
cpu: [x64]
|
cpu: [x64]
|
||||||
os: [win32]
|
os: [win32]
|
||||||
|
|
||||||
'@rolldown/plugin-node-polyfills@1.0.0':
|
'@rolldown/plugin-node-polyfills@1.0.0':
|
||||||
resolution: {integrity: sha512-JUmEhvz+B6+0AaeUGvZ7SnJec7wpwYqZ+FcAng1I3UVGYKA1uSmE1H4vKHUewU665Nb37znDd9N4o/iImmKeVg==}
|
resolution: {integrity: sha512-JUmEhvz+B6+0AaeUGvZ7SnJec7wpwYqZ+FcAng1I3UVGYKA1uSmE1H4vKHUewU665Nb37znDd9N4o/iImmKeVg==}
|
||||||
|
|
||||||
|
'@rolldown/pluginutils@1.0.0-beta.24':
|
||||||
|
resolution: {integrity: sha512-NMiim/enJlffMP16IanVj1ajFNEg8SaMEYyxyYfJoEyt5EiFT3HUH/T2GRdeStNWp+/kg5U8DiJqnQBgLQ8uCw==}
|
||||||
|
|
||||||
'@rollup/plugin-alias@5.1.1':
|
'@rollup/plugin-alias@5.1.1':
|
||||||
resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==}
|
resolution: {integrity: sha512-PR9zDb+rOzkRb2VD+EuKB7UC41vU5DIwZ5qqCpk0KJudcWAyi8rvYOhS7+L5aZCspw1stTViLgN5v6FF1p5cgQ==}
|
||||||
engines: {node: '>=14.0.0'}
|
engines: {node: '>=14.0.0'}
|
||||||
|
@ -1606,6 +1714,10 @@ packages:
|
||||||
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
|
resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
|
ansis@4.1.0:
|
||||||
|
resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==}
|
||||||
|
engines: {node: '>=14'}
|
||||||
|
|
||||||
arch@2.2.0:
|
arch@2.2.0:
|
||||||
resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==}
|
resolution: {integrity: sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ==}
|
||||||
|
|
||||||
|
@ -2812,11 +2924,13 @@ packages:
|
||||||
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
|
resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==}
|
||||||
engines: {node: '>= 0.8.0'}
|
engines: {node: '>= 0.8.0'}
|
||||||
|
|
||||||
oxc-parser@0.35.0:
|
oxc-parser@0.76.0:
|
||||||
resolution: {integrity: sha512-80Xpm5vOvEE5iP9aSN95WMLGbRpdl5oTV/rbtM+epGQpro5737R5CWcoHiStwzU/1zZKgZlSNfaeuTj1iV3kYA==}
|
resolution: {integrity: sha512-l98B2e9evuhES7zN99rb1QGhbzx25829TJFaKi2j0ib3/K/G5z1FdGYz6HZkrU3U8jdH7v2FC8mX1j2l9JrOUg==}
|
||||||
|
engines: {node: '>=20.0.0'}
|
||||||
|
|
||||||
oxc-transform@0.35.0:
|
oxc-transform@0.76.0:
|
||||||
resolution: {integrity: sha512-biVB7H7ZxuAQYbMJPUZw1umT7nzDU44tEBYyqMgLle0mnAbi9AetadIqTpjAp8KmcOYpG6VmvGeFPxWihFCWFQ==}
|
resolution: {integrity: sha512-E3Ne/inNuOEspzLf4QOZZoHskX4jgWB/dtis4y2CruVhRC9qQZMTa6kqxYB7kQwrOKw4U3By/pGrqU8CMbXF5A==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
|
||||||
p-limit@3.1.0:
|
p-limit@3.1.0:
|
||||||
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
|
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
|
||||||
|
@ -3119,8 +3233,8 @@ packages:
|
||||||
engines: {node: 20 || >=22}
|
engines: {node: 20 || >=22}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
rolldown@0.14.0-snapshot-d5e797b-20241114003621:
|
rolldown@1.0.0-beta.24:
|
||||||
resolution: {integrity: sha512-xJTXkA5ROenUW64VVgaqOglIDmrhJFkY1aFk100ROHAe59Gp2A6kaG8tpOoHDfnC4gmpXZnLr1dPDhdg960wYQ==}
|
resolution: {integrity: sha512-eDyipoOnoHQ5p6INkJ8g31eKGlqPSCAN9PapyOTw5HET4FYIWALZnSgpMZ67mdn+xT3jAsqGidNnBcIM6EAUhA==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
rollup-plugin-dts@6.1.1:
|
rollup-plugin-dts@6.1.1:
|
||||||
|
@ -3705,18 +3819,18 @@ snapshots:
|
||||||
conventional-commits-filter: 5.0.0
|
conventional-commits-filter: 5.0.0
|
||||||
conventional-commits-parser: 6.0.0
|
conventional-commits-parser: 6.0.0
|
||||||
|
|
||||||
'@emnapi/core@1.3.1':
|
'@emnapi/core@1.4.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emnapi/wasi-threads': 1.0.1
|
'@emnapi/wasi-threads': 1.0.3
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@emnapi/runtime@1.3.1':
|
'@emnapi/runtime@1.4.4':
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@emnapi/wasi-threads@1.0.1':
|
'@emnapi/wasi-threads@1.0.3':
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: 2.8.1
|
tslib: 2.8.1
|
||||||
optional: true
|
optional: true
|
||||||
|
@ -3948,10 +4062,10 @@ snapshots:
|
||||||
|
|
||||||
'@jspm/core@2.0.1': {}
|
'@jspm/core@2.0.1': {}
|
||||||
|
|
||||||
'@napi-rs/wasm-runtime@0.2.5':
|
'@napi-rs/wasm-runtime@0.2.11':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@emnapi/core': 1.3.1
|
'@emnapi/core': 1.4.4
|
||||||
'@emnapi/runtime': 1.3.1
|
'@emnapi/runtime': 1.4.4
|
||||||
'@tybys/wasm-util': 0.9.0
|
'@tybys/wasm-util': 0.9.0
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
@ -3967,54 +4081,104 @@ snapshots:
|
||||||
'@nodelib/fs.scandir': 2.1.5
|
'@nodelib/fs.scandir': 2.1.5
|
||||||
fastq: 1.17.1
|
fastq: 1.17.1
|
||||||
|
|
||||||
'@oxc-parser/binding-darwin-arm64@0.35.0':
|
'@oxc-parser/binding-android-arm64@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-darwin-x64@0.35.0':
|
'@oxc-parser/binding-darwin-arm64@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-arm64-gnu@0.35.0':
|
'@oxc-parser/binding-darwin-x64@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-arm64-musl@0.35.0':
|
'@oxc-parser/binding-freebsd-x64@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-x64-gnu@0.35.0':
|
'@oxc-parser/binding-linux-arm-gnueabihf@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-linux-x64-musl@0.35.0':
|
'@oxc-parser/binding-linux-arm-musleabihf@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-win32-arm64-msvc@0.35.0':
|
'@oxc-parser/binding-linux-arm64-gnu@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-parser/binding-win32-x64-msvc@0.35.0':
|
'@oxc-parser/binding-linux-arm64-musl@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-project/types@0.35.0': {}
|
'@oxc-parser/binding-linux-riscv64-gnu@0.76.0':
|
||||||
|
|
||||||
'@oxc-transform/binding-darwin-arm64@0.35.0':
|
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-darwin-x64@0.35.0':
|
'@oxc-parser/binding-linux-s390x-gnu@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-arm64-gnu@0.35.0':
|
'@oxc-parser/binding-linux-x64-gnu@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-arm64-musl@0.35.0':
|
'@oxc-parser/binding-linux-x64-musl@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-x64-gnu@0.35.0':
|
'@oxc-parser/binding-wasm32-wasi@0.76.0':
|
||||||
|
dependencies:
|
||||||
|
'@napi-rs/wasm-runtime': 0.2.11
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-linux-x64-musl@0.35.0':
|
'@oxc-parser/binding-win32-arm64-msvc@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-win32-arm64-msvc@0.35.0':
|
'@oxc-parser/binding-win32-x64-msvc@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@oxc-transform/binding-win32-x64-msvc@0.35.0':
|
'@oxc-project/runtime@0.75.1': {}
|
||||||
|
|
||||||
|
'@oxc-project/types@0.75.1': {}
|
||||||
|
|
||||||
|
'@oxc-project/types@0.76.0': {}
|
||||||
|
|
||||||
|
'@oxc-transform/binding-android-arm64@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-darwin-arm64@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-darwin-x64@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-freebsd-x64@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm-gnueabihf@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm-musleabihf@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm64-gnu@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-arm64-musl@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-riscv64-gnu@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-s390x-gnu@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-x64-gnu@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-linux-x64-musl@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-wasm32-wasi@0.76.0':
|
||||||
|
dependencies:
|
||||||
|
'@napi-rs/wasm-runtime': 0.2.11
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-win32-arm64-msvc@0.76.0':
|
||||||
|
optional: true
|
||||||
|
|
||||||
|
'@oxc-transform/binding-win32-x64-msvc@0.76.0':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@parcel/watcher-android-arm64@2.4.1':
|
'@parcel/watcher-android-arm64@2.4.1':
|
||||||
|
@ -4090,46 +4254,48 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
'@rolldown/binding-darwin-arm64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-darwin-arm64@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-darwin-x64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-darwin-x64@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-freebsd-x64@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-freebsd-x64@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm-gnueabihf@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm-gnueabihf@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-gnu@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm64-gnu@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-arm64-musl@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-arm64-musl@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-gnu@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-x64-gnu@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-linux-x64-musl@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-linux-x64-musl@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-wasm32-wasi@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-wasm32-wasi@1.0.0-beta.24':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@napi-rs/wasm-runtime': 0.2.5
|
'@napi-rs/wasm-runtime': 0.2.11
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-win32-arm64-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-arm64-msvc@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-win32-ia32-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-ia32-msvc@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/binding-win32-x64-msvc@0.14.0-snapshot-d5e797b-20241114003621':
|
'@rolldown/binding-win32-x64-msvc@1.0.0-beta.24':
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
'@rolldown/plugin-node-polyfills@1.0.0': {}
|
'@rolldown/plugin-node-polyfills@1.0.0': {}
|
||||||
|
|
||||||
|
'@rolldown/pluginutils@1.0.0-beta.24': {}
|
||||||
|
|
||||||
'@rollup/plugin-alias@5.1.1(rollup@4.25.0)':
|
'@rollup/plugin-alias@5.1.1(rollup@4.25.0)':
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
rollup: 4.25.0
|
rollup: 4.25.0
|
||||||
|
@ -4580,6 +4746,8 @@ snapshots:
|
||||||
|
|
||||||
ansi-styles@6.2.1: {}
|
ansi-styles@6.2.1: {}
|
||||||
|
|
||||||
|
ansis@4.1.0: {}
|
||||||
|
|
||||||
arch@2.2.0: {}
|
arch@2.2.0: {}
|
||||||
|
|
||||||
arg@5.0.2: {}
|
arg@5.0.2: {}
|
||||||
|
@ -5859,29 +6027,43 @@ snapshots:
|
||||||
prelude-ls: 1.2.1
|
prelude-ls: 1.2.1
|
||||||
type-check: 0.4.0
|
type-check: 0.4.0
|
||||||
|
|
||||||
oxc-parser@0.35.0:
|
oxc-parser@0.76.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@oxc-project/types': 0.35.0
|
'@oxc-project/types': 0.76.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@oxc-parser/binding-darwin-arm64': 0.35.0
|
'@oxc-parser/binding-android-arm64': 0.76.0
|
||||||
'@oxc-parser/binding-darwin-x64': 0.35.0
|
'@oxc-parser/binding-darwin-arm64': 0.76.0
|
||||||
'@oxc-parser/binding-linux-arm64-gnu': 0.35.0
|
'@oxc-parser/binding-darwin-x64': 0.76.0
|
||||||
'@oxc-parser/binding-linux-arm64-musl': 0.35.0
|
'@oxc-parser/binding-freebsd-x64': 0.76.0
|
||||||
'@oxc-parser/binding-linux-x64-gnu': 0.35.0
|
'@oxc-parser/binding-linux-arm-gnueabihf': 0.76.0
|
||||||
'@oxc-parser/binding-linux-x64-musl': 0.35.0
|
'@oxc-parser/binding-linux-arm-musleabihf': 0.76.0
|
||||||
'@oxc-parser/binding-win32-arm64-msvc': 0.35.0
|
'@oxc-parser/binding-linux-arm64-gnu': 0.76.0
|
||||||
'@oxc-parser/binding-win32-x64-msvc': 0.35.0
|
'@oxc-parser/binding-linux-arm64-musl': 0.76.0
|
||||||
|
'@oxc-parser/binding-linux-riscv64-gnu': 0.76.0
|
||||||
|
'@oxc-parser/binding-linux-s390x-gnu': 0.76.0
|
||||||
|
'@oxc-parser/binding-linux-x64-gnu': 0.76.0
|
||||||
|
'@oxc-parser/binding-linux-x64-musl': 0.76.0
|
||||||
|
'@oxc-parser/binding-wasm32-wasi': 0.76.0
|
||||||
|
'@oxc-parser/binding-win32-arm64-msvc': 0.76.0
|
||||||
|
'@oxc-parser/binding-win32-x64-msvc': 0.76.0
|
||||||
|
|
||||||
oxc-transform@0.35.0:
|
oxc-transform@0.76.0:
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@oxc-transform/binding-darwin-arm64': 0.35.0
|
'@oxc-transform/binding-android-arm64': 0.76.0
|
||||||
'@oxc-transform/binding-darwin-x64': 0.35.0
|
'@oxc-transform/binding-darwin-arm64': 0.76.0
|
||||||
'@oxc-transform/binding-linux-arm64-gnu': 0.35.0
|
'@oxc-transform/binding-darwin-x64': 0.76.0
|
||||||
'@oxc-transform/binding-linux-arm64-musl': 0.35.0
|
'@oxc-transform/binding-freebsd-x64': 0.76.0
|
||||||
'@oxc-transform/binding-linux-x64-gnu': 0.35.0
|
'@oxc-transform/binding-linux-arm-gnueabihf': 0.76.0
|
||||||
'@oxc-transform/binding-linux-x64-musl': 0.35.0
|
'@oxc-transform/binding-linux-arm-musleabihf': 0.76.0
|
||||||
'@oxc-transform/binding-win32-arm64-msvc': 0.35.0
|
'@oxc-transform/binding-linux-arm64-gnu': 0.76.0
|
||||||
'@oxc-transform/binding-win32-x64-msvc': 0.35.0
|
'@oxc-transform/binding-linux-arm64-musl': 0.76.0
|
||||||
|
'@oxc-transform/binding-linux-riscv64-gnu': 0.76.0
|
||||||
|
'@oxc-transform/binding-linux-s390x-gnu': 0.76.0
|
||||||
|
'@oxc-transform/binding-linux-x64-gnu': 0.76.0
|
||||||
|
'@oxc-transform/binding-linux-x64-musl': 0.76.0
|
||||||
|
'@oxc-transform/binding-wasm32-wasi': 0.76.0
|
||||||
|
'@oxc-transform/binding-win32-arm64-msvc': 0.76.0
|
||||||
|
'@oxc-transform/binding-win32-x64-msvc': 0.76.0
|
||||||
|
|
||||||
p-limit@3.1.0:
|
p-limit@3.1.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -6235,22 +6417,25 @@ snapshots:
|
||||||
glob: 11.0.0
|
glob: 11.0.0
|
||||||
package-json-from-dist: 1.0.0
|
package-json-from-dist: 1.0.0
|
||||||
|
|
||||||
rolldown@0.14.0-snapshot-d5e797b-20241114003621:
|
rolldown@1.0.0-beta.24:
|
||||||
dependencies:
|
dependencies:
|
||||||
zod: 3.23.8
|
'@oxc-project/runtime': 0.75.1
|
||||||
|
'@oxc-project/types': 0.75.1
|
||||||
|
'@rolldown/pluginutils': 1.0.0-beta.24
|
||||||
|
ansis: 4.1.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@rolldown/binding-darwin-arm64': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-darwin-arm64': 1.0.0-beta.24
|
||||||
'@rolldown/binding-darwin-x64': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-darwin-x64': 1.0.0-beta.24
|
||||||
'@rolldown/binding-freebsd-x64': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-freebsd-x64': 1.0.0-beta.24
|
||||||
'@rolldown/binding-linux-arm-gnueabihf': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-linux-arm-gnueabihf': 1.0.0-beta.24
|
||||||
'@rolldown/binding-linux-arm64-gnu': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-linux-arm64-gnu': 1.0.0-beta.24
|
||||||
'@rolldown/binding-linux-arm64-musl': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-linux-arm64-musl': 1.0.0-beta.24
|
||||||
'@rolldown/binding-linux-x64-gnu': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-linux-x64-gnu': 1.0.0-beta.24
|
||||||
'@rolldown/binding-linux-x64-musl': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-linux-x64-musl': 1.0.0-beta.24
|
||||||
'@rolldown/binding-wasm32-wasi': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-wasm32-wasi': 1.0.0-beta.24
|
||||||
'@rolldown/binding-win32-arm64-msvc': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-win32-arm64-msvc': 1.0.0-beta.24
|
||||||
'@rolldown/binding-win32-ia32-msvc': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-win32-ia32-msvc': 1.0.0-beta.24
|
||||||
'@rolldown/binding-win32-x64-msvc': 0.14.0-snapshot-d5e797b-20241114003621
|
'@rolldown/binding-win32-x64-msvc': 1.0.0-beta.24
|
||||||
|
|
||||||
rollup-plugin-dts@6.1.1(rollup@4.25.0)(typescript@5.6.2):
|
rollup-plugin-dts@6.1.1(rollup@4.25.0)(typescript@5.6.2):
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
@ -58,8 +58,7 @@ function patchTypes(pkg) {
|
||||||
name: 'patch-types',
|
name: 'patch-types',
|
||||||
renderChunk(code, chunk) {
|
renderChunk(code, chunk) {
|
||||||
const s = new MagicString(code)
|
const s = new MagicString(code)
|
||||||
const { program: ast, errors } = parseSync(code, {
|
const { program: ast, errors } = parseSync('x.d.ts', code, {
|
||||||
sourceFilename: 'x.d.ts',
|
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -119,14 +119,17 @@ async function buildAll(targets) {
|
||||||
if (configs) {
|
if (configs) {
|
||||||
all.push(
|
all.push(
|
||||||
Promise.all(
|
Promise.all(
|
||||||
configs.map(c =>
|
configs.map(c => {
|
||||||
rolldown(c).then(bundle => {
|
// @ts-expect-error
|
||||||
|
c.output.file = path.join('packages', t, 'dist', c.output.file)
|
||||||
|
return rolldown(c).then(bundle => {
|
||||||
|
// @ts-expect-error
|
||||||
return bundle.write(c.output).then(() => {
|
return bundle.write(c.output).then(() => {
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
return path.join('packages', t, 'dist', c.output.file)
|
return c.output.file
|
||||||
|
})
|
||||||
})
|
})
|
||||||
}),
|
}),
|
||||||
),
|
|
||||||
).then(files => {
|
).then(files => {
|
||||||
files.forEach(f => {
|
files.forEach(f => {
|
||||||
count++
|
count++
|
||||||
|
|
|
@ -125,8 +125,6 @@ export function createConfigsForPackage({
|
||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
output.dir = resolve('dist')
|
|
||||||
|
|
||||||
const isProductionBuild = /\.prod\.js$/.test(String(output.file) || '')
|
const isProductionBuild = /\.prod\.js$/.test(String(output.file) || '')
|
||||||
const isBundlerESMBuild = /esm-bundler/.test(format)
|
const isBundlerESMBuild = /esm-bundler/.test(format)
|
||||||
const isBrowserESMBuild = /esm-browser/.test(format)
|
const isBrowserESMBuild = /esm-browser/.test(format)
|
||||||
|
@ -317,7 +315,6 @@ export function createConfigsForPackage({
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: entries,
|
alias: entries,
|
||||||
},
|
},
|
||||||
// @ts-expect-error rollup's Plugin type incompatible w/ rolldown's vendored Plugin type
|
|
||||||
plugins: [
|
plugins: [
|
||||||
...(localDev ? [] : [enumPlugin]),
|
...(localDev ? [] : [enumPlugin]),
|
||||||
...resolveReplace(),
|
...resolveReplace(),
|
||||||
|
|
|
@ -40,6 +40,17 @@ function evaluate(exp) {
|
||||||
return new Function(`return ${exp}`)()
|
return new Function(`return ${exp}`)()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {import('oxc-parser').Expression | import('oxc-parser').PrivateIdentifier} exp
|
||||||
|
* @returns { exp is import('oxc-parser').StringLiteral | import('oxc-parser').NumericLiteral }
|
||||||
|
*/
|
||||||
|
function isStringOrNumberLiteral(exp) {
|
||||||
|
return (
|
||||||
|
exp.type === 'Literal' &&
|
||||||
|
(typeof exp.value === 'string' || typeof exp.value === 'number')
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// this is called in the build script entry once
|
// this is called in the build script entry once
|
||||||
// so the data can be shared across concurrent Rollup processes
|
// so the data can be shared across concurrent Rollup processes
|
||||||
export function scanEnums() {
|
export function scanEnums() {
|
||||||
|
@ -65,9 +76,7 @@ export function scanEnums() {
|
||||||
for (const relativeFile of files) {
|
for (const relativeFile of files) {
|
||||||
const file = path.resolve(process.cwd(), relativeFile)
|
const file = path.resolve(process.cwd(), relativeFile)
|
||||||
const content = readFileSync(file, 'utf-8')
|
const content = readFileSync(file, 'utf-8')
|
||||||
const res = parseSync(content, {
|
const res = parseSync(file, content, {
|
||||||
// plugins: ['typescript'],
|
|
||||||
sourceFilename: file,
|
|
||||||
sourceType: 'module',
|
sourceType: 'module',
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -99,9 +108,16 @@ export function scanEnums() {
|
||||||
/** @type {Array<EnumMember>} */
|
/** @type {Array<EnumMember>} */
|
||||||
const members = []
|
const members = []
|
||||||
|
|
||||||
for (let i = 0; i < decl.members.length; i++) {
|
for (let i = 0; i < decl.body.members.length; i++) {
|
||||||
const e = decl.members[i]
|
const e = decl.body.members[i]
|
||||||
const key = e.id.type === 'Identifier' ? e.id.name : e.id.value
|
const key =
|
||||||
|
e.id.type === 'Identifier'
|
||||||
|
? e.id.name
|
||||||
|
: e.id.type === 'Literal'
|
||||||
|
? e.id.value
|
||||||
|
: ''
|
||||||
|
if (key === '') continue
|
||||||
|
|
||||||
const fullKey = /** @type {const} */ (`${id}.${key}`)
|
const fullKey = /** @type {const} */ (`${id}.${key}`)
|
||||||
const saveValue = (/** @type {string | number} */ value) => {
|
const saveValue = (/** @type {string | number} */ value) => {
|
||||||
// We need allow same name enum in different file.
|
// We need allow same name enum in different file.
|
||||||
|
@ -120,23 +136,17 @@ export function scanEnums() {
|
||||||
if (init) {
|
if (init) {
|
||||||
/** @type {string | number} */
|
/** @type {string | number} */
|
||||||
let value
|
let value
|
||||||
if (
|
if (isStringOrNumberLiteral(init)) {
|
||||||
init.type === 'StringLiteral' ||
|
|
||||||
init.type === 'NumericLiteral'
|
|
||||||
) {
|
|
||||||
value = init.value
|
value = init.value
|
||||||
}
|
}
|
||||||
// e.g. 1 << 2
|
// e.g. 1 << 2
|
||||||
else if (init.type === 'BinaryExpression') {
|
else if (init.type === 'BinaryExpression') {
|
||||||
const resolveValue = (
|
const resolveValue = (
|
||||||
/** @type {import('@babel/types').Expression | import('@babel/types').PrivateName} */ node,
|
/** @type {import('oxc-parser').Expression | import('oxc-parser').PrivateIdentifier} */ node,
|
||||||
) => {
|
) => {
|
||||||
assert.ok(typeof node.start === 'number')
|
assert.ok(typeof node.start === 'number')
|
||||||
assert.ok(typeof node.end === 'number')
|
assert.ok(typeof node.end === 'number')
|
||||||
if (
|
if (isStringOrNumberLiteral(node)) {
|
||||||
node.type === 'NumericLiteral' ||
|
|
||||||
node.type === 'StringLiteral'
|
|
||||||
) {
|
|
||||||
return node.value
|
return node.value
|
||||||
} else if (
|
} else if (
|
||||||
node.type === 'MemberExpression' ||
|
node.type === 'MemberExpression' ||
|
||||||
|
@ -163,10 +173,7 @@ export function scanEnums() {
|
||||||
}${resolveValue(init.right)}`
|
}${resolveValue(init.right)}`
|
||||||
value = evaluate(exp)
|
value = evaluate(exp)
|
||||||
} else if (init.type === 'UnaryExpression') {
|
} else if (init.type === 'UnaryExpression') {
|
||||||
if (
|
if (isStringOrNumberLiteral(init.argument)) {
|
||||||
init.argument.type === 'StringLiteral' ||
|
|
||||||
init.argument.type === 'NumericLiteral'
|
|
||||||
) {
|
|
||||||
const exp = `${init.operator}${init.argument.value}`
|
const exp = `${init.operator}${init.argument.value}`
|
||||||
value = evaluate(exp)
|
value = evaluate(exp)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue