Socket
Socket
Sign inDemoInstall

@types/adeira__js

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 2.1.0

8

adeira__js/index.d.ts

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

// Type definitions for @adeira/js 1.2
// Type definitions for @adeira/js 2.1
// Project: https://github.com/adeira/universe/tree/master/src/js
// Definitions by: Martin Zlámal <https://github.com/mrtnzlml>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.4
// Minimum TypeScript Version: 3.7
type Maybe<T> = null | undefined | T;
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): void;
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): asserts condition;

@@ -25,2 +25,4 @@ export function isBrowser(): boolean;

export function rangeMap<T>(n: number, fn: (i: number) => T): ReadonlyArray<T>;
export {};
{
"name": "@types/adeira__js",
"version": "1.2.0",
"version": "2.1.0",
"description": "TypeScript definitions for @adeira/js",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "4762089e5e3d9b3284f42cfb0477c42bb01cf401741809133c05bcce9d277507",
"typeScriptVersion": "3.4"
"typesPublisherContentHash": "f8e868eccb6962617ec5ff3eaae37179b5ae8114e75b4baeba610e50ea1b0130",
"typeScriptVersion": "3.7"
}

@@ -9,5 +9,36 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/adeira__js/index.d.ts)
````ts
// Type definitions for @adeira/js 2.1
// Project: https://github.com/adeira/universe/tree/master/src/js
// Definitions by: Martin Zlámal <https://github.com/mrtnzlml>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Minimum TypeScript Version: 3.7
type Maybe<T> = null | undefined | T;
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): asserts condition;
export function isBrowser(): boolean;
export function isNumeric(value: any): boolean;
export function isObject(value: any): boolean;
export function isObjectEmpty(value: any): boolean;
export function nullthrows<T>(x: Maybe<T>, message?: string): T extends null | undefined ? never : T;
export function sprintf(format: string, ...args: ReadonlyArray<any>): string;
export function warning(condition: boolean, format: string, ...args: ReadonlyArray<any>): void;
export function rangeMap<T>(n: number, fn: (i: number) => T): ReadonlyArray<T>;
export {};
````
### Additional Details
* Last updated: Mon, 12 Oct 2020 18:52:28 GMT
* Last updated: Sat, 03 Jul 2021 14:31:17 GMT
* Dependencies: none

@@ -14,0 +45,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc