Lines Matching refs:versionCheck
5 const { versionCheck } = require('internal/v8_prof_polyfill');
7 assert.strictEqual(versionCheck('v8-version,1,2,3,4,0', '1.2.3'), undefined);
8 assert.strictEqual(versionCheck('v8-version,1,2,3,4,0', '1.2.3.3'), undefined);
9 assert.strictEqual(versionCheck('v8-version,1,2,3,4,0', '1.2.3.4'), undefined);
10 assert.strictEqual(versionCheck('v8-version,1,2,3,4,0', '1.2.3.5'), undefined);
11 assert.strictEqual(versionCheck('v8-version,1,2,3,4,-node.1,0', '1.2.3'),
13 assert.strictEqual(versionCheck('v8-version,1,2,3,4,-node.1,0', '1.2.3.4'),
15 assert.strictEqual(versionCheck('v8-version,1,2,3,4,-node.1,0', '1.2.3-node.1'),
17 assert.strictEqual(versionCheck('v8-version,1,2,3,4,-node.1,0', '1.2.3-node.2'),
20 versionCheck('v8-version,1,2,3,4,-node.1,0', '1.2.3.4-node.2'),
25 assert.strictEqual(versionCheck('faux', '1.2.3'), expected);
26 assert.strictEqual(versionCheck('v8-version', '1.2.3'), expected);
27 assert.strictEqual(versionCheck('v8-version,1', '1.2.3'), expected);
28 assert.strictEqual(versionCheck('v8-version,1,2', '1.2.3'), expected);
29 assert.strictEqual(versionCheck('v8-version,1,2,3', '1.2.3'), expected);
30 assert.strictEqual(versionCheck('v8-version,1,2,3,4', '1.2.3'), expected);
31 assert.strictEqual(versionCheck('v8-version,1,2,3,4,5,6,7', '1.2.3'),
37 assert.strictEqual(versionCheck('v8-version,4,3,2,1,0', '1.2.3'), expected);
38 assert.strictEqual(versionCheck('v8-version,4,3,2,1,0', '1.2.3.4'), expected);
39 assert.strictEqual(versionCheck('v8-version,4,3,2,1,0', '4.3.1.1'), expected);
40 assert.strictEqual(versionCheck('v8-version,4,3,2,1,0', '4.3.3.1'), expected);