Skip to content

repro: superstruct@2.0.0 causes errors for repos with moduleResolution set to Node{16,Next} #11239

repro: superstruct@2.0.0 causes errors for repos with moduleResolution set to Node{16,Next}

repro: superstruct@2.0.0 causes errors for repos with moduleResolution set to Node{16,Next} #11239

Triggered via pull request July 27, 2024 18:11
Status Failure
Total duration 6m 54s
Artifacts

main.yml

on: pull_request
Check workflows
7s
Check workflows
Matrix: Lint, build, and test / Prepare
Matrix: Lint, build, and test / Build
Matrix: Lint, build, and test / Lint
Matrix: Lint, build, and test / Test
Matrix: Lint, build, and test / Validate changelog
All jobs complete
0s
All jobs complete
Determine whether this is a release merge commit
0s
Determine whether this is a release merge commit
All jobs pass
0s
All jobs pass
Publish release  /  publish-release
Publish release / publish-release
Publish release  /  publish-npm-dry-run
Publish release / publish-npm-dry-run
Publish release  /  publish-npm
Publish release / publish-npm
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 1 warning
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'ObjectSchema' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'Simplify' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
'"@metamask/superstruct"' has no exported member named 'Optionalize'. Did you mean 'optional'?
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'ObjectSchema' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'Simplify' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
'"@metamask/superstruct"' has no exported member named 'Optionalize'. Did you mean 'optional'?
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'ObjectSchema' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
Module '"@metamask/superstruct"' declares 'Simplify' locally, but it is not exported.
Lint, build, and test / Build (20.x): node_modules/@metamask/utils/dist/json.d.cts#L2
'"@metamask/superstruct"' has no exported member named 'Optionalize'. Did you mean 'optional'?
Lint, build, and test / Build (20.x)
Process completed with exit code 1.
Lint, build, and test / Validate changelog (20.x, @metamask/polling-controller)
unable to access 'https://github.com/MetaMask/core/': Failed to connect to github.com port 443 after 134330 ms: Connection timed out
Lint, build, and test / Validate changelog (20.x, @metamask/polling-controller)
unable to access 'https://github.com/MetaMask/core/': Failed to connect to github.com port 443 after 133440 ms: Connection timed out
All jobs pass
Process completed with exit code 1.
Check workflows
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/