New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@code-workers.io/ts-types

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-workers.io/ts-types - npm Package Compare versions

Comparing version
1.1.0
to
1.2.0
+1
src/lib/nullable.d.ts
export declare type Nullable<T> = T | null;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=nullable.js.map
{"version":3,"file":"nullable.js","sourceRoot":"","sources":["../../../../../packages/ts-types/src/lib/nullable.ts"],"names":[],"mappings":""}
export declare type Optional<T> = T | null | undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=optional.js.map
{"version":3,"file":"optional.js","sourceRoot":"","sources":["../../../../../packages/ts-types/src/lib/optional.ts"],"names":[],"mappings":""}
+1
-1
{
"name": "@code-workers.io/ts-types",
"version": "1.1.0",
"version": "1.2.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Typescript utility types",

@@ -1,2 +0,2 @@

# ts-types
# @code-workers.io/ts-types

@@ -26,3 +26,5 @@ A collection of TypeScript utitlty types to make your life easier.

- `KeyOf`: Get the keys of an type as string literal
- `KeyOf`: get the keys of an type as string literal
- `Nullable`: shorthand for `T | null`
- `Optional`: shorthand for `T | null | undefined`

@@ -29,0 +31,0 @@ ## strict-types

export * from './lib/key-of';
export * from './lib/optional';
export * from './lib/nullable';
export * from './lib/strict-types/strict-object';

@@ -3,0 +5,0 @@ export * from './lib/strict-types/strict-number';

@@ -5,2 +5,4 @@ "use strict";

tslib_1.__exportStar(require("./lib/key-of"), exports);
tslib_1.__exportStar(require("./lib/optional"), exports);
tslib_1.__exportStar(require("./lib/nullable"), exports);
tslib_1.__exportStar(require("./lib/strict-types/strict-object"), exports);

@@ -7,0 +9,0 @@ tslib_1.__exportStar(require("./lib/strict-types/strict-number"), exports);

@@ -1,1 +0,1 @@

{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ts-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAE7B,2EAAiD;AACjD,2EAAiD;AACjD,2EAAiD;AACjD,4EAAkD;AAClD,0EAAgD"}
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ts-types/src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,yDAA+B;AAC/B,yDAA+B;AAE/B,2EAAiD;AACjD,2EAAiD;AACjD,2EAAiD;AACjD,4EAAkD;AAClD,0EAAgD"}