type-plus
Advanced tools
Comparing version 1.10.0 to 1.10.1
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function filterKey(subject, callbackfn, thisArg) { | ||
@@ -4,0 +4,0 @@ return Object.keys(subject).filter(callbackfn, thisArg); |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function findKey(subject, predicate, thisArg) { | ||
@@ -4,0 +4,0 @@ return Object.keys(subject).find(predicate, thisArg); |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function forEachKey(subject, callbackfn, thisArg) { | ||
@@ -4,0 +4,0 @@ return Object.keys(subject).forEach(callbackfn, thisArg); |
"use strict"; | ||
// From @basarat | ||
// https://basarat.gitbooks.io/typescript/docs/tips/nominalTyping.html | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function createId(type, value) { | ||
@@ -6,0 +6,0 @@ return { |
@@ -5,3 +5,3 @@ "use strict"; | ||
} | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./filterKey")); | ||
@@ -8,0 +8,0 @@ __export(require("./findKey")); |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function isPromise(subject) { | ||
@@ -4,0 +4,0 @@ return !!subject && typeof subject.then === 'function'; |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=KeyTypes.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function literalArray() { | ||
@@ -4,0 +4,0 @@ var entries = []; |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function mapKey(subject, callbackfn, thisArg) { | ||
@@ -4,0 +4,0 @@ return Object.keys(subject).map(callbackfn, thisArg); |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=RecursiveIntersect.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=RecursivePartial.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=RecursiveRequired.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function reduceKey(subject, callbackfn, initialValue) { | ||
@@ -4,0 +4,0 @@ return Object.keys(subject).reduce(callbackfn, initialValue); |
"use strict"; | ||
// Thanks [jack-williams](https://github.com/jack-williams) for the [solution](https://github.com/Microsoft/TypeScript/issues/29269#issuecomment-451602962) | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=Required.js.map |
"use strict"; | ||
exports.__esModule = true; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=ValueOf.js.map |
{ | ||
"name": "type-plus", | ||
"description": "Provides additional types for `typescript`.", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"homepage": "https://github.com/unional/type-plus", | ||
@@ -18,7 +18,13 @@ "bugs": { | ||
}, | ||
"main": "lib/index.js", | ||
"typings": "lib/index.d.ts", | ||
"files": [ | ||
"lib", | ||
"libm" | ||
], | ||
"main": "lib/index", | ||
"module": "libm/index", | ||
"jsnext:main": "libm/index", | ||
"typings": "lib/index", | ||
"scripts": { | ||
"build": "tsc -p tsconfig.build.json", | ||
"clean": "rimraf lib", | ||
"build": "tsc -p tsconfig.es5.json && tsc -p tsconfig.esnext.json", | ||
"clean": "rimraf lib libm", | ||
"dc": "npm run dependency-check", | ||
@@ -32,5 +38,5 @@ "dependency-check": "dependency-check . --unused --no-dev && dependency-check . --missing --no-dev", | ||
"devDependencies": { | ||
"@unional/devpkg-node": "^1.1.6", | ||
"assertron": "^6.0.0" | ||
"@unional/devpkg-node": "^1.2.2", | ||
"assertron": "^6.1.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
24328
93
256