@pipcook/boa
Advanced tools
Comparing version 1.1.3-c10cae1-beta.0 to 1.1.3-cbcb78b-beta.0
{ | ||
"name": "@pipcook/boa", | ||
"version": "1.1.3-c10cae1-beta.0", | ||
"version": "1.1.3-cbcb78b-beta.0", | ||
"description": "Use Python modules seamlessly in Node.js", | ||
@@ -10,3 +10,3 @@ "main": "lib/index.js", | ||
"postinstall": "npm run build", | ||
"test": "tap --no-cov ./tests/**/*.js", | ||
"test": "tape ./tests/**/*.js", | ||
"lint": "eslint . -c .eslintrc.js --no-eslintrc && ./clang-format.py", | ||
@@ -46,3 +46,3 @@ "build": "npm run compile", | ||
"nyc": "^14.1.1", | ||
"tap": "^14.10.5" | ||
"tape": "^5.0.1" | ||
}, | ||
@@ -52,3 +52,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "ae36a4f4e7493803b3ee6a02441970f9148cd8d4" | ||
"gitHead": "dda7ff08195dadfdd8beb1b270d174533ae2a0e5" | ||
} |
@@ -1,2 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -62,3 +62,3 @@ const builtins = boa.builtins(); | ||
}); | ||
// fn2(fn1(input)) | ||
// fn2(fn1(input)); | ||
t.equal(v, 400); | ||
@@ -65,0 +65,0 @@ t.end(); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const { range, enumerate } = boa.builtins(); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const callee = require('../../lib/delegators/callee'); | ||
@@ -5,0 +3,0 @@ |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const utils = require('../../lib/utils'); | ||
@@ -5,0 +3,0 @@ |
@@ -6,3 +6,3 @@ /* eslint-disable no-process-exit */ | ||
const path = require('path'); | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const { spawnSync } = require('child_process'); | ||
@@ -17,16 +17,9 @@ | ||
const [major, minor, patch] = process.version.replace('v', '').split('.'); | ||
if (major <= '12' && minor <= '11' && patch <= '1') { | ||
const [major] = process.version.replace('v', '').split('.'); | ||
if (major <= '12') { | ||
// See https://github.com/nodejs/node/pull/29796 | ||
console.log(`1..0 # Skipped: Current nodejs version: ${ | ||
process.version} does not support \`--experimental-loader\`.`); | ||
process.exit(0); | ||
return; | ||
} | ||
if (major >= '14' && minor >= '5') { | ||
// https://github.com/nodejs/node/pull/33501 | ||
// TODO(yorkie): compatible with the new esm hooks. | ||
console.log(`1..0 # Skipped: Current nodejs version ${ | ||
process.version} does not support dynamic module type.`); | ||
process.exit(0); | ||
} | ||
@@ -33,0 +26,0 @@ function check(t, appPath) { |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const np = boa.import('numpy'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const builtins = boa.builtins(); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const path = require('path'); | ||
@@ -5,0 +3,0 @@ const boa = require('../../'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const { version_info } = boa.import('sys'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const path = require('path'); | ||
@@ -5,0 +3,0 @@ const boa = require('../../'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const sys = boa.import('sys'); |
@@ -1,4 +0,2 @@ | ||
const { test } = require('tap'); | ||
const test = require('tape'); | ||
const boa = require('../../'); | ||
@@ -5,0 +3,0 @@ const string = boa.import('string'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
2167307
260
9376
15