diff --git a/package.json b/package.json index 1a70414..84ba28d 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@emnapi/runtime": "^2.0.0-alpha.4", "@napi-rs/cli": "^3.8.6", "@napi-rs/wasm-runtime": "^1.2.3", - "@oxc-node/core": "^0.1.0", + "@oxc-node/core": "^1.0.0", "ava": "^8.0.1", "chalk": "^6.0.0", "emnapi": "^2.0.0-alpha.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 54d3f62..0a7ec13 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -179,8 +179,8 @@ importers: specifier: ^1.2.3 version: 1.2.3(@emnapi/core@2.0.0-alpha.4)(@emnapi/runtime@2.0.0-alpha.4) '@oxc-node/core': - specifier: ^0.1.0 - version: 0.1.0 + specifier: ^1.0.0 + version: 1.0.1 ava: specifier: ^8.0.1 version: 8.0.1 @@ -224,9 +224,6 @@ packages: '@emnapi/core@1.11.2': resolution: {integrity: sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==} - '@emnapi/core@1.9.1': - resolution: {integrity: sha512-mukuNALVsoix/w1BJwFzwXBN/dHeejQtuVzcDsfOEsdpCumXb/E9j8w11h5S54tT1xhifGfbbSm/ICrObRb3KA==} - '@emnapi/core@1.9.2': resolution: {integrity: sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==} @@ -236,18 +233,12 @@ packages: '@emnapi/runtime@1.11.2': resolution: {integrity: sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==} - '@emnapi/runtime@1.9.1': - resolution: {integrity: sha512-VYi5+ZVLhpgK4hQ0TAjiQiZ6ol0oe4mBx7mVv7IflsiEp0OWoVsp/+f9Vc1hOhE0TtkORVrI1GvzyreqpgWtkA==} - '@emnapi/runtime@1.9.2': resolution: {integrity: sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==} '@emnapi/runtime@2.0.0-alpha.4': resolution: {integrity: sha512-Wy1TQ99obRP3Ah7cf/OOtK1zD9t3pYTWz+G/SpAwTFMhG5hoMdlvfzBpYoHUigS/izu3q+VhYMKhJd7Ii/trpg==} - '@emnapi/wasi-threads@1.2.0': - resolution: {integrity: sha512-N10dEJNSsUx41Z6pZsXU8FjPjpBEplgH24sfkmITrBED1/U2Esum9F3lfLrMjKHHjmi557zQn7kR9R+XWXu5Rg==} - '@emnapi/wasi-threads@1.2.1': resolution: {integrity: sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==} @@ -830,99 +821,94 @@ packages: '@octokit/types@17.0.0': resolution: {integrity: sha512-ByP1v7YL5SMveFPP7+sj0/ZuWCOOg/Chs4NafOMpq6WNIM/hdGY0S7C0TCGDBWu1aGmOxmUIhMx3cO+IdwYZ1Q==} - '@oxc-node/core-android-arm-eabi@0.1.0': - resolution: {integrity: sha512-+ycNqMBKBz3EWpQKm7HgUMRLGKfFZsZ/JxN9ctx12CwGy0PTtjX3TB+1WEbiJrgWiZM0axBjuwe4MEqS6j1kgQ==} + '@oxc-node/core-android-arm-eabi@1.0.1': + resolution: {integrity: sha512-+P14d3shlQmsXbqUcfLGRUHL8OFDuAbfLxoJWU79JPw/PXh8iHtIlWql/qA1KJIhuFvyOU1+Vzo2cRXtZYZzZA==} cpu: [arm] os: [android] - '@oxc-node/core-android-arm64@0.1.0': - resolution: {integrity: sha512-sJZGDgQwlawrGnLPu1ueAoM/0sUKtCUZr0y4IljarPCVbVBHimcxKcyNlzucIjyQwwiptZourCbUNHONvm4i1g==} + '@oxc-node/core-android-arm64@1.0.1': + resolution: {integrity: sha512-qYyhMai0p3JixEVNa08sBGxH8AyVr4Gkw0U4NNkViXBwrjHVfPhhPPBw19FXQEa/JriUNVmoON9tkm7Iqp6/dA==} cpu: [arm64] os: [android] - '@oxc-node/core-darwin-arm64@0.1.0': - resolution: {integrity: sha512-6hsKxbYCzAg390Y/URpCCDPDM4HSHl+Cxodsh2lw6GjX68FDFgLbEwOU2ivXfnXEmJMEMLSjv/0tPTBzDPIJJg==} + '@oxc-node/core-darwin-arm64@1.0.1': + resolution: {integrity: sha512-miheAHWXtkfwLIp6DyN8g+oHmsV714Qj7YBGXzraIOh9NjC2snuTzlzH1ZZjLZKX1w+r/NpDrzm9tVEoATJ5FA==} cpu: [arm64] os: [darwin] - '@oxc-node/core-darwin-x64@0.1.0': - resolution: {integrity: sha512-VCygvTqrquI3u25B0D6LjO1GnAVMyuAXae4PxRwmEwNuWgWaErG3zHaaU6+hBlXysiyZWKhSXAoAAJmrwe17tA==} + '@oxc-node/core-darwin-x64@1.0.1': + resolution: {integrity: sha512-l0lvtkvoek5O+cgk9iXMez6EGFqa8BcEnx87k054sVI5dqBHWTw41Z2orRcMgZvTCKYNIJ7s05J0XR5iiv4N2A==} cpu: [x64] os: [darwin] - '@oxc-node/core-freebsd-x64@0.1.0': - resolution: {integrity: sha512-UQ0hCpwTOUpg1Oh/H/I0BRQmt8XCjCQArk3Cp0P1qc3/xcZ2IcTihxwIZAKLr/lkl+7Ya5rBn9zuY1fe28HaqA==} + '@oxc-node/core-freebsd-x64@1.0.1': + resolution: {integrity: sha512-J6rbw+0HWAruZiq2NiwryWEKPLFOENBiYKqlMQSRZ7w/YDOMEQZHFHFpjtz1n0C4NT8DVyVeGcvy5cscJOhNJQ==} cpu: [x64] os: [freebsd] - '@oxc-node/core-linux-arm-gnueabihf@0.1.0': - resolution: {integrity: sha512-Z+Il9u39MIhusioOQyRfZFMRY+e6QtePxRH44bUHXj7r+eTcHXTJyaDqqCr1HRvtPc9K/re1zH2hV9yEZtHUsg==} + '@oxc-node/core-linux-arm-gnueabihf@1.0.1': + resolution: {integrity: sha512-ESs4CsUSVgDxJqYnuDC50p7Za+k2lmrxO6hA5pjCASAT+jfpwiRB69KtsF1eEe4LXRrur59O0KqIYtMLIUlx0A==} cpu: [arm] os: [linux] - '@oxc-node/core-linux-arm64-gnu@0.1.0': - resolution: {integrity: sha512-nt2IT6MCZApyWsaEjky2znYZIII/BphuqD5mtnbGrFeF3dBpO6U2JiXHCQK/FZ/yrVLlCmcPgcOEL6yMYu8Tiw==} + '@oxc-node/core-linux-arm64-gnu@1.0.1': + resolution: {integrity: sha512-o0Cy0SvK+7jrK7zXBVxYAtklfGeMf5aNF+QmQ0+raZwFp+gbesccGQ3U6DSAtb3tbXImCsejJ2oknE3kFyY2bA==} cpu: [arm64] os: [linux] libc: [glibc] - '@oxc-node/core-linux-arm64-musl@0.1.0': - resolution: {integrity: sha512-0CYLp49qV4KIZmgckqiNcHiLROcb9J1sQSejIKJwbgcaoBLRw5olRCUE9cOi424jRxzXq50zsEv4ihheSA71pQ==} + '@oxc-node/core-linux-arm64-musl@1.0.1': + resolution: {integrity: sha512-kZjkChPpwb9X3COUE8w2X+UhTPCWLm+/5ddaGgOXn6lqYvV3eQRlSTN3bCF6Wnu3nwmPYKxjGqUf4zZNpWSufw==} cpu: [arm64] os: [linux] libc: [musl] - '@oxc-node/core-linux-ppc64-gnu@0.1.0': - resolution: {integrity: sha512-eRarcfNvV0NorkUx5oywdUlC+E35dQCwZzI9BRe6ePywyeCBGJw6D5NnMdPfhCI1olPTkpPdCHXjY/gcl8XH3Q==} + '@oxc-node/core-linux-ppc64-gnu@1.0.1': + resolution: {integrity: sha512-B0XP8quN6BWK4LDnWLY3tu8NaYKNUkcMTAwpSg2SIBI8jzKLLwn6DXAVkt1SI3V0SLsKMUVXNOMOrn6zKsYs6A==} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxc-node/core-linux-s390x-gnu@0.1.0': - resolution: {integrity: sha512-PZx57NdmM9jq5jWXV1uk/PfHuDbodQ71KIwkNtLqLTdgJZS69m9Xi9j0vo6yyMBGJMD+aYK79eO0KxPU/5TgSA==} + '@oxc-node/core-linux-s390x-gnu@1.0.1': + resolution: {integrity: sha512-G06PMgfaDV8VHCErygwHIwF8WmFNRaPVwwsbW2yyaQUP6CgjZHoqpxhagNDofcz4hCglwV0ZrJ0gVp1Qp1r5dQ==} cpu: [s390x] os: [linux] libc: [glibc] - '@oxc-node/core-linux-x64-gnu@0.1.0': - resolution: {integrity: sha512-N9lTK2chPpsXx0Ur6nUTW7OFE0d0wK4qpbb7WJAyJ48mU9bC22xuCi2yGDB748n16Yly3+mCJ+LiU7r3aBLZhA==} + '@oxc-node/core-linux-x64-gnu@1.0.1': + resolution: {integrity: sha512-kg8Ug1VCvgelsPBdA5iWH+qjtUCWtLX1F+zy9fk9Hg9AxJMUJ7HJxssxuS+d8nLe28GnQ6+1jnWhoP8zh+0rgw==} cpu: [x64] os: [linux] libc: [glibc] - '@oxc-node/core-linux-x64-musl@0.1.0': - resolution: {integrity: sha512-xs/ObZhHfN6AcAcjYQQkaeXBR1khm7ZlF6uOpmEhdAiG80P1aVw9ndEYz0LQHp2iVhPaRL9UfYuVKLqKah1TAA==} + '@oxc-node/core-linux-x64-musl@1.0.1': + resolution: {integrity: sha512-x2QE5k1t8AjHa7OGnQgM1wLEblcxcraqpUlWvH8VAI+fK1X0km/4ti+CBBZmtYXnS11Dy4GUHdKgdyXWjPCyEg==} cpu: [x64] os: [linux] libc: [musl] - '@oxc-node/core-openharmony-arm64@0.1.0': - resolution: {integrity: sha512-B7ixIkc5G7pIqZmWM8oqi/qDdcRdo//mTNM4ChFNU1oou2Hy/FlidAKppMLFVRc4ddRrp6uEvYrT1LgZnjzn6g==} + '@oxc-node/core-openharmony-arm64@1.0.1': + resolution: {integrity: sha512-/Cqh4axl3LcULk2eF4lWH0JS9cYecRAfNasRA6KL5lOyeqoKfbU32P7T1GvOxYSddLxdAwEKDj+6HzERRL9ELQ==} cpu: [arm64] os: [openharmony] - '@oxc-node/core-wasm32-wasi@0.1.0': - resolution: {integrity: sha512-W4jM3S4XRgtpCKDGNGitCCfinIlyRAKoiQHi1nM+Nul3+Xf2RZqFOgBzdHxT+CahrT8kDi+p7gDGQN3uziwM1A==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - - '@oxc-node/core-win32-arm64-msvc@0.1.0': - resolution: {integrity: sha512-3Qi2tdV+JSqK5Cfcpg3FX54zR78dBEFk+/usFXcF+bhMiBy8YmXGd+yDudl+wwEYf9Xz+Hqx74u8YCXrWDAUTg==} + '@oxc-node/core-win32-arm64-msvc@1.0.1': + resolution: {integrity: sha512-D04L8Q8P50eb8St1+6Ok4HqNg4aWsY3C2+o5gq3UFHp7zl3HT6nxVQdT1mEM1ueWqqhf2Mv0rrVcMkgXRJGUSA==} cpu: [arm64] os: [win32] - '@oxc-node/core-win32-ia32-msvc@0.1.0': - resolution: {integrity: sha512-j66qK1qu5FcmfmIYdv1bp7gIuOi1LCDhzFOu7UdWZyFrinZHh7gHnLHngpSibM/M2Zp/mVLLWD2Ojlsy+8VtNA==} + '@oxc-node/core-win32-ia32-msvc@1.0.1': + resolution: {integrity: sha512-DQV7jzQw/WQ7M53Gqv3Jhel5gYHoatO2Ex8yXzbIYfZgcr/2H0itNq/QoseaMpTi0nKn7pG5xPZz6/DhJEfLow==} cpu: [ia32] os: [win32] - '@oxc-node/core-win32-x64-msvc@0.1.0': - resolution: {integrity: sha512-S3qWlUQ7ZrOSLG1IwNiqQEovJU8MZ11Vc9k+NUzNTO20zFPEt9Jq1wFElusxJZBqBsd7AUXIq08n9dXC/ialbg==} + '@oxc-node/core-win32-x64-msvc@1.0.1': + resolution: {integrity: sha512-LYd6Qs1wfnSGj6Ma3xfYlVew0DhO+jIB/OCqhKymhcko5YPNmrn/sjWCikbrfx1qmF/gkx+Nfq70FF29WAfi/Q==} cpu: [x64] os: [win32] - '@oxc-node/core@0.1.0': - resolution: {integrity: sha512-Spk/ey3zg1CpBU1eUHBPbAbfFddntutZPPsweh+kNh9M9Ksc8j9OCujralW9HrVyi6nNWek1PnMfSZ7NPLLCKA==} + '@oxc-node/core@1.0.1': + resolution: {integrity: sha512-CcUa/itqt0StKfxHyZfLXipaw3bYnWR8t/ypBZOOFYgY1q/CsXJaOlera2pixgZNd/k2bK5MFjcD03rm5Y4Vug==} '@oxfmt/binding-android-arm-eabi@0.74.0': resolution: {integrity: sha512-xxQwrf5EPI5zxvuCTW8r6tzCTjPQ+h6+HqJ0iRKRy2zS1yBllt/xLVjoIyUc+FnR7g0a5g1SZv2yyDYhTItLbA==} @@ -2059,12 +2045,6 @@ snapshots: tslib: 2.8.1 optional: true - '@emnapi/core@1.9.1': - dependencies: - '@emnapi/wasi-threads': 1.2.0 - tslib: 2.8.1 - optional: true - '@emnapi/core@1.9.2': dependencies: '@emnapi/wasi-threads': 1.2.1 @@ -2081,11 +2061,6 @@ snapshots: tslib: 2.8.1 optional: true - '@emnapi/runtime@1.9.1': - dependencies: - tslib: 2.8.1 - optional: true - '@emnapi/runtime@1.9.2': dependencies: tslib: 2.8.1 @@ -2095,11 +2070,6 @@ snapshots: dependencies: tslib: 2.8.1 - '@emnapi/wasi-threads@1.2.0': - dependencies: - tslib: 2.8.1 - optional: true - '@emnapi/wasi-threads@1.2.1': dependencies: tslib: 2.8.1 @@ -2415,13 +2385,6 @@ snapshots: '@tybys/wasm-util': 0.10.3 optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1)': - dependencies: - '@emnapi/core': 1.9.1 - '@emnapi/runtime': 1.9.1 - '@tybys/wasm-util': 0.10.3 - optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)': dependencies: '@emnapi/core': 1.9.2 @@ -2575,82 +2538,74 @@ snapshots: dependencies: '@octokit/openapi-types': 28.0.0 - '@oxc-node/core-android-arm-eabi@0.1.0': + '@oxc-node/core-android-arm-eabi@1.0.1': optional: true - '@oxc-node/core-android-arm64@0.1.0': + '@oxc-node/core-android-arm64@1.0.1': optional: true - '@oxc-node/core-darwin-arm64@0.1.0': + '@oxc-node/core-darwin-arm64@1.0.1': optional: true - '@oxc-node/core-darwin-x64@0.1.0': + '@oxc-node/core-darwin-x64@1.0.1': optional: true - '@oxc-node/core-freebsd-x64@0.1.0': + '@oxc-node/core-freebsd-x64@1.0.1': optional: true - '@oxc-node/core-linux-arm-gnueabihf@0.1.0': + '@oxc-node/core-linux-arm-gnueabihf@1.0.1': optional: true - '@oxc-node/core-linux-arm64-gnu@0.1.0': + '@oxc-node/core-linux-arm64-gnu@1.0.1': optional: true - '@oxc-node/core-linux-arm64-musl@0.1.0': + '@oxc-node/core-linux-arm64-musl@1.0.1': optional: true - '@oxc-node/core-linux-ppc64-gnu@0.1.0': + '@oxc-node/core-linux-ppc64-gnu@1.0.1': optional: true - '@oxc-node/core-linux-s390x-gnu@0.1.0': + '@oxc-node/core-linux-s390x-gnu@1.0.1': optional: true - '@oxc-node/core-linux-x64-gnu@0.1.0': + '@oxc-node/core-linux-x64-gnu@1.0.1': optional: true - '@oxc-node/core-linux-x64-musl@0.1.0': + '@oxc-node/core-linux-x64-musl@1.0.1': optional: true - '@oxc-node/core-openharmony-arm64@0.1.0': - optional: true - - '@oxc-node/core-wasm32-wasi@0.1.0': - dependencies: - '@emnapi/core': 1.9.1 - '@emnapi/runtime': 1.9.1 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) + '@oxc-node/core-openharmony-arm64@1.0.1': optional: true - '@oxc-node/core-win32-arm64-msvc@0.1.0': + '@oxc-node/core-win32-arm64-msvc@1.0.1': optional: true - '@oxc-node/core-win32-ia32-msvc@0.1.0': + '@oxc-node/core-win32-ia32-msvc@1.0.1': optional: true - '@oxc-node/core-win32-x64-msvc@0.1.0': + '@oxc-node/core-win32-x64-msvc@1.0.1': optional: true - '@oxc-node/core@0.1.0': + '@oxc-node/core@1.0.1': dependencies: pirates: 4.0.7 optionalDependencies: - '@oxc-node/core-android-arm-eabi': 0.1.0 - '@oxc-node/core-android-arm64': 0.1.0 - '@oxc-node/core-darwin-arm64': 0.1.0 - '@oxc-node/core-darwin-x64': 0.1.0 - '@oxc-node/core-freebsd-x64': 0.1.0 - '@oxc-node/core-linux-arm-gnueabihf': 0.1.0 - '@oxc-node/core-linux-arm64-gnu': 0.1.0 - '@oxc-node/core-linux-arm64-musl': 0.1.0 - '@oxc-node/core-linux-ppc64-gnu': 0.1.0 - '@oxc-node/core-linux-s390x-gnu': 0.1.0 - '@oxc-node/core-linux-x64-gnu': 0.1.0 - '@oxc-node/core-linux-x64-musl': 0.1.0 - '@oxc-node/core-openharmony-arm64': 0.1.0 - '@oxc-node/core-wasm32-wasi': 0.1.0 - '@oxc-node/core-win32-arm64-msvc': 0.1.0 - '@oxc-node/core-win32-ia32-msvc': 0.1.0 - '@oxc-node/core-win32-x64-msvc': 0.1.0 + '@oxc-node/core-android-arm-eabi': 1.0.1 + '@oxc-node/core-android-arm64': 1.0.1 + '@oxc-node/core-darwin-arm64': 1.0.1 + '@oxc-node/core-darwin-x64': 1.0.1 + '@oxc-node/core-freebsd-x64': 1.0.1 + '@oxc-node/core-linux-arm-gnueabihf': 1.0.1 + '@oxc-node/core-linux-arm64-gnu': 1.0.1 + '@oxc-node/core-linux-arm64-musl': 1.0.1 + '@oxc-node/core-linux-ppc64-gnu': 1.0.1 + '@oxc-node/core-linux-s390x-gnu': 1.0.1 + '@oxc-node/core-linux-x64-gnu': 1.0.1 + '@oxc-node/core-linux-x64-musl': 1.0.1 + '@oxc-node/core-openharmony-arm64': 1.0.1 + '@oxc-node/core-win32-arm64-msvc': 1.0.1 + '@oxc-node/core-win32-ia32-msvc': 1.0.1 + '@oxc-node/core-win32-x64-msvc': 1.0.1 '@oxfmt/binding-android-arm-eabi@0.74.0': optional: true