Socket
Socket
Sign inDemoInstall

@es-shims/api

Package Overview
Dependencies
106
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.3 to 2.3.0

14

api.js

@@ -11,2 +11,4 @@ #!/usr/bin/env node

var flatMap = require('array.prototype.flatmap');
var args = process.argv.slice(2); // remove node, and script name

@@ -33,3 +35,8 @@

var isMulti = args.some(argEquals('--multi'));
var extraIgnoreDirs = flatMap(args, function (x) {
return x.startsWith('--ignore-dirs=') ? x.slice('--ignore-dirs='.length).split(',') : [];
});
var ignoreDirs = ['node_modules', 'coverage', 'helpers', 'test', 'aos'].concat(extraIgnoreDirs);
var makeEntries = function (name) {

@@ -167,8 +174,3 @@ return [name, name];

var dirs = fs.readdirSync(packageDir).filter(function (d) {
return !d.startsWith('.')
&& d !== 'node_modules'
&& d !== 'coverage'
&& d !== 'helpers'
&& d !== 'test'
&& fs.statSync(d).isDirectory();
return !d.startsWith('.') && !ignoreDirs.includes(d) && fs.statSync(d).isDirectory();
});

@@ -175,0 +177,0 @@ t.deepEqual(subPackages, dirs, 'main export subpackages matches dirs in the package root');

@@ -0,1 +1,10 @@

2.3.0 / 2023-02-04
==================
* [New] add `--ignore-dirs` option to be used with `--multi`
* [Deps] update `tape`
* [meta] use `npmignore` to autogenerate an npmignore file
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `safe-publish-latest
* [actions] update rebase action to use reusable workflow
* [actions] reuse common workflows
2.2.3 / 2021-10-04

@@ -2,0 +11,0 @@ ==================

{
"name": "@es-shims/api",
"version": "2.2.3",
"version": "2.3.0",
"author": "Jordan Harband",

@@ -14,3 +14,5 @@ "funding": {

"scripts": {
"prepublish": "safe-publish-latest",
"prepack": "npmignore --auto --commentLines=autogenerated",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run --silent lint",

@@ -40,11 +42,14 @@ "test": "npm run --silent tests-only",

"dependencies": {
"tape": "^5.3.1"
"array.prototype.flatmap": "^1.3.1",
"tape": "^5.6.3"
},
"devDependencies": {
"@ljharb/eslint-config": "^18.0.0",
"aud": "^1.1.5",
"eslint": "^7.32.0",
"@ljharb/eslint-config": "^21.0.1",
"aud": "^2.0.2",
"eslint": "=8.8.0",
"in-publish": "^2.0.1",
"make-arrow-function": "^1.2.0",
"make-generator-function": "^2.0.0",
"safe-publish-latest": "^1.1.4"
"npmignore": "^0.3.0",
"safe-publish-latest": "^2.0.0"
},

@@ -73,4 +78,6 @@ "testling": {

"publishConfig": {
"access": "public"
"ignore": [
".github/workflows"
]
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc