Socket
Socket
Sign inDemoInstall

justypes

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

justypes - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

5

lib/json.d.ts

@@ -1,6 +0,7 @@

export declare type JSONValue = string | number | boolean | null | {
export declare type JSONValue = string | number | boolean | null | JSONObject | JSONValue[];
export interface JSONObject {
[property: string]: JSONValue;
} | JSONValue[];
}
export interface JSONSerializable<T extends JSONValue | Record<string, JSONValue | JSONSerializable<any>> | Array<JSONValue | JSONSerializable<any>>> {
toJSON(key: string): T;
}

2

package.json
{
"name": "justypes",
"version": "4.1.0",
"version": "4.2.0",
"description": "Dumb types for TypeScript in the real world",

@@ -5,0 +5,0 @@ "keywords": [

@@ -26,2 +26,3 @@ # justypes

- JSONValue
- JSONObject
- JSONSerializable

@@ -28,0 +29,0 @@ - NonEmptyArray

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