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

@types/jsan

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jsan - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

35

jsan/index.d.ts

@@ -6,17 +6,18 @@ // Type definitions for jsan 3.1

interface Options {
date?: boolean | undefined;
function?: boolean | undefined;
regex?: boolean | undefined;
undefined?: boolean | undefined;
error?: boolean | undefined;
symbol?: boolean | undefined;
map?: boolean | undefined;
set?: boolean | undefined;
nan?: boolean | undefined;
infinity?: boolean | undefined;
refs?: boolean | undefined;
export interface Options {
date?: boolean;
function?: boolean;
regex?: boolean;
undefined?: boolean;
error?: boolean;
symbol?: boolean;
map?: boolean;
set?: boolean;
nan?: boolean;
infinity?: boolean;
refs?: boolean;
circular?: unknown;
}
declare function stringify(
export function stringify(
value: unknown,

@@ -28,11 +29,5 @@ replacer?: (key: string, value: unknown) => unknown | Array<number | string> | null,

declare function parse(
export function parse(
text: string,
reviver?: (key: string, value: unknown) => unknown
): unknown;
declare const _default: {
stringify: typeof stringify,
parse: typeof parse,
};
export = _default;
{
"name": "@types/jsan",
"version": "3.1.1",
"version": "3.1.2",
"description": "TypeScript definitions for jsan",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsan",

"dependencies": {},
"typesPublisherContentHash": "40d87960d28fc47940f90ff732d55ba36791d16d852125c84d0136962040fa93",
"typesPublisherContentHash": "d22ddcab3f6851abdcd29e7692fcc7c8dca831a2e0790477d1726fa20b99c10c",
"typeScriptVersion": "3.6"
}

@@ -16,17 +16,18 @@ # Installation

interface Options {
date?: boolean | undefined;
function?: boolean | undefined;
regex?: boolean | undefined;
undefined?: boolean | undefined;
error?: boolean | undefined;
symbol?: boolean | undefined;
map?: boolean | undefined;
set?: boolean | undefined;
nan?: boolean | undefined;
infinity?: boolean | undefined;
refs?: boolean | undefined;
export interface Options {
date?: boolean;
function?: boolean;
regex?: boolean;
undefined?: boolean;
error?: boolean;
symbol?: boolean;
map?: boolean;
set?: boolean;
nan?: boolean;
infinity?: boolean;
refs?: boolean;
circular?: unknown;
}
declare function stringify(
export function stringify(
value: unknown,

@@ -38,3 +39,3 @@ replacer?: (key: string, value: unknown) => unknown | Array<number | string> | null,

declare function parse(
export function parse(
text: string,

@@ -44,12 +45,6 @@ reviver?: (key: string, value: unknown) => unknown

declare const _default: {
stringify: typeof stringify,
parse: typeof parse,
};
export = _default;
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 16:22:46 GMT
* Last updated: Wed, 21 Jul 2021 19:31:18 GMT
* Dependencies: none

@@ -56,0 +51,0 @@ * Global values: none

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