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.0.0 to 2.1.0

autoTest.js

5

api.js

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

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

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

} else {
require(packageDir + '/auto');
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');
}

@@ -120,0 +123,0 @@ st.end();

4

CHANGELOG.md

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

2.1.0 / 2017-12-21
==================
* [New] improve `auto` test
2.0.0 / 2017-12-20

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

{
"name": "@es-shims/api",
"version": "2.0.0",
"version": "2.1.0",
"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