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

obj.__private

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

obj.__private - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "obj.__private",
"version": "1.0.1",
"version": "1.0.2",
"description": "Create class private members with a clean syntax.",

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

@@ -5,15 +5,11 @@ "use strict";

if(!!global.Symbol) {
global.Symbol = require("es6-symbol");
}
Object.defineProperty(module, "exports", {
Object.defineProperty(module, "exports", {
get: function() {
var __private = {};
var __privateFn = function(obj) {
return __private[obj.__private];
};
__privateFn.definePrivateObject = function(obj) {

@@ -23,3 +19,3 @@ var __privateSymbol = Symbol();

__private[__privateSymbol] = {};
Object.defineProperty(obj, "__private", {

@@ -32,6 +28,6 @@ value: __privateSymbol,

};
return __privateFn;
}
});
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