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

typelevel-ts

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typelevel-ts - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

54

CHANGELOG.md
# Changelog
> **Tags:**
> - [New Feature]
> - [Bug Fix]
> - [Breaking Change]
> - [Documentation]
> - [Internal]
> - [Polish]
> - [Experimental]
>
> * [New Feature]
> * [Bug Fix]
> * [Breaking Change]
> * [Documentation]
> * [Internal]
> * [Polish]
> * [Experimental]
**Note**: Gaps between patch versions are faulty/broken releases.
**Note**: A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.
**Note**: Gaps between patch versions are faulty/broken releases. **Note**: A feature tagged as Experimental is in a
high state of flux, you're at risk of it changing without notice.
# 0.2.2
* **New Feature**
* add `Required`, `Purify`, `NonNullable`, closes #15 (@gcanti)
# 0.2.1
- **New Feature**
- add `ObjectOptional`, closes #13 (@thepheer)
* **New Feature**
* add `ObjectOptional`, closes #13 (@thepheer)
# 0.2.0
- **Breaking Change**
- complete refactoring
- upgrade to TypeScript 2.5.2 (@gcanti)
* **Breaking Change**
* complete refactoring
* upgrade to TypeScript 2.5.2 (@gcanti)
# 0.1.3
- **New Feature**
- `NumberToNat`
- `NatToNumber`
- hlists
- tuples
- convert tuples to / from hlists (`TupleToTHList`, `THListToTuple`)
* **New Feature**
* `NumberToNat`
* `NatToNumber`
* hlists
* tuples
* convert tuples to / from hlists (`TupleToTHList`, `THListToTuple`)
# 0.1.2
- **Bug Fix**
- remove `ObjectExact` (@gcanti)
* **Bug Fix**
* remove `ObjectExact` (@gcanti)
# 0.1.1
- **New Feature**
- `PickExact` (@gcanti)
* **New Feature**
* `PickExact` (@gcanti)

@@ -141,2 +141,9 @@ export declare type Increment = {

};
export declare type Required<T> = {
[P in Purify<keyof T>]: NonNullable<T[P]>;
};
export declare type Purify<T extends string> = {
[P in T]: T;
}[T];
export declare type NonNullable<T> = T & {};
export interface HNil {

@@ -143,0 +150,0 @@ isHNil: 'T';

{
"name": "typelevel-ts",
"version": "0.2.1",
"version": "0.2.2",
"description": "Type level programming in TypeScript",

@@ -10,4 +10,6 @@ "files": ["lib"],

"lint": "tslint src/**/*.ts",
"typings-checker": "typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts",
"prettier": "prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,typings-checker}/**/*.ts\"",
"typings-checker":
"typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts",
"prettier":
"prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,typings-checker}/**/*.ts\"",
"test": "npm run prettier && npm run lint && npm run typings-checker",

@@ -29,6 +31,6 @@ "clean": "rm -rf lib/*",

"devDependencies": {
"prettier": "1.5.2",
"prettier": "1.8.2",
"tslint": "4.4.2",
"tslint-config-standard": "4.0.0",
"typescript": "2.6.0-rc",
"typescript": "2.6.1",
"typings-checker": "1.1.2"

@@ -35,0 +37,0 @@ },

# Compatibility
- `0.2.0+` for TypeScript `2.5.2+`
- `0.1.3` for TypeScript `2.4.1+`
* `0.2.0+` for TypeScript `2.5.2+`
* `0.1.3` for TypeScript `2.4.1+`

@@ -10,9 +10,9 @@ # Credits

- https://github.com/Microsoft/TypeScript/issues/14833
- https://github.com/Microsoft/TypeScript/issues/16392
- https://github.com/Microsoft/TypeScript/issues/12215
* https://github.com/Microsoft/TypeScript/issues/14833
* https://github.com/Microsoft/TypeScript/issues/16392
* https://github.com/Microsoft/TypeScript/issues/12215
## Related projects
- [typical - playground for type-level primitives in TypeScript](https://github.com/tycho01/typical) by @tycho01
* [typical - playground for type-level primitives in TypeScript](https://github.com/tycho01/typical) by @tycho01

@@ -99,2 +99,1 @@ # Examples

```
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