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, 10 insertions, 11 deletions
diff --git a/vendor/twbs/bootstrap/build/.eslintrc.json b/vendor/twbs/bootstrap/build/.eslintrc.json index dec6323d0..679bd26f7 100644 --- a/vendor/twbs/bootstrap/build/.eslintrc.json +++ b/vendor/twbs/bootstrap/build/.eslintrc.json @@ -9,7 +9,6 @@ "extends": "../.eslintrc.json", "rules": { "no-console": "off", - "strict": "error", - "unicorn/prefer-top-level-await": "off" + "strict": "error" } } diff --git a/vendor/twbs/bootstrap/build/build-plugins.js b/vendor/twbs/bootstrap/build/build-plugins.js index a160209b0..4c68edcd1 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('node:path') +const path = require('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 57c5fdec8..6d85441a9 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('node:fs').promises -const path = require('node:path') +const fs = require('fs').promises +const path = require('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 ef1b39f97..cde818e09 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('node:crypto') -const fs = require('node:fs') -const path = require('node:path') +const crypto = require('crypto') +const fs = require('fs') +const path = require('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 27f12ac03..2d2920fd5 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('node:path') +const path = require('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 f29eeb722..df4192e24 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('node:child_process') +const { execFile, spawn } = require('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 077901e47..759dd817d 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('node:path') +const path = require('path') const sh = require('shelljs') const pkg = require('../package.json') |