type-plus
Advanced tools
Comparing version 1.17.1 to 1.18.0
@@ -0,1 +1,2 @@ | ||
export { required, requiredDeep } from 'unpartial'; | ||
export * from './Brand'; | ||
@@ -2,0 +3,0 @@ export * from './Except'; |
@@ -6,2 +6,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var unpartial_1 = require("unpartial"); | ||
exports.required = unpartial_1.required; | ||
exports.requiredDeep = unpartial_1.requiredDeep; | ||
__export(require("./Brand")); | ||
@@ -8,0 +11,0 @@ __export(require("./filterKey")); |
@@ -0,1 +1,2 @@ | ||
export { required, requiredDeep } from 'unpartial'; | ||
export * from './Brand'; | ||
@@ -2,0 +3,0 @@ export * from './Except'; |
@@ -0,1 +1,2 @@ | ||
export { required, requiredDeep } from 'unpartial'; | ||
export * from './Brand'; | ||
@@ -2,0 +3,0 @@ export * from './filterKey'; |
{ | ||
"name": "type-plus", | ||
"version": "1.18.0", | ||
"description": "Provides additional types for `typescript`.", | ||
"version": "1.17.1", | ||
"homepage": "https://github.com/unional/type-plus", | ||
@@ -23,6 +23,6 @@ "bugs": { | ||
], | ||
"main": "lib/index", | ||
"module": "libm/index", | ||
"jsnext:main": "libm/index", | ||
"typings": "lib/index", | ||
"main": "lib/index.js", | ||
"module": "libm/index.js", | ||
"jsnext:main": "libm/index.js", | ||
"typings": "lib/index.d.ts", | ||
"scripts": { | ||
@@ -34,12 +34,22 @@ "build": "tsc -p tsconfig.es5.json && tsc -p tsconfig.esnext.json", | ||
"lint": "tslint -p tsconfig.json", | ||
"size": "size-limit", | ||
"test": "jest --reporters=default", | ||
"verify": "npm run lint && npm run build && jest --coverage --reporters=default", | ||
"verify": "npm run lint && npm run build && npm run dependency-check && jest --coverage --reporters=default", | ||
"watch": "jest --watch" | ||
}, | ||
"dependencies": { | ||
"unpartial": "^0.6.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^24.0.11", | ||
"@types/jest": "^24.0.12", | ||
"@unional/devpkg-node": "^1.2.5", | ||
"assertron": "^7.0.0", | ||
"jest": "^24.5.0" | ||
} | ||
"assertron": "^7.0.1", | ||
"jest": "^24.8.0", | ||
"size-limit": "^1.3.1" | ||
}, | ||
"size-limit": [ | ||
{ | ||
"limit": "5 kb" | ||
} | ||
] | ||
} |
@@ -66,2 +66,4 @@ # type-plus | ||
- `RecursiveRequired<T>`: make type `T` required recursively. | ||
- `required(...)`: merge options and removing `Partial<T>`. From [`unpartial`](https://github.com/unional/unpartial) | ||
- `requiredDeep(...)`: merge options deeply and removing `Partial<T>`. From [`unpartial`](https://github.com/unional/unpartial) | ||
- `RequiredPick<T, U>`: makes the properties specified in `U` becomes required. | ||
@@ -68,0 +70,0 @@ - `RequiredExcept<T, U>`: makes the properties not specified in `U` becomes required. |
@@ -0,1 +1,2 @@ | ||
export { required, requiredDeep } from 'unpartial'; | ||
export * from './Brand'; | ||
@@ -2,0 +3,0 @@ export * from './Except'; |
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
65416
1202
126
1
5
+ Addedunpartial@^0.6.0
+ Addedunpartial@0.6.4(transitive)