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.2 to 0.1.3

2

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

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

@@ -1,10 +0,7 @@

export {}
declare global {
type Option<T> = null | undefined | T
}
const None: null
function isNone<T>(option: Option<T>): option is (null | undefined)
function isSome<T>(option: Option<T>): option is T
}
export const None: null
export function isNone<T>(option: Option<T>): option is null | undefined
export function isSome<T>(option: Option<T>): option is T
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