File tree 9 files changed +13
-13
lines changed
9 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const keptPaths = [
49
49
50
50
const nodeArgs = [ ]
51
51
52
- if ( SemVer . satisfies ( process . version , ">=10.5.0 " ) ) {
52
+ if ( SemVer . satisfies ( process . version , ">=10.5" ) ) {
53
53
nodeArgs . push ( "--experimental-worker" )
54
54
}
55
55
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ function init() {
256
256
utilSatisfies
257
257
} = shared . module
258
258
259
- return utilSatisfies ( safeProcess . version , ">=9.2.0 " )
259
+ return utilSatisfies ( safeProcess . version , ">=9.2" )
260
260
} )
261
261
262
262
setDeferred ( support , "replShowProxy" , ( ) => {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const path3 = require("path")
31
31
const process3 = require ( "process" )
32
32
const regexp3 = require ( "../../fixture/cjs/export/regexp.js" )
33
33
34
- const canTestHasInstance = SemVer . satisfies ( process . version , ">=6.5.0 " )
34
+ const canTestHasInstance = SemVer . satisfies ( process . version , ">=6.5" )
35
35
36
36
function funcToString ( func ) {
37
37
return Function . prototype . toString . call ( func )
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ import reExport from "../fixture/export/default/re-export.mjs"
23
23
import { reExportNamed } from "../fixture/export/default/re-export-named.mjs"
24
24
import undefinedValue from "../fixture/export/default/undefined.mjs"
25
25
26
- const canGenerateNamesFromVars = SemVer . satisfies ( process . version , ">=6.5.0 " )
27
- const canTestAsyncFunctions = SemVer . satisfies ( process . version , ">=7.6.0 " )
26
+ const canGenerateNamesFromVars = SemVer . satisfies ( process . version , ">=6.5" )
27
+ const canTestAsyncFunctions = SemVer . satisfies ( process . version , ">=7.6" )
28
28
const canTestAsyncGenerators = SemVer . satisfies ( process . version , ">=10" )
29
29
30
30
export default ( ) => {
Original file line number Diff line number Diff line change 1
1
import SemVer from "semver"
2
2
3
- const canTestLiveBinding = SemVer . satisfies ( process . version , ">=6.2.0 " )
3
+ const canTestLiveBinding = SemVer . satisfies ( process . version , ">=6.2" )
4
4
5
5
describe ( "import declaration tests" , ( ) => {
6
6
it ( "should support same symbol as different locals" , ( ) =>
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import trash from "../script/trash.js"
8
8
9
9
const isWin = process . platform === "win32"
10
10
11
- const canUseExperimentalModules = SemVer . satisfies ( process . version , ">=8.5.0 " )
12
- const canUsePreserveSymlinks = SemVer . satisfies ( process . version , ">=6.3.0 " )
11
+ const canUseExperimentalModules = SemVer . satisfies ( process . version , ">=8.5" )
12
+ const canUsePreserveSymlinks = SemVer . satisfies ( process . version , ">=6.3" )
13
13
14
14
const fileProtocol = "file://" + ( isWin ? "/" : "" )
15
15
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ const ESM_OPTIONS = JSON6.parse(process.env.ESM_OPTIONS || "{}")
20
20
const isDebug = ! ! ESM_OPTIONS . debug
21
21
const isWin = process . platform === "win32"
22
22
23
- const canTestDuplexInstance = SemVer . satisfies ( process . version , ">=6.8.0 " )
24
- const canTestHasInstance = SemVer . satisfies ( process . version , ">=6.5.0 " )
23
+ const canTestDuplexInstance = SemVer . satisfies ( process . version , ">=6.8" )
24
+ const canTestHasInstance = SemVer . satisfies ( process . version , ">=6.5" )
25
25
const canTestUtilTypes = Reflect . has ( util , "types" )
26
- const canTestWorker = SemVer . satisfies ( process . version , ">=10.5.0 " )
26
+ const canTestWorker = SemVer . satisfies ( process . version , ">=10.5" )
27
27
28
28
const fileProtocol = "file://" + ( isWin ? "/" : "" )
29
29
const slashRegExp = / [ \\ / ] / g
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import trash from "../script/trash.js"
9
9
const isTravis = Reflect . has ( process . env , "TRAVIS" )
10
10
const isWin = process . platform === "win32"
11
11
12
- const canTestLab = SemVer . satisfies ( process . version , ">=7.6.0 " )
12
+ const canTestLab = SemVer . satisfies ( process . version , ">=7.6" )
13
13
const canTestPM2 = ! isTravis
14
14
15
15
const avaPath = path . resolve ( "../node_modules/ava/cli.js" )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import test262Parser from "test262-parser"
9
9
10
10
const canRunTest262 =
11
11
process . execArgv . includes ( "--harmony" ) &&
12
- SemVer . satisfies ( process . version , ">=10.3.0 " )
12
+ SemVer . satisfies ( process . version , ">=10.3" )
13
13
14
14
const fixturePath = path . resolve ( "test262" )
15
15
const skiplistPath = path . resolve ( fixturePath , "skiplist" )
You can’t perform that action at this time.
0 commit comments