Comparing version 4.15.1 to 4.16.0
@@ -11,3 +11,3 @@ 'use strict'; | ||
var has = require('has'); | ||
var regexpTest = callBound('RegExp.prototype.test'); | ||
var $exec = callBound('RegExp.prototype.exec'); | ||
var yamlIndicators = /:|-|\?/; | ||
@@ -225,3 +225,3 @@ var nextTick = typeof setImmediate !== 'undefined' ? setImmediate : process.nextTick; | ||
function invalidYaml(str) { | ||
return regexpTest(yamlIndicators, str); | ||
return $exec(yamlIndicators, str) !== null; | ||
} |
{ | ||
"name": "tape", | ||
"version": "4.15.1", | ||
"version": "4.16.0", | ||
"description": "tap-producing test harness for node and browsers", | ||
@@ -20,3 +20,3 @@ "main": "index.js", | ||
"for-each": "~0.3.3", | ||
"glob": "~7.2.0", | ||
"glob": "~7.2.3", | ||
"has": "~1.0.3", | ||
@@ -26,11 +26,11 @@ "inherits": "~2.0.4", | ||
"minimist": "~1.2.6", | ||
"object-inspect": "~1.12.0", | ||
"resolve": "~1.22.0", | ||
"object-inspect": "~1.12.2", | ||
"resolve": "~1.22.1", | ||
"resumer": "~0.0.0", | ||
"string.prototype.trim": "~1.2.5", | ||
"string.prototype.trim": "~1.2.6", | ||
"through": "~2.3.8" | ||
}, | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^20.2.3", | ||
"array.prototype.flatmap": "^1.2.5", | ||
"@ljharb/eslint-config": "^21.0.0", | ||
"array.prototype.flatmap": "^1.3.0", | ||
"aud": "^2.0.0", | ||
@@ -40,5 +40,5 @@ "concat-stream": "^1.6.2", | ||
"ecstatic": "^4.1.4", | ||
"es-value-fixtures": "^1.2.1", | ||
"es-value-fixtures": "^1.4.2", | ||
"eslint": "=8.8.0", | ||
"falafel": "^2.2.4", | ||
"falafel": "^2.2.5", | ||
"js-yaml": "^3.14.0", | ||
@@ -61,3 +61,4 @@ "npm-run-posix-or-windows": "^2.0.2", | ||
"posttest": "aud --production", | ||
"tests-only": "nyc tap test/*.js" | ||
"tests-only": "nyc tap 'test/*.js'", | ||
"test:example": "find example -name '*.js' | grep -v fail | grep -v static | xargs tap" | ||
}, | ||
@@ -64,0 +65,0 @@ "testling": { |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var tapeBin = path.join(__dirname, '../bin/tape'); | ||
var tapeBin = 'node ' + path.join(__dirname, '../bin/tape'); | ||
@@ -12,0 +12,0 @@ var expectedExitCodeFailure = (/^0\.10\.\d+$/).test(process.versions.node); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
218000
117
Updatedglob@~7.2.3
Updatedobject-inspect@~1.12.2
Updatedresolve@~1.22.1
Updatedstring.prototype.trim@~1.2.6