diff --git a/package.json b/package.json index 321435b1e0..d05ab60595 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "@mdx-js/rollup": "^3.0.1", "@pmmmwh/react-refresh-webpack-plugin": "0.5.10", "@rollup/plugin-babel": "^6.0.4", - "@rollup/plugin-commonjs": "^26.0.1", + "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-node-resolve": "15.2.3", "@rollup/plugin-typescript": "^11.1.6", "@tarojs/components": "3.6.22", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c7bd7dce3..afa2218e9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -98,8 +98,8 @@ importers: specifier: ^6.0.4 version: 6.0.4(@babel/core@7.25.2)(@types/babel__core@7.20.5)(rollup@4.21.1) '@rollup/plugin-commonjs': - specifier: ^26.0.1 - version: 26.0.1(rollup@4.21.1) + specifier: ^28.0.1 + version: 28.0.1(rollup@4.21.1) '@rollup/plugin-node-resolve': specifier: 15.2.3 version: 15.2.3(rollup@4.21.1) @@ -111,7 +111,7 @@ importers: version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) '@tarojs/plugin-platform-alipay': specifier: 3.6.22 - version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) + version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-weapp': specifier: 3.6.22 version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) @@ -174,7 +174,7 @@ importers: version: 4.3.1(vite@5.4.2(@types/node@20.16.1)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6)) '@vitest/coverage-v8': specifier: ^2.0.4 - version: 2.0.5(vitest@2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6)) + version: 2.0.5(vitest@2.0.5) '@vitest/ui': specifier: ^2.0.4 version: 2.0.5(vitest@2.0.5) @@ -357,7 +357,7 @@ importers: version: 2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) vitest-canvas-mock: specifier: ^0.3.3 - version: 0.3.3(vitest@2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6)) + version: 0.3.3(vitest@2.0.5) packages/nutui-codemod: dependencies: @@ -416,7 +416,7 @@ importers: version: 2.0.0(sass@1.77.8)(typescript@5.5.4) vitest: specifier: ^1.5.0 - version: 1.6.0(@types/node@20.16.1)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) + version: 1.6.0(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) packages/nutui-replace-icons: dependencies: @@ -443,7 +443,7 @@ importers: version: 7.6.8 vitest: specifier: ^1.5.0 - version: 1.6.0(@types/node@18.19.60)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) + version: 1.6.0(@types/node@18.19.60)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) devDependencies: '@types/lodash.kebabcase': specifier: ^4.1.9 @@ -471,7 +471,7 @@ importers: version: 7.25.4 '@nutui/replace-icons': specifier: ^1.0.3 - version: 1.0.3(@types/node@22.5.0)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6) + version: 1.0.3(@types/node@22.5.0)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6) '@nutui/touch-emulator': specifier: ^1.0.0 version: 1.0.0 @@ -492,7 +492,7 @@ importers: version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-alipay': specifier: 3.6.22 - version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) + version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-h5': specifier: 3.6.22 version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) @@ -501,7 +501,7 @@ importers: version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-qq': specifier: 3.6.22 - version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) + version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) '@tarojs/plugin-platform-swan': specifier: 3.6.22 version: 3.6.22(@types/react@18.3.4)(postcss@8.4.41) @@ -2871,8 +2871,8 @@ packages: rollup: optional: true - '@rollup/plugin-commonjs@26.0.1': - resolution: {integrity: sha512-UnsKoZK6/aGIH6AdkptXhNvhaqftcjq3zZdT+LY5Ftms6JR06nADcDsYp5hTU9E2lbJUEOhdlY5J4DNTneM+jQ==} + '@rollup/plugin-commonjs@28.0.1': + resolution: {integrity: sha512-+tNWdlWKbpB3WgBN7ijjYkq9X5uhjmcvyjEght4NmH5fAU++zfQzAJ6wumLS+dNcvwEZhKx2Z+skY8m7v0wGSA==} engines: {node: '>=16.0.0 || 14 >= 14.17'} peerDependencies: rollup: ^2.68.0||^3.0.0||^4.0.0 @@ -6110,11 +6110,13 @@ packages: eslint@8.41.0: resolution: {integrity: sha512-WQDQpzGBOP5IrXPo4Hc0814r4/v2rrIsB0rhT7jtunIalgg6gYXWhRMOejVO8yH21T/FGaxjmFjBMNqcIlmH1Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -15052,7 +15054,7 @@ snapshots: '@nutui/jdesign-icons-react-taro@1.0.6-beta.2': {} - '@nutui/replace-icons@1.0.3(@types/node@22.5.0)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6)': + '@nutui/replace-icons@1.0.3(@types/node@22.5.0)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6)': dependencies: '@babel/cli': 7.25.9(@babel/core@7.26.0) '@babel/core': 7.26.0 @@ -15061,7 +15063,7 @@ snapshots: '@babel/preset-react': 7.25.9(@babel/core@7.26.0) '@types/babel__core': 7.20.5 '@types/babel__generator': 7.6.8 - vitest: 1.6.0(@types/node@22.5.0)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6) + vitest: 1.6.0(@types/node@22.5.0)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6) transitivePeerDependencies: - '@edge-runtime/vm' - '@types/node' @@ -15244,14 +15246,15 @@ snapshots: optionalDependencies: rollup: 3.29.5 - '@rollup/plugin-commonjs@26.0.1(rollup@4.21.1)': + '@rollup/plugin-commonjs@28.0.1(rollup@4.21.1)': dependencies: '@rollup/pluginutils': 5.1.0(rollup@4.21.1) commondir: 1.0.1 estree-walker: 2.0.2 - glob: 10.4.5 + fdir: 6.4.2(picomatch@4.0.2) is-reference: 1.2.1 magic-string: 0.30.11 + picomatch: 4.0.2 optionalDependencies: rollup: 4.21.1 @@ -15771,7 +15774,7 @@ snapshots: - supports-color - vue - '@tarojs/plugin-platform-alipay@3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1)': + '@tarojs/plugin-platform-alipay@3.6.22(@types/react@18.3.4)(postcss@8.4.41)': dependencies: '@tarojs/components': 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) '@tarojs/service': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) @@ -15783,7 +15786,6 @@ snapshots: - '@types/webpack' - '@types/webpack-dev-server' - postcss - - react - supports-color - vue @@ -15822,7 +15824,7 @@ snapshots: - supports-color - vue - '@tarojs/plugin-platform-qq@3.6.22(@types/react@18.3.4)(postcss@8.4.41)': + '@tarojs/plugin-platform-qq@3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1)': dependencies: '@tarojs/plugin-platform-weapp': 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) '@tarojs/service': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) @@ -15834,6 +15836,7 @@ snapshots: - '@types/webpack' - '@types/webpack-dev-server' - postcss + - react - supports-color - vue @@ -16013,9 +16016,9 @@ snapshots: dependencies: '@parcel/css': 1.14.0 '@tarojs/helper': 3.6.22 - '@tarojs/plugin-platform-alipay': 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) + '@tarojs/plugin-platform-alipay': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-jd': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) - '@tarojs/plugin-platform-qq': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) + '@tarojs/plugin-platform-qq': 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) '@tarojs/plugin-platform-swan': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-tt': 3.6.22(@types/react@18.3.4)(postcss@8.4.41) '@tarojs/plugin-platform-weapp': 3.6.22(@types/react@18.3.4)(postcss@8.4.41)(react@18.3.1) @@ -16660,7 +16663,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6))': + '@vitest/coverage-v8@2.0.5(vitest@2.0.5)': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -25796,12 +25799,12 @@ snapshots: stylus: 0.55.0 terser: 5.31.6 - vitest-canvas-mock@0.3.3(vitest@2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6)): + vitest-canvas-mock@0.3.3(vitest@2.0.5): dependencies: jest-canvas-mock: 2.5.2 vitest: 2.0.5(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6) - vitest@1.6.0(@types/node@18.19.60)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6): + vitest@1.6.0(@types/node@18.19.60)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -25838,7 +25841,7 @@ snapshots: - supports-color - terser - vitest@1.6.0(@types/node@20.16.1)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6): + vitest@1.6.0(@types/node@20.16.1)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.77.8)(stylus@0.55.0)(terser@5.31.6): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -25875,7 +25878,7 @@ snapshots: - supports-color - terser - vitest@1.6.0(@types/node@22.5.0)(@vitest/ui@2.0.5(vitest@2.0.5))(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6): + vitest@1.6.0(@types/node@22.5.0)(@vitest/ui@2.0.5)(happy-dom@14.12.3)(jsdom@21.1.2)(less@4.2.0)(lightningcss@1.26.0)(sass@1.50.0)(stylus@0.55.0)(terser@5.31.6): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0