Socket
Socket
Sign inDemoInstall

@es-shims/api

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-shims/api - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

11

api.js

@@ -9,3 +9,3 @@ #!/usr/bin/env node

var existsSync = path.existsSync || fs.existsSync;
var spawnSync = require('child_process').spawnSync;
var spawn = require('child_process').spawn;

@@ -116,9 +116,12 @@ var args = process.argv.slice(2); // remove node, and script name

st.comment('# SKIP ' + msg);
st.end();
} else {
require(path.join(packageDir, '/auto'));
st.comment(msg + ' (pass `--skip-auto-shim` to skip this test)');
var result = spawnSync(path.join(__dirname, './autoTest.js'), [], { stdio: 'inherit' });
st.equal(result.status, 0, 'auto invokes shim');
var proc = spawn(path.join(__dirname, './autoTest.js'), [], { stdio: 'inherit' });
st.plan(1);
proc.on('close', function (code) {
st.equal(code, 0, 'auto invokes shim');
});
}
st.end();
});

@@ -125,0 +128,0 @@

@@ -0,1 +1,5 @@

2.1.2 / 2017-12-30
==================
* [Fix] ensure the "auto" test works prior to node 0.12
2.1.1 / 2017-12-21

@@ -2,0 +6,0 @@ ==================

{
"name": "@es-shims/api",
"version": "2.1.1",
"version": "2.1.2",
"author": "Jordan Harband",

@@ -5,0 +5,0 @@ "description": "Loosely test a package's compliance with the es-shim API",

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