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

@blake.regalia/belt

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blake.regalia/belt - npm Package Compare versions

Comparing version 0.8.1 to 0.9.0

6

dist/cjs/types.d.ts

@@ -76,1 +76,7 @@ import type { A } from 'ts-toolbelt';

export type RemoveJsonInterfaces<w_type> = Exclude<A.Compute<Exclude<Extract<w_type, object>, JsonArray>>, JsonObject>;
/**
* Reinterprets the given type as being JSON-compatible
*/
export type AsJson<z_test extends JsonValue | {} | {}[]> = z_test extends JsonValue ? z_test : z_test extends Array<infer w_type> ? AsJson<w_type>[] : {
[si_each in keyof z_test]: AsJson<z_test[si_each]>;
};

@@ -76,1 +76,7 @@ import type { A } from 'ts-toolbelt';

export type RemoveJsonInterfaces<w_type> = Exclude<A.Compute<Exclude<Extract<w_type, object>, JsonArray>>, JsonObject>;
/**
* Reinterprets the given type as being JSON-compatible
*/
export type AsJson<z_test extends JsonValue | {} | {}[]> = z_test extends JsonValue ? z_test : z_test extends Array<infer w_type> ? AsJson<w_type>[] : {
[si_each in keyof z_test]: AsJson<z_test[si_each]>;
};

2

package.json
{
"name": "@blake.regalia/belt",
"version": "0.8.1",
"version": "0.9.0",
"repository": "github:blake-regalia/belt",

@@ -5,0 +5,0 @@ "license": "ISC",

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