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

type-plus

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-plus - npm Package Compare versions

Comparing version 1.17.1 to 1.18.0

1

lib/index.d.ts

@@ -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';

30

package.json
{
"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

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