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

js.private

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js.private - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

6

dst/Private.js

@@ -23,3 +23,2 @@ "use strict";

this.key = "_" + Math.random().toString(36).substr(2, 7) + "_";
this.get = this.get.bind(this);
}

@@ -53,5 +52,8 @@

exports["default"] = function (props) {
return new Private(props).get;
var instance = new Private(props);
return function (context) {
return instance.get(context);
};
};
module.exports = exports["default"];
{
"name": "js.private",
"version": "0.0.9",
"version": "0.1.0",
"description": "Private properties for objects",

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

@@ -9,3 +9,2 @@ import Clone from "js.clone";

this.key = `_${ Math.random().toString( 36 ).substr( 2, 7 ) }_`;
this.get = this.get.bind( this );
}

@@ -35,3 +34,6 @@

export default function( props ){
return ( new Private( props ) ).get;
let instance = new Private( props );
return function( context ){
return instance.get( context );
};
}
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