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

ts-invariant

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-invariant - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

4

package.json
{
"name": "ts-invariant",
"version": "0.9.1",
"version": "0.9.2",
"author": "Ben Newman <ben@apollographql.com>",

@@ -45,3 +45,3 @@ "description": "TypeScript implementation of invariant(condition, message)",

},
"gitHead": "a88a6701d6a65bfd46dad7be3e07be85fc0c60f2"
"gitHead": "8de3b4ef60cc3ef037fcc7aa803255456f2a4d0b"
}

@@ -5,3 +5,3 @@ function maybe(thunk) {

const safeGlobal = (
var safeGlobal = (
maybe(function() { return globalThis }) ||

@@ -14,3 +14,3 @@ maybe(function() { return window }) ||

let needToRemove = false;
var needToRemove = false;

@@ -17,0 +17,0 @@ export function install() {

@@ -9,3 +9,3 @@ 'use strict';

const safeGlobal = (
var safeGlobal = (
maybe(function() { return globalThis }) ||

@@ -18,3 +18,3 @@ maybe(function() { return window }) ||

let needToRemove = false;
var needToRemove = false;

@@ -21,0 +21,0 @@ function install() {

Sorry, the diff of this file is not supported yet

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