Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adds node: specifier to all native node modules #7559

Merged
merged 13 commits into from
May 28, 2024
Prev Previous commit
Next Next commit
libnpmpublish
  • Loading branch information
reggi committed May 24, 2024
commit aa3bd31d469823c4095e6ecc3a7d7dbd230e1901
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/lib/provenance.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const sigstore = require('sigstore')
const { readFile } = require('fs/promises')
const { readFile } = require('node:fs/promises')
const ci = require('ci-info')
const { env } = process

Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/lib/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const npmFetch = require('npm-registry-fetch')
const npa = require('npm-package-arg')
const { log } = require('proc-log')
const semver = require('semver')
const { URL } = require('url')
const { URL } = require('node:url')
const ssri = require('ssri')
const ciInfo = require('ci-info')

Expand Down
2 changes: 1 addition & 1 deletion workspaces/libnpmpublish/lib/unpublish.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const { URL } = require('url')
const { URL } = require('node:url')
const npa = require('npm-package-arg')
const npmFetch = require('npm-registry-fetch')
const semver = require('semver')
Expand Down
4 changes: 2 additions & 2 deletions workspaces/libnpmpublish/test/publish.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const crypto = require('crypto')
const fs = require('fs')
const crypto = require('node:crypto')
const fs = require('node:fs')
const npa = require('npm-package-arg')
const ssri = require('ssri')
const t = require('tap')
Expand Down