module-lens
Advanced tools
Comparing version 0.1.5 to 0.1.6
"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")); |
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
20048
0
11
354
1
- Removedlodash@^4.17.11
- Removedlodash@4.17.21(transitive)