Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

locter

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

locter - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

dist/locator/async.js

@@ -40,2 +40,3 @@ "use strict";

nodir: true,
ignore: options.ignore,
});

@@ -68,2 +69,3 @@ for (let k = 0; k < files.length; k++) {

nodir: true,
ignore: options.ignore,
});

@@ -70,0 +72,0 @@ const element = files.shift();

@@ -28,2 +28,3 @@ "use strict";

nodir: true,
ignore: options.ignore,
});

@@ -54,2 +55,3 @@ for (let k = 0; k < files.length; k++) {

nodir: true,
ignore: options.ignore,
});

@@ -56,0 +58,0 @@ const element = files.shift();

@@ -8,2 +8,3 @@ export declare type LocatorInfo = {

path: string | string[];
ignore: string | string[];
};

@@ -12,2 +12,3 @@ "use strict";

function buildLocatorOptions(options) {
var _a;
options = options || {};

@@ -19,2 +20,3 @@ options.path = options.path || [];

}
(_a = options.ignore) !== null && _a !== void 0 ? _a : (options.ignore = []);
return options;

@@ -21,0 +23,0 @@ }

8

package.json
{
"name": "locter",
"version": "0.2.1",
"version": "0.2.2",
"description": "Locter is a library to locate a file by criteria and load it",

@@ -19,3 +19,3 @@ "author": {

"scripts": {
"build": "rm -rf ./dist && tsc",
"build": "rimraf dist && tsc -d",
"build:watch": "npm run build -- --watch",

@@ -25,3 +25,4 @@ "test": "cross-env NODE_ENV=test jest --config ./test/jest.config.js",

"lint": "eslint --ext .js,.vue,.ts ./src",
"lint:fix": "npm run lint -- --fix"
"lint:fix": "npm run lint -- --fix",
"prepublishOnly": "npm run build"
},

@@ -46,2 +47,3 @@ "keywords": [

"np": "^7.6.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",

@@ -48,0 +50,0 @@ "ts-node": "^10.9.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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