diff --git a/packages/vite-plugin-content/__tests__/__snapshots__/xlsx.spec.ts.snap b/packages/vite-plugin-content/__tests__/__snapshots__/xlsx.spec.ts.snap index 9a24419..7a1cf05 100644 --- a/packages/vite-plugin-content/__tests__/__snapshots__/xlsx.spec.ts.snap +++ b/packages/vite-plugin-content/__tests__/__snapshots__/xlsx.spec.ts.snap @@ -11,6 +11,7 @@ exports[`xlsxTest > xlsx transform > A1 1`] = ` rels:[ ], strs:[ \\"/xl/sharedStrings.xml\\" ], comments:[ ], + threadedcomments:[ ], links:[ ], coreprops:[ \\"/docProps/core.xml\\" ], extprops:[ \\"/docProps/app.xml\\" ], @@ -19,6 +20,8 @@ exports[`xlsxTest > xlsx transform > A1 1`] = ` styles:[ \\"/xl/styles.xml\\" ], vba:[ ], drawings:[ ], + metadata:[ ], + people:[ ], TODO:[ ], xmlns:\\"http://schemas.openxmlformats.org/package/2006/content-types\\", calcchain:\\"/xl/calcChain.xml\\", @@ -253,10 +256,10 @@ exports[`xlsxTest > xlsx transform > A1 1`] = ` f:\\"+B20*B20\\", w:\\"225\\" }, A22:{ t:\\"s\\", - v:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", + v:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\", r:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", - h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\", - w:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\" }, + h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\", + w:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\" }, \\"!margins\\":{ left:0.75, right:0.75, top:1, @@ -287,9 +290,9 @@ exports[`xlsxTest > xlsx transform > A1 1`] = ` { t:\\"Square\\", r:\\"Square\\", h:\\"Square\\" }, - { t:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", + { t:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\", r:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", - h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\" }, + h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\" }, { t:\\"\\" } ], Styles:{ Fonts:[ { sz:10, name:\\"Arial\\" }, @@ -379,6 +382,394 @@ exports[`xlsxTest > xlsx transform > A1 1`] = ` 47:\\"mmss.0\\", 48:\\"##0.0E+0\\", 49:\\"@\\", - 56:\\"\\\\\\"上午/下午 \\\\\\"hh\\\\\\"時\\\\\\"mm\\\\\\"分\\\\\\"ss\\\\\\"秒 \\\\\\"\\" } }; + 56:\\"\\\\\\"上午/下午 \\\\\\"hh\\\\\\"時\\\\\\"mm\\\\\\"分\\\\\\"ss\\\\\\"秒 \\\\\\"\\" }, + bookType:\\"xlsx\\" }; +export default data;" +`; + +exports[`xlsxTest xlsx transform: A1 1`] = ` +"var data = { Directory:{ workbooks:[ \\"/xl/workbook.xml\\" ], + sheets:[ \\"/xl/worksheets/sheet2.xml\\", + \\"/xl/worksheets/sheet3.xml\\", + \\"/xl/worksheets/sheet1.xml\\" ], + charts:[ ], + dialogs:[ ], + macros:[ ], + rels:[ ], + strs:[ \\"/xl/sharedStrings.xml\\" ], + comments:[ ], + threadedcomments:[ ], + links:[ ], + coreprops:[ \\"/docProps/core.xml\\" ], + extprops:[ \\"/docProps/app.xml\\" ], + custprops:[ ], + themes:[ \\"/xl/theme/theme1.xml\\" ], + styles:[ \\"/xl/styles.xml\\" ], + vba:[ ], + drawings:[ ], + metadata:[ ], + people:[ ], + TODO:[ ], + xmlns:\\"http://schemas.openxmlformats.org/package/2006/content-types\\", + calcchain:\\"/xl/calcChain.xml\\", + sst:\\"/xl/sharedStrings.xml\\", + style:\\"/xl/styles.xml\\", + defaults:{ rels:\\"application/vnd.openxmlformats-package.relationships+xml\\", + xml:\\"application/xml\\" } }, + Workbook:{ AppVersion:{ appName:\\"xl\\", + appname:\\"xl\\", + lastEdited:\\"4\\", + lastedited:\\"4\\", + lowestEdited:\\"4\\", + lowestedited:\\"4\\", + rupBuild:\\"4505\\", + rupbuild:\\"4505\\" }, + WBProps:{ defaultThemeVersion:124226, + allowRefreshQuery:false, + autoCompressPictures:true, + backupFile:false, + checkCompatibility:false, + CodeName:\\"\\", + date1904:false, + filterPrivacy:false, + hidePivotFieldList:false, + promptedSolutions:false, + publishItems:false, + refreshAllConnections:false, + saveExternalLinkValues:true, + showBorderUnselectedTables:true, + showInkAnnotation:true, + showObjects:\\"all\\", + showPivotChartFilter:false, + updateLinks:\\"userSet\\" }, + WBView:[ { xWindow:\\"0\\", + xwindow:\\"0\\", + yWindow:\\"1170\\", + ywindow:\\"1170\\", + windowWidth:\\"10365\\", + windowwidth:\\"10365\\", + windowHeight:\\"8970\\", + windowheight:\\"8970\\", + activeTab:0, + autoFilterDateGrouping:true, + firstSheet:0, + minimized:false, + showHorizontalScroll:true, + showSheetTabs:true, + showVerticalScroll:true, + tabRatio:600, + visibility:\\"visible\\" } ], + Sheets:[ { name:\\"Feuil1\\", + sheetId:\\"1\\", + sheetid:\\"1\\", + id:\\"rId1\\", + Hidden:0 }, + { name:\\"Feuil2\\", + sheetId:\\"2\\", + sheetid:\\"2\\", + id:\\"rId2\\", + Hidden:0 }, + { name:\\"Feuil3\\", + sheetId:\\"3\\", + sheetid:\\"3\\", + id:\\"rId3\\", + Hidden:0 } ], + CalcPr:{ calcId:\\"125725\\", + calcid:\\"125725\\", + calcCompleted:\\"true\\", + calcMode:\\"auto\\", + calcOnSave:\\"true\\", + concurrentCalc:\\"true\\", + fullCalcOnLoad:\\"false\\", + fullPrecision:\\"true\\", + iterate:\\"false\\", + iterateCount:\\"100\\", + iterateDelta:\\"0.001\\", + refMode:\\"A1\\" }, + Names:[ ], + xmlns:\\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\\", + Views:[ {} ] }, + Props:{ LastAuthor:\\"garribas\\", + Author:\\"Keith Bennett\\", + Title:\\"Simple Excel document\\", + CreatedDate:new Date(1191255236000), + ModifiedDate:new Date(1229011337000), + Application:\\"Microsoft Excel\\", + AppVersion:\\"12.0000\\", + DocSecurity:\\"0\\", + HyperlinksChanged:false, + SharedDoc:false, + LinksUpToDate:false, + ScaleCrop:false, + Worksheets:3, + SheetNames:[ \\"Feuil1\\", + \\"Feuil2\\", + \\"Feuil3\\" ] }, + Custprops:{}, + Deps:{}, + Sheets:{ Feuil1:{ \\"!ref\\":\\"A1:D22\\", + A1:{ t:\\"s\\", + v:\\"Sample Excel Worksheet - Numbers and their Squares\\", + r:\\"Sample Excel Worksheet - Numbers and their Squares\\", + h:\\"Sample Excel Worksheet - Numbers and their Squares\\", + w:\\"Sample Excel Worksheet - Numbers and their Squares\\" }, + B4:{ t:\\"s\\", + v:\\"Number\\", + r:\\"Number\\", + h:\\"Number\\", + w:\\"Number\\" }, + C4:{ t:\\"s\\", + v:\\"Square\\", + r:\\"Square\\", + h:\\"Square\\", + w:\\"Square\\" }, + B6:{ t:\\"n\\", + v:1, + w:\\"1\\" }, + C6:{ t:\\"n\\", + v:1, + f:\\"+B6*B6\\", + w:\\"1\\" }, + B7:{ t:\\"n\\", + v:2, + f:\\"+B6+1\\", + w:\\"2\\" }, + C7:{ t:\\"n\\", + v:4, + f:\\"+B7*B7\\", + w:\\"4\\" }, + B8:{ t:\\"n\\", + v:3, + f:\\"+B7+1\\", + w:\\"3\\" }, + C8:{ t:\\"n\\", + v:9, + f:\\"+B8*B8\\", + w:\\"9\\" }, + B9:{ t:\\"n\\", + v:4, + f:\\"+B8+1\\", + w:\\"4\\" }, + C9:{ t:\\"n\\", + v:16, + f:\\"+B9*B9\\", + w:\\"16\\" }, + B10:{ t:\\"n\\", + v:5, + f:\\"+B9+1\\", + w:\\"5\\" }, + C10:{ t:\\"n\\", + v:25, + f:\\"+B10*B10\\", + w:\\"25\\" }, + B11:{ t:\\"n\\", + v:6, + f:\\"+B10+1\\", + w:\\"6\\" }, + C11:{ t:\\"n\\", + v:36, + f:\\"+B11*B11\\", + w:\\"36\\" }, + B12:{ t:\\"n\\", + v:7, + f:\\"+B11+1\\", + w:\\"7\\" }, + C12:{ t:\\"n\\", + v:49, + f:\\"+B12*B12\\", + w:\\"49\\" }, + B13:{ t:\\"n\\", + v:8, + f:\\"+B12+1\\", + w:\\"8\\" }, + C13:{ t:\\"n\\", + v:64, + f:\\"+B13*B13\\", + w:\\"64\\" }, + B14:{ t:\\"n\\", + v:9, + f:\\"+B13+1\\", + w:\\"9\\" }, + C14:{ t:\\"n\\", + v:81, + f:\\"+B14*B14\\", + w:\\"81\\" }, + B15:{ t:\\"n\\", + v:10, + f:\\"+B14+1\\", + w:\\"10\\" }, + C15:{ t:\\"n\\", + v:100, + f:\\"+B15*B15\\", + w:\\"100\\" }, + B16:{ t:\\"n\\", + v:11, + f:\\"+B15+1\\", + w:\\"11\\" }, + C16:{ t:\\"n\\", + v:121, + f:\\"+B16*B16\\", + w:\\"121\\" }, + B17:{ t:\\"n\\", + v:12, + f:\\"+B16+1\\", + w:\\"12\\" }, + C17:{ t:\\"n\\", + v:144, + f:\\"+B17*B17\\", + w:\\"144\\" }, + B18:{ t:\\"n\\", + v:13, + f:\\"+B17+1\\", + w:\\"13\\" }, + C18:{ t:\\"n\\", + v:169, + f:\\"+B18*B18\\", + w:\\"169\\" }, + B19:{ t:\\"n\\", + v:14, + f:\\"+B18+1\\", + w:\\"14\\" }, + C19:{ t:\\"n\\", + v:196, + f:\\"+B19*B19\\", + w:\\"196\\" }, + B20:{ t:\\"n\\", + v:15, + f:\\"+B19+1\\", + w:\\"15\\" }, + C20:{ t:\\"n\\", + v:225, + f:\\"+B20*B20\\", + w:\\"225\\" }, + A22:{ t:\\"s\\", + v:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\", + r:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", + h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\", + w:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\" }, + \\"!margins\\":{ left:0.75, + right:0.75, + top:1, + bottom:1, + header:0.4921259845, + footer:0.4921259845 } }, + Feuil2:{ \\"!margins\\":{ left:0.75, + right:0.75, + top:1, + bottom:1, + header:0.4921259845, + footer:0.4921259845 } }, + Feuil3:{ \\"!margins\\":{ left:0.75, + right:0.75, + top:1, + bottom:1, + header:0.4921259845, + footer:0.4921259845 } } }, + SheetNames:[ \\"Feuil1\\", + \\"Feuil2\\", + \\"Feuil3\\" ], + Strings:[ { t:\\"Sample Excel Worksheet - Numbers and their Squares\\", + r:\\"Sample Excel Worksheet - Numbers and their Squares\\", + h:\\"Sample Excel Worksheet - Numbers and their Squares\\" }, + { t:\\"Number\\", + r:\\"Number\\", + h:\\"Number\\" }, + { t:\\"Square\\", + r:\\"Square\\", + h:\\"Square\\" }, + { t:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\n\\", + r:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.\\\\r\\\\n\\", + h:\\"Written and saved in Microsoft Excel X for Mac Service Release 1.
\\" }, + { t:\\"\\" } ], + Styles:{ Fonts:[ { sz:10, + name:\\"Arial\\" }, + { bold:1, + underline:1, + sz:10, + name:\\"Verdana\\" } ], + Fills:[ { patternType:\\"none\\" }, + { patternType:\\"gray125\\" } ], + Borders:[ {} ], + CellXf:[ { numFmtId:0, + numfmtid:\\"0\\", + fontId:0, + fontid:\\"0\\", + fillId:0, + fillid:\\"0\\", + borderId:0, + borderid:\\"0\\", + xfId:0, + xfid:\\"0\\" }, + { numFmtId:0, + numfmtid:\\"0\\", + fontId:1, + fontid:\\"1\\", + fillId:0, + fillid:\\"0\\", + borderId:0, + borderid:\\"0\\", + xfId:0, + xfid:\\"0\\", + applyFont:true, + applyfont:\\"1\\" }, + { numFmtId:0, + numfmtid:\\"0\\", + fontId:1, + fontid:\\"1\\", + fillId:0, + fillid:\\"0\\", + borderId:0, + borderid:\\"0\\", + xfId:0, + xfid:\\"0\\", + applyFont:true, + applyfont:\\"1\\", + applyAlignment:true, + applyalignment:\\"1\\", + alignment:{ horizontal:\\"right\\" } }, + { numFmtId:0, + numfmtid:\\"0\\", + fontId:0, + fontid:\\"0\\", + fillId:0, + fillid:\\"0\\", + borderId:0, + borderid:\\"0\\", + xfId:0, + xfid:\\"0\\", + applyAlignment:true, + applyalignment:\\"1\\", + alignment:{ wrapText:true } } ] }, + Themes:{}, + SSF:{ 0:\\"General\\", + 1:\\"0\\", + 2:\\"0.00\\", + 3:\\"#,##0\\", + 4:\\"#,##0.00\\", + 9:\\"0%\\", + 10:\\"0.00%\\", + 11:\\"0.00E+00\\", + 12:\\"# ?/?\\", + 13:\\"# ??/??\\", + 14:\\"m/d/yy\\", + 15:\\"d-mmm-yy\\", + 16:\\"d-mmm\\", + 17:\\"mmm-yy\\", + 18:\\"h:mm AM/PM\\", + 19:\\"h:mm:ss AM/PM\\", + 20:\\"h:mm\\", + 21:\\"h:mm:ss\\", + 22:\\"m/d/yy h:mm\\", + 37:\\"#,##0 ;(#,##0)\\", + 38:\\"#,##0 ;[Red](#,##0)\\", + 39:\\"#,##0.00;(#,##0.00)\\", + 40:\\"#,##0.00;[Red](#,##0.00)\\", + 45:\\"mm:ss\\", + 46:\\"[h]:mm:ss\\", + 47:\\"mmss.0\\", + 48:\\"##0.0E+0\\", + 49:\\"@\\", + 56:\\"\\\\\\"上午/下午 \\\\\\"hh\\\\\\"時\\\\\\"mm\\\\\\"分\\\\\\"ss\\\\\\"秒 \\\\\\"\\" }, + bookType:\\"xlsx\\" }; export default data;" `; diff --git a/packages/vite-plugin-content/src/xlsxTransformation.ts b/packages/vite-plugin-content/src/xlsxTransformation.ts index 0a85fcf..21d91ae 100644 --- a/packages/vite-plugin-content/src/xlsxTransformation.ts +++ b/packages/vite-plugin-content/src/xlsxTransformation.ts @@ -1,6 +1,5 @@ import { PluginOptions } from './index' import { createFilter } from '@rollup/pluginutils' -import xlsx from 'xlsx' import toSource from 'tosource' export default function xlsxTransform( @@ -8,6 +7,7 @@ export default function xlsxTransform( code: string, id: string, ) { + const xlsx = require('xlsx'); const filter = createFilter(options.xlsx!.include, options.xlsx!.exclude) if (!filter(id)) { return null diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 817b3e2..3c9bbba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: ts-node: 10.7.0_ddaac8e123aeb260f586984cee874848 typescript: 4.6.3 vite: 4.0.4_@types+node@16.11.26 - vitest: registry.npmmirror.com/vitest/0.21.0_c8@7.11.0 + vitest: 0.21.1_c8@7.11.0 wireit: 0.4.0 yorkie: 2.0.0 @@ -1581,6 +1581,15 @@ packages: resolution: {integrity: sha512-8HqW8EVqjnCmWXVpqAOZf+EGESdkR27odcMMMGefgKXtar00SoYNSryGv//TELI4T3QFsECo78p+0lmalk/CFA==} dev: true + /@esbuild/android-arm/0.15.18: + resolution: {integrity: sha512-5GT+kcs2WVGjVs7+boataCkO5Fg0y4kCjzkB5bAip7H4jfnOS3dA6KPiww9W1OEKTKeAcUVhdZGvgI65OXmUnw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm/0.16.14: resolution: {integrity: sha512-u0rITLxFIeYAvtJXBQNhNuV4YZe+MD1YvIWT7Nicj8hZAtRVZk2PgNH6KclcKDVHz1ChLKXRfX7d7tkbQBUfrg==} engines: {node: '>=12'} @@ -1671,8 +1680,8 @@ packages: dev: true optional: true - /@esbuild/linux-loong64/0.14.53: - resolution: {integrity: sha512-W2dAL6Bnyn4xa/QRSU3ilIK4EzD5wgYXKXJiS1HDF5vU3675qc2bvFyLwbUcdmssDveyndy7FbitrCoiV/eMLg==} + /@esbuild/linux-loong64/0.15.18: + resolution: {integrity: sha512-L4jVKS82XVhw2nvzLg/19ClLWg0y27ulRwuP7lcyL6AbUWB5aPglXY3M21mauDQMDfRLs8cQmeT03r/+X3cZYQ==} engines: {node: '>=12'} cpu: [loong64] os: [linux] @@ -3453,6 +3462,16 @@ packages: '@types/responselike': 1.0.0 dev: true + /@types/chai-subset/1.3.3: + resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==} + dependencies: + '@types/chai': 4.3.9 + dev: true + + /@types/chai/4.3.9: + resolution: {integrity: sha512-69TtiDzu0bcmKQv3yg1Zx409/Kd7r0b5F1PfpYJfSHzLGtB53547V4u+9iqKYsTu/O2ai6KTb0TInNpvuQ3qmg==} + dev: true + /@types/ejs/3.1.0: resolution: {integrity: sha512-DCg+Ka+uDQ31lJ/UtEXVlaeV3d6t81gifaVWKJy4MYVVgvJttyX/viREy+If7fz+tK/gVxTGMtyrFPnm4gjrVA==} dev: true @@ -4251,7 +4270,6 @@ packages: /assertion-error/1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} - dev: false /assign-symbols/1.0.0: resolution: {integrity: sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=} @@ -4861,6 +4879,19 @@ packages: assertion-error: 1.1.0 dev: false + /chai/4.3.10: + resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.3 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + /chalk/2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -4902,6 +4933,12 @@ packages: /chardet/0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + /check-error/1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + dependencies: + get-func-name: 2.0.2 + dev: true + /chokidar/3.5.3: resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} engines: {node: '>= 8.10.0'} @@ -5755,6 +5792,13 @@ packages: resolution: {integrity: sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=} dev: true + /deep-eql/4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + /deep-extend/0.6.0: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} @@ -6189,8 +6233,8 @@ packages: requiresBuild: true optional: true - /esbuild-android-64/0.14.53: - resolution: {integrity: sha512-fIL93sOTnEU+NrTAVMIKiAw0YH22HWCAgg4N4Z6zov2t0kY9RAJ50zY9ZMCQ+RT6bnOfDt8gCTnt/RaSNA2yRA==} + /esbuild-android-64/0.15.18: + resolution: {integrity: sha512-wnpt3OXRhcjfIDSZu9bnzT4/TNTDsOUvip0foZOUBG7QbSt//w3QV4FInVJxNhKc/ErhUxc5z4QjHtMi7/TbgA==} engines: {node: '>=12'} cpu: [x64] os: [android] @@ -6206,8 +6250,8 @@ packages: requiresBuild: true optional: true - /esbuild-android-arm64/0.14.53: - resolution: {integrity: sha512-PC7KaF1v0h/nWpvlU1UMN7dzB54cBH8qSsm7S9mkwFA1BXpaEOufCg8hdoEI1jep0KeO/rjZVWrsH8+q28T77A==} + /esbuild-android-arm64/0.15.18: + resolution: {integrity: sha512-G4xu89B8FCzav9XU8EjsXacCKSG2FT7wW9J6hOc18soEHJdtWu03L3TQDGf0geNxfLTtxENKBzMSq9LlbjS8OQ==} engines: {node: '>=12'} cpu: [arm64] os: [android] @@ -6223,8 +6267,8 @@ packages: requiresBuild: true optional: true - /esbuild-darwin-64/0.14.53: - resolution: {integrity: sha512-gE7P5wlnkX4d4PKvLBUgmhZXvL7lzGRLri17/+CmmCzfncIgq8lOBvxGMiQ4xazplhxq+72TEohyFMZLFxuWvg==} + /esbuild-darwin-64/0.15.18: + resolution: {integrity: sha512-2WAvs95uPnVJPuYKP0Eqx+Dl/jaYseZEUUT1sjg97TJa4oBtbAKnPnl3b5M9l51/nbx7+QAEtuummJZW0sBEmg==} engines: {node: '>=12'} cpu: [x64] os: [darwin] @@ -6240,8 +6284,8 @@ packages: requiresBuild: true optional: true - /esbuild-darwin-arm64/0.14.53: - resolution: {integrity: sha512-otJwDU3hnI15Q98PX4MJbknSZ/WSR1I45il7gcxcECXzfN4Mrpft5hBDHXNRnCh+5858uPXBXA1Vaz2jVWLaIA==} + /esbuild-darwin-arm64/0.15.18: + resolution: {integrity: sha512-tKPSxcTJ5OmNb1btVikATJ8NftlyNlc8BVNtyT/UAr62JFOhwHlnoPrhYWz09akBLHI9nElFVfWSTSRsrZiDUA==} engines: {node: '>=12'} cpu: [arm64] os: [darwin] @@ -6257,8 +6301,8 @@ packages: requiresBuild: true optional: true - /esbuild-freebsd-64/0.14.53: - resolution: {integrity: sha512-WkdJa8iyrGHyKiPF4lk0MiOF87Q2SkE+i+8D4Cazq3/iqmGPJ6u49je300MFi5I2eUsQCkaOWhpCVQMTKGww2w==} + /esbuild-freebsd-64/0.15.18: + resolution: {integrity: sha512-TT3uBUxkteAjR1QbsmvSsjpKjOX6UkCstr8nMr+q7zi3NuZ1oIpa8U41Y8I8dJH2fJgdC3Dj3CXO5biLQpfdZA==} engines: {node: '>=12'} cpu: [x64] os: [freebsd] @@ -6274,8 +6318,8 @@ packages: requiresBuild: true optional: true - /esbuild-freebsd-arm64/0.14.53: - resolution: {integrity: sha512-9T7WwCuV30NAx0SyQpw8edbKvbKELnnm1FHg7gbSYaatH+c8WJW10g/OdM7JYnv7qkimw2ZTtSA+NokOLd2ydQ==} + /esbuild-freebsd-arm64/0.15.18: + resolution: {integrity: sha512-R/oVr+X3Tkh+S0+tL41wRMbdWtpWB8hEAMsOXDumSSa6qJR89U0S/PpLXrGF7Wk/JykfpWNokERUpCeHDl47wA==} engines: {node: '>=12'} cpu: [arm64] os: [freebsd] @@ -6291,8 +6335,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-32/0.14.53: - resolution: {integrity: sha512-VGanLBg5en2LfGDgLEUxQko2lqsOS7MTEWUi8x91YmsHNyzJVT/WApbFFx3MQGhkf+XdimVhpyo5/G0PBY91zg==} + /esbuild-linux-32/0.15.18: + resolution: {integrity: sha512-lphF3HiCSYtaa9p1DtXndiQEeQDKPl9eN/XNoBf2amEghugNuqXNZA/ZovthNE2aa4EN43WroO0B85xVSjYkbg==} engines: {node: '>=12'} cpu: [ia32] os: [linux] @@ -6308,8 +6352,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-64/0.14.53: - resolution: {integrity: sha512-pP/FA55j/fzAV7N9DF31meAyjOH6Bjuo3aSKPh26+RW85ZEtbJv9nhoxmGTd9FOqjx59Tc1ZbrJabuiXlMwuZQ==} + /esbuild-linux-64/0.15.18: + resolution: {integrity: sha512-hNSeP97IviD7oxLKFuii5sDPJ+QHeiFTFLoLm7NZQligur8poNOWGIgpQ7Qf8Balb69hptMZzyOBIPtY09GZYw==} engines: {node: '>=12'} cpu: [x64] os: [linux] @@ -6325,8 +6369,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-arm/0.14.53: - resolution: {integrity: sha512-/u81NGAVZMopbmzd21Nu/wvnKQK3pT4CrvQ8BTje1STXcQAGnfyKgQlj3m0j2BzYbvQxSy+TMck4TNV2onvoPA==} + /esbuild-linux-arm/0.15.18: + resolution: {integrity: sha512-UH779gstRblS4aoS2qpMl3wjg7U0j+ygu3GjIeTonCcN79ZvpPee12Qun3vcdxX+37O5LFxz39XeW2I9bybMVA==} engines: {node: '>=12'} cpu: [arm] os: [linux] @@ -6342,8 +6386,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-arm64/0.14.53: - resolution: {integrity: sha512-GDmWITT+PMsjCA6/lByYk7NyFssW4Q6in32iPkpjZ/ytSyH+xeEx8q7HG3AhWH6heemEYEWpTll/eui3jwlSnw==} + /esbuild-linux-arm64/0.15.18: + resolution: {integrity: sha512-54qr8kg/6ilcxd+0V3h9rjT4qmjc0CccMVWrjOEM/pEcUzt8X62HfBSeZfT2ECpM7104mk4yfQXkosY8Quptug==} engines: {node: '>=12'} cpu: [arm64] os: [linux] @@ -6359,8 +6403,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-mips64le/0.14.53: - resolution: {integrity: sha512-d6/XHIQW714gSSp6tOOX2UscedVobELvQlPMkInhx1NPz4ThZI9uNLQ4qQJHGBGKGfu+rtJsxM4NVHLhnNRdWQ==} + /esbuild-linux-mips64le/0.15.18: + resolution: {integrity: sha512-Mk6Ppwzzz3YbMl/ZZL2P0q1tnYqh/trYZ1VfNP47C31yT0K8t9s7Z077QrDA/guU60tGNp2GOwCQnp+DYv7bxQ==} engines: {node: '>=12'} cpu: [mips64el] os: [linux] @@ -6376,8 +6420,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-ppc64le/0.14.53: - resolution: {integrity: sha512-ndnJmniKPCB52m+r6BtHHLAOXw+xBCWIxNnedbIpuREOcbSU/AlyM/2dA3BmUQhsHdb4w3amD5U2s91TJ3MzzA==} + /esbuild-linux-ppc64le/0.15.18: + resolution: {integrity: sha512-b0XkN4pL9WUulPTa/VKHx2wLCgvIAbgwABGnKMY19WhKZPT+8BxhZdqz6EgkqCLld7X5qiCY2F/bfpUUlnFZ9w==} engines: {node: '>=12'} cpu: [ppc64] os: [linux] @@ -6393,8 +6437,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-riscv64/0.14.53: - resolution: {integrity: sha512-yG2sVH+QSix6ct4lIzJj329iJF3MhloLE6/vKMQAAd26UVPVkhMFqFopY+9kCgYsdeWvXdPgmyOuKa48Y7+/EQ==} + /esbuild-linux-riscv64/0.15.18: + resolution: {integrity: sha512-ba2COaoF5wL6VLZWn04k+ACZjZ6NYniMSQStodFKH/Pu6RxzQqzsmjR1t9QC89VYJxBeyVPTaHuBMCejl3O/xg==} engines: {node: '>=12'} cpu: [riscv64] os: [linux] @@ -6410,8 +6454,8 @@ packages: requiresBuild: true optional: true - /esbuild-linux-s390x/0.14.53: - resolution: {integrity: sha512-OCJlgdkB+XPYndHmw6uZT7jcYgzmx9K+28PVdOa/eLjdoYkeAFvH5hTwX4AXGLZLH09tpl4bVsEtvuyUldaNCg==} + /esbuild-linux-s390x/0.15.18: + resolution: {integrity: sha512-VbpGuXEl5FCs1wDVp93O8UIzl3ZrglgnSQ+Hu79g7hZu6te6/YHgVJxCM2SqfIila0J3k0csfnf8VD2W7u2kzQ==} engines: {node: '>=12'} cpu: [s390x] os: [linux] @@ -6427,8 +6471,8 @@ packages: requiresBuild: true optional: true - /esbuild-netbsd-64/0.14.53: - resolution: {integrity: sha512-gp2SB+Efc7MhMdWV2+pmIs/Ja/Mi5rjw+wlDmmbIn68VGXBleNgiEZG+eV2SRS0kJEUyHNedDtwRIMzaohWedQ==} + /esbuild-netbsd-64/0.15.18: + resolution: {integrity: sha512-98ukeCdvdX7wr1vUYQzKo4kQ0N2p27H7I11maINv73fVEXt2kyh4K4m9f35U1K43Xc2QGXlzAw0K9yoU7JUjOg==} engines: {node: '>=12'} cpu: [x64] os: [netbsd] @@ -6444,8 +6488,8 @@ packages: requiresBuild: true optional: true - /esbuild-openbsd-64/0.14.53: - resolution: {integrity: sha512-eKQ30ZWe+WTZmteDYg8S+YjHV5s4iTxeSGhJKJajFfQx9TLZJvsJX0/paqwP51GicOUruFpSUAs2NCc0a4ivQQ==} + /esbuild-openbsd-64/0.15.18: + resolution: {integrity: sha512-yK5NCcH31Uae076AyQAXeJzt/vxIo9+omZRKj1pauhk3ITuADzuOx5N2fdHrAKPxN+zH3w96uFKlY7yIn490xQ==} engines: {node: '>=12'} cpu: [x64] os: [openbsd] @@ -6461,8 +6505,8 @@ packages: requiresBuild: true optional: true - /esbuild-sunos-64/0.14.53: - resolution: {integrity: sha512-OWLpS7a2FrIRukQqcgQqR1XKn0jSJoOdT+RlhAxUoEQM/IpytS3FXzCJM6xjUYtpO5GMY0EdZJp+ur2pYdm39g==} + /esbuild-sunos-64/0.15.18: + resolution: {integrity: sha512-On22LLFlBeLNj/YF3FT+cXcyKPEI263nflYlAhz5crxtp3yRG1Ugfr7ITyxmCmjm4vbN/dGrb/B7w7U8yJR9yw==} engines: {node: '>=12'} cpu: [x64] os: [sunos] @@ -6478,8 +6522,8 @@ packages: requiresBuild: true optional: true - /esbuild-windows-32/0.14.53: - resolution: {integrity: sha512-m14XyWQP5rwGW0tbEfp95U6A0wY0DYPInWBB7D69FAXUpBpBObRoGTKRv36lf2RWOdE4YO3TNvj37zhXjVL5xg==} + /esbuild-windows-32/0.15.18: + resolution: {integrity: sha512-o+eyLu2MjVny/nt+E0uPnBxYuJHBvho8vWsC2lV61A7wwTWC3jkN2w36jtA+yv1UgYkHRihPuQsL23hsCYGcOQ==} engines: {node: '>=12'} cpu: [ia32] os: [win32] @@ -6495,8 +6539,8 @@ packages: requiresBuild: true optional: true - /esbuild-windows-64/0.14.53: - resolution: {integrity: sha512-s9skQFF0I7zqnQ2K8S1xdLSfZFsPLuOGmSx57h2btSEswv0N0YodYvqLcJMrNMXh6EynOmWD7rz+0rWWbFpIHQ==} + /esbuild-windows-64/0.15.18: + resolution: {integrity: sha512-qinug1iTTaIIrCorAUjR0fcBk24fjzEedFYhhispP8Oc7SFvs+XeW3YpAKiKp8dRpizl4YYAhxMjlftAMJiaUw==} engines: {node: '>=12'} cpu: [x64] os: [win32] @@ -6512,8 +6556,8 @@ packages: requiresBuild: true optional: true - /esbuild-windows-arm64/0.14.53: - resolution: {integrity: sha512-E+5Gvb+ZWts+00T9II6wp2L3KG2r3iGxByqd/a1RmLmYWVsSVUjkvIxZuJ3hYTIbhLkH5PRwpldGTKYqVz0nzQ==} + /esbuild-windows-arm64/0.15.18: + resolution: {integrity: sha512-q9bsYzegpZcLziq0zgUi5KqGVtfhjxGbnksaBFYmWLxeV/S1fK4OLdq2DFYnXcLMjlZw2L0jLsk1eGoB522WXQ==} engines: {node: '>=12'} cpu: [arm64] os: [win32] @@ -6548,6 +6592,36 @@ packages: esbuild-windows-64: 0.14.28 esbuild-windows-arm64: 0.14.28 + /esbuild/0.15.18: + resolution: {integrity: sha512-x/R72SmW3sSFRm5zrrIjAhCeQSAWoni3CmHEqfQrZIQTM3lVCdehdwuIqaOtfC2slvpdlLa62GYoN8SxT23m6Q==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.15.18 + '@esbuild/linux-loong64': 0.15.18 + esbuild-android-64: 0.15.18 + esbuild-android-arm64: 0.15.18 + esbuild-darwin-64: 0.15.18 + esbuild-darwin-arm64: 0.15.18 + esbuild-freebsd-64: 0.15.18 + esbuild-freebsd-arm64: 0.15.18 + esbuild-linux-32: 0.15.18 + esbuild-linux-64: 0.15.18 + esbuild-linux-arm: 0.15.18 + esbuild-linux-arm64: 0.15.18 + esbuild-linux-mips64le: 0.15.18 + esbuild-linux-ppc64le: 0.15.18 + esbuild-linux-riscv64: 0.15.18 + esbuild-linux-s390x: 0.15.18 + esbuild-netbsd-64: 0.15.18 + esbuild-openbsd-64: 0.15.18 + esbuild-sunos-64: 0.15.18 + esbuild-windows-32: 0.15.18 + esbuild-windows-64: 0.15.18 + esbuild-windows-arm64: 0.15.18 + dev: true + /esbuild/0.16.14: resolution: {integrity: sha512-6xAn3O6ZZyoxZAEkwfI9hw4cEqSr/o1ViJtnkvImVkblmUN65Md04o0S/7H1WNu1XGf1Cjij/on7VO4psIYjkw==} engines: {node: '>=12'} @@ -7405,6 +7479,10 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} + /get-func-name/2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + dev: true + /get-intrinsic/1.1.1: resolution: {integrity: sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==} dependencies: @@ -10095,6 +10173,11 @@ packages: type-fest: 0.6.0 dev: true + /local-pkg/0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} + dev: true + /locate-path/2.0.0: resolution: {integrity: sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=} engines: {node: '>=4'} @@ -10273,6 +10356,12 @@ packages: wrap-ansi: 6.2.0 dev: true + /loupe/2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + dependencies: + get-func-name: 2.0.2 + dev: true + /lower-case/2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} dependencies: @@ -11729,6 +11818,10 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} + /pathval/1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + /pend/1.2.0: resolution: {integrity: sha1-elfrVQpng/kRUzH89GY9XI4AelA=} dev: false @@ -12734,6 +12827,14 @@ packages: optionalDependencies: fsevents: 2.3.2 + /rollup/2.79.1: + resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.2 + dev: true + /rollup/3.9.1: resolution: {integrity: sha512-GswCYHXftN8ZKGVgQhTFUJB/NBXxrRGgO2NCy6E8s1rwEJ4Q9/VttNqcYfEvx4dTo4j58YqdC3OVztPzlKSX8w==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} @@ -13626,6 +13727,16 @@ packages: engines: {node: '>=0.10.0'} dev: false + /tinypool/0.2.4: + resolution: {integrity: sha512-Vs3rhkUH6Qq1t5bqtb816oT+HeJTXfwt2cbPH17sWHIYKTotQIFPk3tf2fgqRrVyMDVOc1EnPgzIxfIulXVzwQ==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy/1.1.1: + resolution: {integrity: sha512-UVq5AXt/gQlti7oxoIg5oi/9r0WpF7DGEVwXgqWSMmyN16+e3tl5lIvTaOpJ3TAtu5xFzWccFRM4R5NaWHF+4g==} + engines: {node: '>=14.0.0'} + dev: true + /tmp/0.0.33: resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} engines: {node: '>=0.6.0'} @@ -14187,29 +14298,36 @@ packages: fsevents: 2.3.2 dev: true - /vite/3.0.4: - resolution: {integrity: sha512-NU304nqnBeOx2MkQnskBQxVsa0pRAH5FphokTGmyy8M3oxbvw7qAXts2GORxs+h/2vKsD+osMhZ7An6yK6F1dA==} + /vite/3.2.7_@types+node@17.0.23: + resolution: {integrity: sha512-29pdXjk49xAP0QBr0xXqu2s5jiQIXNvE/xwd0vUizYT2Hzqe4BksNNoWllFVXJf4eLZ+UlVQmXfB4lWrc+t18g==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: + '@types/node': '>= 14' less: '*' sass: '*' stylus: '*' + sugarss: '*' terser: ^5.4.0 peerDependenciesMeta: + '@types/node': + optional: true less: optional: true sass: optional: true stylus: optional: true + sugarss: + optional: true terser: optional: true dependencies: - esbuild: registry.npmmirror.com/esbuild/0.14.53 - postcss: registry.npmmirror.com/postcss/8.4.16 - resolve: registry.npmmirror.com/resolve/1.22.1 - rollup: registry.npmmirror.com/rollup/2.77.2 + '@types/node': 17.0.23 + esbuild: 0.15.18 + postcss: 8.4.20 + resolve: 1.22.1 + rollup: 2.79.1 optionalDependencies: fsevents: 2.3.2 dev: true @@ -14248,6 +14366,50 @@ packages: fsevents: 2.3.2 dev: true + /vitest/0.21.1_c8@7.11.0: + resolution: {integrity: sha512-WBIxuFmIDPuK47GO6Lu9eNeRMqHj/FWL3dk73OHH3eyPPWPiu+UB3QHLkLK2PEggCqJW4FaWoWg8R68S7p9+9Q==} + engines: {node: '>=v14.16.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + c8: '*' + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + c8: + optional: true + happy-dom: + optional: true + jsdom: + optional: true + dependencies: + '@types/chai': 4.3.9 + '@types/chai-subset': 1.3.3 + '@types/node': 17.0.23 + c8: 7.11.0 + chai: 4.3.10 + debug: 4.3.4 + local-pkg: 0.4.3 + tinypool: 0.2.4 + tinyspy: 1.1.1 + vite: 3.2.7_@types+node@17.0.23 + transitivePeerDependencies: + - less + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + /vm2/3.9.9: resolution: {integrity: sha512-xwTm7NLh/uOjARRBs8/95H0e8fT3Ukw5D/JJWhxMbhKzNh1Nu981jQKvkep9iKYNxzlVrdzD0mlBGkDKZWprlw==} engines: {node: '>=6.0'} @@ -14968,52 +15130,11 @@ packages: hasBin: true dev: false - registry.npmmirror.com/@types/chai-subset/1.3.3: - resolution: {integrity: sha512-frBecisrNGz+F4T6bcc+NLeolfiojh5FxW2klu669+8BARtyQv2C/GkNW6FUodVe4BroGMP/wER/YDGc7rEllw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/chai-subset/-/chai-subset-1.3.3.tgz} - name: '@types/chai-subset' - version: 1.3.3 - dependencies: - '@types/chai': registry.npmmirror.com/@types/chai/4.3.3 - dev: true - - registry.npmmirror.com/@types/chai/4.3.3: - resolution: {integrity: sha512-hC7OMnszpxhZPduX+m+nrx+uFoLkWOMiR4oa/AZF3MuSETYTZmFfJAHqZEM8MVlvfG7BEUcgvtwoCTxBp6hm3g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/chai/-/chai-4.3.3.tgz} - name: '@types/chai' - version: 4.3.3 - dev: true - registry.npmmirror.com/@types/node/17.0.23: resolution: {integrity: sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/node/-/node-17.0.23.tgz} name: '@types/node' version: 17.0.23 - registry.npmmirror.com/assertion-error/1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/assertion-error/-/assertion-error-1.1.0.tgz} - name: assertion-error - version: 1.1.0 - dev: true - - registry.npmmirror.com/chai/4.3.6: - resolution: {integrity: sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/chai/-/chai-4.3.6.tgz} - name: chai - version: 4.3.6 - engines: {node: '>=4'} - dependencies: - assertion-error: registry.npmmirror.com/assertion-error/1.1.0 - check-error: registry.npmmirror.com/check-error/1.0.2 - deep-eql: registry.npmmirror.com/deep-eql/3.0.1 - get-func-name: registry.npmmirror.com/get-func-name/2.0.0 - loupe: registry.npmmirror.com/loupe/2.3.4 - pathval: registry.npmmirror.com/pathval/1.1.1 - type-detect: registry.npmmirror.com/type-detect/4.0.8 - dev: true - - registry.npmmirror.com/check-error/1.0.2: - resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/check-error/-/check-error-1.0.2.tgz} - name: check-error - version: 1.0.2 - dev: true - registry.npmmirror.com/debug/4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz} name: debug @@ -15028,57 +15149,11 @@ packages: ms: registry.npmmirror.com/ms/2.1.2 dev: true - registry.npmmirror.com/deep-eql/3.0.1: - resolution: {integrity: sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/deep-eql/-/deep-eql-3.0.1.tgz} - name: deep-eql - version: 3.0.1 - engines: {node: '>=0.12'} - dependencies: - type-detect: registry.npmmirror.com/type-detect/4.0.8 - dev: true - - registry.npmmirror.com/esbuild/0.14.53: - resolution: {integrity: sha512-ohO33pUBQ64q6mmheX1mZ8mIXj8ivQY/L4oVuAshr+aJI+zLl+amrp3EodrUNDNYVrKJXGPfIHFGhO8slGRjuw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/esbuild/-/esbuild-0.14.53.tgz} - name: esbuild - version: 0.14.53 - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/linux-loong64': 0.14.53 - esbuild-android-64: 0.14.53 - esbuild-android-arm64: 0.14.53 - esbuild-darwin-64: 0.14.53 - esbuild-darwin-arm64: 0.14.53 - esbuild-freebsd-64: 0.14.53 - esbuild-freebsd-arm64: 0.14.53 - esbuild-linux-32: 0.14.53 - esbuild-linux-64: 0.14.53 - esbuild-linux-arm: 0.14.53 - esbuild-linux-arm64: 0.14.53 - esbuild-linux-mips64le: 0.14.53 - esbuild-linux-ppc64le: 0.14.53 - esbuild-linux-riscv64: 0.14.53 - esbuild-linux-s390x: 0.14.53 - esbuild-netbsd-64: 0.14.53 - esbuild-openbsd-64: 0.14.53 - esbuild-sunos-64: 0.14.53 - esbuild-windows-32: 0.14.53 - esbuild-windows-64: 0.14.53 - esbuild-windows-arm64: 0.14.53 - dev: true - registry.npmmirror.com/function-bind/1.1.1: resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz} name: function-bind version: 1.1.1 - registry.npmmirror.com/get-func-name/2.0.0: - resolution: {integrity: sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/get-func-name/-/get-func-name-2.0.0.tgz} - name: get-func-name - version: 2.0.0 - dev: true - registry.npmmirror.com/graceful-fs/4.2.9: resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.9.tgz} name: graceful-fs @@ -15100,21 +15175,6 @@ packages: dependencies: has: registry.npmmirror.com/has/1.0.3 - registry.npmmirror.com/local-pkg/0.4.2: - resolution: {integrity: sha512-mlERgSPrbxU3BP4qBqAvvwlgW4MTg78iwJdGGnv7kibKjWcJksrG3t6LB5lXI93wXRDvG4NpUgJFmTG4T6rdrg==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/local-pkg/-/local-pkg-0.4.2.tgz} - name: local-pkg - version: 0.4.2 - engines: {node: '>=14'} - dev: true - - registry.npmmirror.com/loupe/2.3.4: - resolution: {integrity: sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/loupe/-/loupe-2.3.4.tgz} - name: loupe - version: 2.3.4 - dependencies: - get-func-name: registry.npmmirror.com/get-func-name/2.0.0 - dev: true - registry.npmmirror.com/ms/2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz} name: ms @@ -15127,42 +15187,11 @@ packages: version: 2.1.3 dev: true - registry.npmmirror.com/nanoid/3.3.4: - resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/nanoid/-/nanoid-3.3.4.tgz} - name: nanoid - version: 3.3.4 - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - registry.npmmirror.com/path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz} name: path-parse version: 1.0.7 - registry.npmmirror.com/pathval/1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/pathval/-/pathval-1.1.1.tgz} - name: pathval - version: 1.1.1 - dev: true - - registry.npmmirror.com/picocolors/1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz} - name: picocolors - version: 1.0.0 - dev: true - - registry.npmmirror.com/postcss/8.4.16: - resolution: {integrity: sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/postcss/-/postcss-8.4.16.tgz} - name: postcss - version: 8.4.16 - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: registry.npmmirror.com/nanoid/3.3.4 - picocolors: registry.npmmirror.com/picocolors/1.0.0 - source-map-js: registry.npmmirror.com/source-map-js/1.0.2 - dev: true - registry.npmmirror.com/resolve/1.22.1: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz} name: resolve @@ -15174,23 +15203,6 @@ packages: supports-preserve-symlinks-flag: registry.npmmirror.com/supports-preserve-symlinks-flag/1.0.0 dev: true - registry.npmmirror.com/rollup/2.77.2: - resolution: {integrity: sha512-m/4YzYgLcpMQbxX3NmAqDvwLATZzxt8bIegO78FZLl+lAgKJBd1DRAOeEiZcKOIOPjxE6ewHWHNgGEalFXuz1g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/rollup/-/rollup-2.77.2.tgz} - name: rollup - version: 2.77.2 - engines: {node: '>=10.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - - registry.npmmirror.com/source-map-js/1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz} - name: source-map-js - version: 1.0.2 - engines: {node: '>=0.10.0'} - dev: true - registry.npmmirror.com/source-map/0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz} name: source-map @@ -15203,70 +15215,3 @@ packages: name: supports-preserve-symlinks-flag version: 1.0.0 engines: {node: '>= 0.4'} - - registry.npmmirror.com/tinypool/0.2.4: - resolution: {integrity: sha512-Vs3rhkUH6Qq1t5bqtb816oT+HeJTXfwt2cbPH17sWHIYKTotQIFPk3tf2fgqRrVyMDVOc1EnPgzIxfIulXVzwQ==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tinypool/-/tinypool-0.2.4.tgz} - name: tinypool - version: 0.2.4 - engines: {node: '>=14.0.0'} - dev: true - - registry.npmmirror.com/tinyspy/1.0.0: - resolution: {integrity: sha512-FI5B2QdODQYDRjfuLF+OrJ8bjWRMCXokQPcwKm0W3IzcbUmBNv536cQc7eXGoAuXphZwgx1DFbqImwzz08Fnhw==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/tinyspy/-/tinyspy-1.0.0.tgz} - name: tinyspy - version: 1.0.0 - engines: {node: '>=14.0.0'} - dev: true - - registry.npmmirror.com/type-detect/4.0.8: - resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/type-detect/-/type-detect-4.0.8.tgz} - name: type-detect - version: 4.0.8 - engines: {node: '>=4'} - dev: true - - registry.npmmirror.com/vitest/0.21.0_c8@7.11.0: - resolution: {integrity: sha512-+BQB2swk4wQdw5loOoL8esIYh/1ifAliuwj2HWHNE2F8SAl/jF7/aoCJBoXGSf/Ws19k3pH4NrWeVtcSwM0j2w==, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/vitest/-/vitest-0.21.0.tgz} - id: registry.npmmirror.com/vitest/0.21.0 - name: vitest - version: 0.21.0 - engines: {node: '>=v14.16.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - c8: '*' - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - c8: - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/chai': registry.npmmirror.com/@types/chai/4.3.3 - '@types/chai-subset': registry.npmmirror.com/@types/chai-subset/1.3.3 - '@types/node': registry.npmmirror.com/@types/node/17.0.23 - c8: 7.11.0 - chai: registry.npmmirror.com/chai/4.3.6 - debug: registry.npmmirror.com/debug/4.3.4 - local-pkg: registry.npmmirror.com/local-pkg/0.4.2 - tinypool: registry.npmmirror.com/tinypool/0.2.4 - tinyspy: registry.npmmirror.com/tinyspy/1.0.0 - vite: 3.0.4 - transitivePeerDependencies: - - less - - sass - - stylus - - supports-color - - terser - dev: true