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

@stamp/privatize

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamp/privatize - npm Package Compare versions

Comparing version 0.1.7 to 1.0.0

8

index.js

@@ -23,3 +23,3 @@ var compose = require('@stamp/compose');

var newObject = {};
var newObject = {}; // our proxy object
privates.set(newObject, this);

@@ -49,4 +49,5 @@

for (var i = 0; i < arguments.length; i++) {
if (typeof arguments[i] === 'string' && arguments[i].length > 0) {
methodNames.push(arguments[i]);
var arg = arguments[i];
if (typeof arg === 'string' && arg.length > 0) {
methodNames.push(arg);
}

@@ -65,2 +66,3 @@ }

var initializers = opts.stamp.compose.initializers;
// Keep our initializer the last to return proxy object
initializers.splice(initializers.indexOf(initializer), 1);

@@ -67,0 +69,0 @@ initializers.push(initializer);

{
"name": "@stamp/privatize",
"version": "0.1.7",
"version": "1.0.0",
"description": "Protect private properties",

@@ -13,4 +13,4 @@ "main": "index.js",

"dependencies": {
"@stamp/compose": "^0.1.6"
"@stamp/compose": "^1.0.0"
}
}
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