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

private-props

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

private-props - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.babelrc

2

index.js

@@ -1,1 +0,1 @@

module.exports = require('./src/private')()
module.exports = require('./lib/private')()
{
"name": "private-props",
"version": "0.1.0",
"version": "0.1.1",
"description": "Private property simulation for javascript",
"main": "index.js",
"license": "MIT",
"license": "ISC",
"homepage": "https://github.com/yakovmeister/private-props",

@@ -13,2 +13,4 @@ "repository": {

"scripts": {
"compile": "babel-compile -p es2017 -p es2015 src:lib",
"compile:test": "babel-compile -p es2017 -p es2015 test/classes:lib",
"test": "_mocha test"

@@ -22,6 +24,17 @@ },

"author": "Jacob Baring <owari@waifu.club>",
"license": "ISC",
"dependencies": {
"babel-polyfill": "^6.23.0"
},
"devDependencies": {
"babel-cli": "^6.24.0",
"babel-compile": "^2.0.0",
"babel-minify": "^0.2.0",
"babel-plugin-syntax-async-functions": "^6.1.4",
"babel-plugin-transform-regenerator": "^6.1.4",
"babel-preset-es2015": "^6.24.0",
"babel-preset-es2017": "^6.24.1",
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.24.0",
"mocha": "^4.0.1"
}
}
}

@@ -33,2 +33,6 @@ # private-props

module.exports = Foo
```
```
## Issues
- somehow the content of the class is visible if you supply an instantiated version of the class
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