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

tiny-types

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-types - npm Package Compare versions

Comparing version 1.19.0 to 1.19.1

2

lib/objects/deprecated.d.ts

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

export declare type Logger = (_: string) => void;
export type Logger = (_: string) => void;
/**

@@ -3,0 +3,0 @@ * @desc A decorator to mark a class, method or function as deprecated and make it log a warning whenever it is used.

@@ -23,3 +23,3 @@ /**

*/
export declare type Condition<T> = (value: T) => boolean;
export type Condition<T> = (value: T) => boolean;
/**

@@ -26,0 +26,0 @@ * @desc Describes a {@link Condition} that the `value` should meet.

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

export declare type Constructor<T> = new (...args: any[]) => T;
export declare type ConstructorOrAbstract<T = {}> = Function & {
export type Constructor<T> = new (...args: any[]) => T;
export type ConstructorOrAbstract<T = {}> = Function & {
prototype: T;
};
export declare type ConstructorAbstractOrInstance<T = {}> = T | ConstructorOrAbstract;
export type ConstructorAbstractOrInstance<T = {}> = T | ConstructorOrAbstract;

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

export declare type Null = null;
export declare type NonNullJSONPrimitive = string | number | boolean;
export declare type JSONPrimitive = NonNullJSONPrimitive | Null;
export type Null = null;
export type NonNullJSONPrimitive = string | number | boolean;
export type JSONPrimitive = NonNullJSONPrimitive | Null;
export interface JSONObject {

@@ -9,2 +9,2 @@ [_: string]: JSONPrimitive | JSONObject | JSONArray;

}
export declare type JSONValue = JSONPrimitive | JSONObject | JSONArray;
export type JSONValue = JSONPrimitive | JSONObject | JSONArray;

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

export declare type List<T> = T[];
export type List<T> = T[];
{
"name": "tiny-types",
"version": "1.19.0",
"version": "1.19.1",
"description": "A tiny library that brings Tiny Types to JavaScript and TypeScript",

@@ -42,15 +42,15 @@ "main": "lib/index.js",

"node": "^14 || ^16 || ^18",
"npm": "^6 || ^7 || ^8"
"npm": "^6 || ^7 || ^8 || ^9"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^16.11.47",
"@types/chai": "^4.3.4",
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.0",
"@types/sinon": "^10.0.13",
"@types/sinon-chai": "^3.2.8",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"chai": "^4.3.6",
"@types/sinon-chai": "^3.2.9",
"@typescript-eslint/eslint-plugin": "^5.54.1",
"@typescript-eslint/parser": "^5.54.1",
"chai": "^4.3.7",
"cheerio": "^1.0.0-rc.12",
"commitizen": "^4.2.5",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",

@@ -63,17 +63,17 @@ "cz-conventional-changelog": "^3.3.0",

"esdoc-typescript-plugin": "^1.0.1",
"eslint": "^8.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint": "^8.36.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unicorn": "^43.0.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"mocha": "^10.0.0",
"mocha": "^10.2.0",
"mocha-testdata": "^1.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.3",
"sinon": "^14.0.0",
"rimraf": "^4.4.0",
"semantic-release": "^20.1.1",
"sinon": "^15.0.1",
"sinon-chai": "^3.7.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
"typescript": "^4.9.5"
},

@@ -80,0 +80,0 @@ "config": {

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