Socket
Socket
Sign inDemoInstall

@adeira/js

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adeira/js - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

4

js/CHANGELOG.md
# Unreleased
# 1.2.0
- New basic TS types for `isBrowser`, `isNumeric`, `isObject`, `isObjectEmpty` and `sprintf`.
# 1.1.0
- New basic TS types for `invariant`, `warning` and `nullthrows`.

2

js/package.json

@@ -9,5 +9,5 @@ {

"private": false,
"version": "1.1.0",
"version": "1.2.0",
"sideEffects": false,
"dependencies": {}
}
declare module '@adeira/js' {
export function invariant(
condition: boolean,
format: string,
...args: ReadonlyArray<mixed>
): void;
export function invariant(condition: boolean, format: string, ...args: ReadonlyArray<any>): void;
export function nullthrows<T>(x?: T | null, message?: string): void;
export function isBrowser(): boolean;
export function invariant(
condition: boolean,
format: string,
...args: ReadonlyArray<mixed>
): void;
export function isNumeric(value: any): boolean;
export function isObject(value: any): boolean;
export function isObjectEmpty(value: any): boolean;
export function nullthrows<T>(x?: T | null, message?: string): void;
export function sprintf(format: string, ...args: ReadonlyArray<any>): void;
export function warning(condition: boolean, format: string, ...args: ReadonlyArray<any>): void;
}
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