diff options
Diffstat (limited to 'vendor/twbs/bootstrap/build')
-rw-r--r-- | vendor/twbs/bootstrap/build/.eslintrc.json | 3 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/build-plugins.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/change-version.js | 4 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/generate-sri.js | 6 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/rollup.config.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/vnu-jar.js | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/build/zip-examples.js | 2 |
7 files changed, 11 insertions, 10 deletions
diff --git a/vendor/twbs/bootstrap/build/.eslintrc.json b/vendor/twbs/bootstrap/build/.eslintrc.json index 679bd26f7..dec6323d0 100644 --- a/vendor/twbs/bootstrap/build/.eslintrc.json +++ b/vendor/twbs/bootstrap/build/.eslintrc.json @@ -9,6 +9,7 @@ "extends": "../.eslintrc.json", "rules": { "no-console": "off", - "strict": "error" + "strict": "error", + "unicorn/prefer-top-level-await": "off" } } diff --git a/vendor/twbs/bootstrap/build/build-plugins.js b/vendor/twbs/bootstrap/build/build-plugins.js index 4c68edcd1..a160209b0 100644 --- a/vendor/twbs/bootstrap/build/build-plugins.js +++ b/vendor/twbs/bootstrap/build/build-plugins.js @@ -9,7 +9,7 @@ 'use strict' -const path = require('path') +const path = require('node:path') const rollup = require('rollup') const globby = require('globby') const { babel } = require('@rollup/plugin-babel') diff --git a/vendor/twbs/bootstrap/build/change-version.js b/vendor/twbs/bootstrap/build/change-version.js index 6d85441a9..57c5fdec8 100644 --- a/vendor/twbs/bootstrap/build/change-version.js +++ b/vendor/twbs/bootstrap/build/change-version.js @@ -9,8 +9,8 @@ 'use strict' -const fs = require('fs').promises -const path = require('path') +const fs = require('node:fs').promises +const path = require('node:path') const globby = require('globby') const VERBOSE = process.argv.includes('--verbose') diff --git a/vendor/twbs/bootstrap/build/generate-sri.js b/vendor/twbs/bootstrap/build/generate-sri.js index cde818e09..ef1b39f97 100644 --- a/vendor/twbs/bootstrap/build/generate-sri.js +++ b/vendor/twbs/bootstrap/build/generate-sri.js @@ -12,9 +12,9 @@ 'use strict' -const crypto = require('crypto') -const fs = require('fs') -const path = require('path') +const crypto = require('node:crypto') +const fs = require('node:fs') +const path = require('node:path') const sh = require('shelljs') sh.config.fatal = true diff --git a/vendor/twbs/bootstrap/build/rollup.config.js b/vendor/twbs/bootstrap/build/rollup.config.js index 2d2920fd5..27f12ac03 100644 --- a/vendor/twbs/bootstrap/build/rollup.config.js +++ b/vendor/twbs/bootstrap/build/rollup.config.js @@ -1,6 +1,6 @@ 'use strict' -const path = require('path') +const path = require('node:path') const { babel } = require('@rollup/plugin-babel') const { nodeResolve } = require('@rollup/plugin-node-resolve') const replace = require('@rollup/plugin-replace') diff --git a/vendor/twbs/bootstrap/build/vnu-jar.js b/vendor/twbs/bootstrap/build/vnu-jar.js index df4192e24..f29eeb722 100644 --- a/vendor/twbs/bootstrap/build/vnu-jar.js +++ b/vendor/twbs/bootstrap/build/vnu-jar.js @@ -9,7 +9,7 @@ 'use strict' -const { execFile, spawn } = require('child_process') +const { execFile, spawn } = require('node:child_process') const vnu = require('vnu-jar') execFile('java', ['-version'], (error, stdout, stderr) => { diff --git a/vendor/twbs/bootstrap/build/zip-examples.js b/vendor/twbs/bootstrap/build/zip-examples.js index 759dd817d..077901e47 100644 --- a/vendor/twbs/bootstrap/build/zip-examples.js +++ b/vendor/twbs/bootstrap/build/zip-examples.js @@ -9,7 +9,7 @@ 'use strict' -const path = require('path') +const path = require('node:path') const sh = require('shelljs') const pkg = require('../package.json') |