diff --git a/packages/core/package.json b/packages/core/package.json index 64f6efb03f..000ba54b0e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -109,7 +109,7 @@ "postcss": "^8.5.6" }, "devDependencies": { - "@ast-grep/napi": "^0.40.4", + "@ast-grep/napi": "^0.42.1", "@babel/generator": "^7.28.5", "@babel/parser": "^7.28.5", "@babel/types": "^7.28.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 55adc2cdea..ec657a9c4d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -493,8 +493,8 @@ importers: version: 2.8.2 devDependencies: '@ast-grep/napi': - specifier: ^0.40.4 - version: 0.40.4 + specifier: ^0.42.1 + version: 0.42.1 '@babel/generator': specifier: ^7.28.5 version: 7.29.0 @@ -1449,66 +1449,66 @@ packages: '@asamuzakjp/nwsapi@2.3.9': resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==} - '@ast-grep/napi-darwin-arm64@0.40.4': - resolution: {integrity: sha512-UIkpoEExRghZe5wN6QXGkDzI65zKVoaBQowAzmEd3MCGP8VlAK3FoxDMdy0OLgQVTyRUdBUwG384WpxiWilYEw==} + '@ast-grep/napi-darwin-arm64@0.42.1': + resolution: {integrity: sha512-VtO4DX20ODCfRBwv1I71lZx+qlrhlMbt9Rpo3LozoaUpHnLmyFMBSgpUal5KTd1SCKUK8ekJGgxpKWo27H4AVQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@ast-grep/napi-darwin-x64@0.40.4': - resolution: {integrity: sha512-derMkDWiMFjRlcN0SEHXNPeZ67OGR5So6b4r/+ETvZMZavLQv+ER0vevltFS4ci8m402g7l/wVOdSE1oHcN2Iw==} + '@ast-grep/napi-darwin-x64@0.42.1': + resolution: {integrity: sha512-V2uaKP6QZLb60iFHK0IiXAcwSoUliiDJ3c1zLLzHnBFyCbTKC4b3L3XtkiyKsnpET+uzY7hQLpTIAhW5aOCX4w==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@ast-grep/napi-linux-arm64-gnu@0.40.4': - resolution: {integrity: sha512-1CeDsK6WRMz169mTXLfXdn2GkQAsMkYbqGd7mHDa2VqutJwDYrqe6t4QiFAlr+LRT2bQuExpPh3AiC8BNd6UQQ==} + '@ast-grep/napi-linux-arm64-gnu@0.42.1': + resolution: {integrity: sha512-wmt59yzvcZT4Z5XpxB1B1FoFrc32l0vmy2G7yrY2lG9qP2M157mWdp1T50h2XoYrotyRhCyLDXP70SiTZHZkaQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] libc: [glibc] - '@ast-grep/napi-linux-arm64-musl@0.40.4': - resolution: {integrity: sha512-VqjL9Xbq5NNXexY4rluaFtpuHHGbcNIwFXInbm8hdaZS3Rsr9tz+QCEhDNO4IJgPtcRUOpa7AIztZotwxrb/iw==} + '@ast-grep/napi-linux-arm64-musl@0.42.1': + resolution: {integrity: sha512-cnU+H0drvdkApQDJEcBsYGlPq2gk3l2Xxq0y8EmcxAXYXDNkz+Gc2vfvyM7ib2jD9Y51+cQIsb0RFzA2g9VnZQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] libc: [musl] - '@ast-grep/napi-linux-x64-gnu@0.40.4': - resolution: {integrity: sha512-6BrPYjP+Gr+mkI3z3Xh/UHkOedJ25qKGdhRwbYteeK/QX3rWeuuo/tUjow4nh/8ewhk04wHGw/G96OiF47ICjA==} + '@ast-grep/napi-linux-x64-gnu@0.42.1': + resolution: {integrity: sha512-gY+PtqbFtFlR8rCL9F6GEPuymqLhh2eG/e8Ly01Z/S5x3e357nNaF69xAvNRpYi/HnEUZ5cE1MzshDCjubqE1A==} engines: {node: '>= 10'} cpu: [x64] os: [linux] libc: [glibc] - '@ast-grep/napi-linux-x64-musl@0.40.4': - resolution: {integrity: sha512-4LGq6xYmOsgEycx4Cu9CdyNYa99O/C1bOsZi09T0C/NifKR+55v8og6nZrGCwsKEs4jWresdal4p7WXw3k8+0g==} + '@ast-grep/napi-linux-x64-musl@0.42.1': + resolution: {integrity: sha512-yDTlIgFOzglpzs3Ua9w43uVeEW4csf80F5/n2FqCK5pip4Iyfu21Q+M8iC9AmTRl/OGHVI48ieuPwOD9i1i6hA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] libc: [musl] - '@ast-grep/napi-win32-arm64-msvc@0.40.4': - resolution: {integrity: sha512-QrI9m9wmFYTRnyTsYOX+9/D/B+h0eyFqZf2qh/U3kbRU/ZZJnxI75YjYVjtoa2QI4oEJlzYb0QhKAN8NKIDYRA==} + '@ast-grep/napi-win32-arm64-msvc@0.42.1': + resolution: {integrity: sha512-6WQhKEfZmtfMSIOzluMoBaQhNqfRKXzj5y2YA2U0Y3x7HxNAZBO067y8xlSMddKFN/FtCwft8GFktFxqSYWl1w==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@ast-grep/napi-win32-ia32-msvc@0.40.4': - resolution: {integrity: sha512-JLhcgCUD7e74rZ39XLEfUOU26TQboJltzHir2oSpvjZPtq4aBHEJOynq7dGABZdMrzRUOPdbBdM+nFzPiU38iQ==} + '@ast-grep/napi-win32-ia32-msvc@0.42.1': + resolution: {integrity: sha512-ET2vRrsHo0e4JJbCrejzDcDPsfTmRaYK9VIpq1MqXXAUvLoiMly+cQYZ64MWdXTlgITKMXCYxhCbFPTn/9XZaQ==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] - '@ast-grep/napi-win32-x64-msvc@0.40.4': - resolution: {integrity: sha512-DdsqVs/kg4Iun8GU8GoOw9L9WkT2pVLAZ+1hV9t+PsdI6SR3HGRIUIJSzKz2uejr8tY8evTZmdjBWyjUav8qbQ==} + '@ast-grep/napi-win32-x64-msvc@0.42.1': + resolution: {integrity: sha512-NAeA2Q6jp7F9uXtSuG12c1xjTzipXFCTvuAcEBnsTwBXq0kdPV6H6Y4GZJVcDhsHk3TX4sGlQGkuV/6FT2Ngig==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@ast-grep/napi@0.40.4': - resolution: {integrity: sha512-unRhSrSn4X0tf7nCuj300rBrlrXqtGbKanFX75CNmn2NM+NyPrdvq1tdDk2F+XA8Z574MynpSeCESii3WBK+bw==} + '@ast-grep/napi@0.42.1': + resolution: {integrity: sha512-+YEv9ElJi9azr8AYII79NxYXQRJsrUy1kUqZfxZfvPM7rhs3174mzB+qEE9Pl3sVKAJS5cevyT4lgLNV0AZK6A==} engines: {node: '>= 10'} '@babel/code-frame@7.29.0': @@ -9549,44 +9549,44 @@ snapshots: '@asamuzakjp/nwsapi@2.3.9': {} - '@ast-grep/napi-darwin-arm64@0.40.4': + '@ast-grep/napi-darwin-arm64@0.42.1': optional: true - '@ast-grep/napi-darwin-x64@0.40.4': + '@ast-grep/napi-darwin-x64@0.42.1': optional: true - '@ast-grep/napi-linux-arm64-gnu@0.40.4': + '@ast-grep/napi-linux-arm64-gnu@0.42.1': optional: true - '@ast-grep/napi-linux-arm64-musl@0.40.4': + '@ast-grep/napi-linux-arm64-musl@0.42.1': optional: true - '@ast-grep/napi-linux-x64-gnu@0.40.4': + '@ast-grep/napi-linux-x64-gnu@0.42.1': optional: true - '@ast-grep/napi-linux-x64-musl@0.40.4': + '@ast-grep/napi-linux-x64-musl@0.42.1': optional: true - '@ast-grep/napi-win32-arm64-msvc@0.40.4': + '@ast-grep/napi-win32-arm64-msvc@0.42.1': optional: true - '@ast-grep/napi-win32-ia32-msvc@0.40.4': + '@ast-grep/napi-win32-ia32-msvc@0.42.1': optional: true - '@ast-grep/napi-win32-x64-msvc@0.40.4': + '@ast-grep/napi-win32-x64-msvc@0.42.1': optional: true - '@ast-grep/napi@0.40.4': + '@ast-grep/napi@0.42.1': optionalDependencies: - '@ast-grep/napi-darwin-arm64': 0.40.4 - '@ast-grep/napi-darwin-x64': 0.40.4 - '@ast-grep/napi-linux-arm64-gnu': 0.40.4 - '@ast-grep/napi-linux-arm64-musl': 0.40.4 - '@ast-grep/napi-linux-x64-gnu': 0.40.4 - '@ast-grep/napi-linux-x64-musl': 0.40.4 - '@ast-grep/napi-win32-arm64-msvc': 0.40.4 - '@ast-grep/napi-win32-ia32-msvc': 0.40.4 - '@ast-grep/napi-win32-x64-msvc': 0.40.4 + '@ast-grep/napi-darwin-arm64': 0.42.1 + '@ast-grep/napi-darwin-x64': 0.42.1 + '@ast-grep/napi-linux-arm64-gnu': 0.42.1 + '@ast-grep/napi-linux-arm64-musl': 0.42.1 + '@ast-grep/napi-linux-x64-gnu': 0.42.1 + '@ast-grep/napi-linux-x64-musl': 0.42.1 + '@ast-grep/napi-win32-arm64-msvc': 0.42.1 + '@ast-grep/napi-win32-ia32-msvc': 0.42.1 + '@ast-grep/napi-win32-x64-msvc': 0.42.1 '@babel/code-frame@7.29.0': dependencies: