Socket
Socket
Sign inDemoInstall

tape

Package Overview
Dependencies
Maintainers
4
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tape - npm Package Compare versions

Comparing version 4.15.1 to 4.16.0

.github/FUNDING.yml

4

lib/results.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc