New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@helios-lang/type-utils

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helios-lang/type-utils - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

2

package.json
{
"name": "@helios-lang/type-utils",
"version": "0.1.9",
"version": "0.1.10",
"description": "Global utility types",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -8,16 +8,2 @@ declare global {

| { [key: string]: JsonSafe }
namespace Json {
function parse(
text: string,
reviver?: ((this: any, key: string, value: any) => any) | undefined
): JsonSafe
function stringify(
value: JsonSafe,
replacer?:
| ((this: any, key: string, value: any) => any)
| undefined,
space?: string | number | undefined
): string
}
}

@@ -35,1 +21,16 @@

export function isRight<L, R>(either: Either<L, R>): either is { right: R }
/**
* Must be imported explicitly in order to override default JSON namespace
*/
export namespace JSON {
function parse(
text: string,
reviver?: ((this: any, key: string, value: any) => any) | undefined
): JsonSafe
function stringify(
value: JsonSafe,
replacer?: ((this: any, key: string, value: any) => any) | undefined,
space?: string | number | undefined
): string
}
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