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

@ungap/structured-clone

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ungap/structured-clone - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

cjs/deserialize.js

@@ -58,2 +58,4 @@ 'use strict';

return as(BigInt(value));
case 'BigInt':
return as(Object(BigInt(value)));
}

@@ -60,0 +62,0 @@ return as(new env[type](value));

@@ -56,2 +56,4 @@ 'use strict';

return as([type, value.valueOf()]);
case 'BigInt':
return as([type, value.toString()]);
}

@@ -58,0 +60,0 @@

@@ -59,2 +59,4 @@ import {

return as(BigInt(value));
case 'BigInt':
return as(Object(BigInt(value)));
}

@@ -61,0 +63,0 @@ return as(new env[type](value));

@@ -57,2 +57,4 @@ import {

return as([type, value.valueOf()]);
case 'BigInt':
return as([type, value.toString()]);
}

@@ -59,0 +61,0 @@

2

package.json
{
"name": "@ungap/structured-clone",
"version": "0.2.1",
"version": "0.2.2",
"description": "A structuredClone polyfill",

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

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