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

module-lens

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-lens - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

LICENSE

1

bld/library/@utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.gentleStat = exports.searchUpperDir = exports.isDirectorySearchFilter = exports.isFileSearchFilter = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const FS = tslib_1.__importStar(require("fs"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.format = exports.build = void 0;
const tslib_1 = require("tslib");

@@ -4,0 +5,0 @@ const Path = tslib_1.__importStar(require("path"));

4

bld/library/resolve.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNodeBuiltIn = exports.resolve = exports.resolveWithCategory = void 0;
const tslib_1 = require("tslib");

@@ -28,3 +29,4 @@ const module_1 = tslib_1.__importDefault(require("module"));

}
let [specifierFirstFragment] = /^[^/]+/.exec(specifier) || /* istanbul ignore next */ [undefined];
// Support both `@scope/module` and `module`.
let [specifierFirstFragment] = /^(?:@[^/]+\/[^/]+|[^@][^/]*)/.exec(specifier) || /* istanbul ignore next */ [undefined];
/* istanbul ignore if */

@@ -31,0 +33,0 @@ if (!specifierFirstFragment) {

{
"name": "module-lens",
"version": "0.1.5",
"version": "0.1.6",
"description": "Simple module specifier utilities.",
"license": "MIT",
"repository": {

@@ -10,12 +9,4 @@ "type": "git",

},
"scripts": {
"build:library": "rimraf bld/library && tsc -p src/library",
"typecheck:test": "tsc -p test",
"lint:library": "tslint -p src/library",
"lint:test": "tslint -p test",
"test:library": "yarn lint:library && yarn build:library && jest --coverage",
"test:test": "yarn lint:test && yarn typecheck:test",
"test": "yarn test:library && yarn test:test",
"report-coverage": "cat coverage/lcov.info | coveralls"
},
"license": "MIT",
"author": "Chengdu Mufan Technology Co., Ltd.",
"main": "bld/library/index.js",

@@ -25,22 +16,25 @@ "types": "bld/library/index.d.ts",

"src/library/**/*.ts",
"bld/library"
"bld/library",
"!*.tsbuildinfo"
],
"scripts": {
"build": "rimraf {bld,.bld-cache} && tsc --build tsconfig.json",
"lint": "eslint .",
"lint-prettier": "prettier --list-different \"**/*.{ts,tsx,js,jsx,json,md}\"",
"test": "yarn lint-prettier && yarn build && yarn lint && ject --coverage",
"report-coverage": "cat coverage/lcov.info | coveralls"
},
"devDependencies": {
"@magicspace/configs": "^0.1.42",
"@types/jest": "^23.3.2",
"@types/lodash": "^4.14.116",
"@types/node": "^10.11.3",
"coveralls": "^3.0.2",
"jest": "^23.6.0",
"prettier": "^1.14.3",
"rimraf": "^2.6.2",
"ts-jest": "^23.10.3",
"tslib": "^1.9.3",
"tslint": "^5.11.0",
"tslint-language-service": "^0.9.9",
"typescript": "^3.1.1"
},
"dependencies": {
"lodash": "^4.17.11"
"@mufan/code": "^0.2.5",
"@mufan/eslint-plugin": "^0.1.32",
"@types/jest": "^26.0.9",
"@types/node": "^14.0.27",
"coveralls": "^3.1.0",
"eslint": "^7.7.0",
"jest": "^26.4.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"tslib": "^2.0.1",
"typescript": "^3.9.7"
}
}

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