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

@glideapps/ts-necessities

Package Overview
Dependencies
Maintainers
8
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glideapps/ts-necessities - npm Package Compare versions

Comparing version 1.1.0 to 2.0.0

2

dist/index.d.ts

@@ -10,3 +10,3 @@ export declare function proveType<T>(_val: T): void;

export declare function reduceTwo<T>(a: T | undefined, b: T | undefined, f: (aa: T, bb: T) => T): T | undefined;
export declare type Writeable<T> = {
export declare type Writable<T> = {
-readonly [P in keyof T]: T[P];

@@ -13,0 +13,0 @@ };

{
"name": "@glideapps/ts-necessities",
"version": "1.1.0",
"version": "2.0.0",
"description": "Small utilities to make life with TypeScript easier",

@@ -9,3 +9,4 @@ "main": "dist/index.js",

"build": "tsc",
"lint": "eslint src --ext .ts,.tsx"
"lint": "eslint src --ext .ts,.tsx",
"typedoc": "typedoc"
},

@@ -26,4 +27,5 @@ "keywords": [

"eslint-plugin-import": "^2.22.1",
"typedoc": "^0.20.16",
"typescript": "^4.1.3"
}
}

@@ -52,3 +52,3 @@ export function proveType<T>(_val: T) {

export type Writeable<T> = { -readonly [P in keyof T]: T[P] };
export type Writable<T> = { -readonly [P in keyof T]: T[P] };

@@ -55,0 +55,0 @@ export function definedMap<T, U>(x: T | undefined, f: (xx: T) => U): U | undefined {

@@ -18,3 +18,7 @@ {

},
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "docs"
},
"include": ["./src/**/*.ts", "./src/**/*.tsx"]
}
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