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

constant-mirror

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

constant-mirror - npm Package Compare versions

Comparing version 1.0.2 to 1.0.5

lib/index.js

26

package.json
{
"name": "constant-mirror",
"version": "1.0.2",
"version": "1.0.5",
"description": "A simple tool for creating objects with keys mirrored as values. Inspired by React's keyMirror.",

@@ -13,16 +13,24 @@ "keywords": [

"license": "MIT",
"main": "index.js",
"main": "lib/index.js",
"files": [
"index.js"
"lib/"
],
"scripts": {
"prepublish": "babel --stage=0 src/index.js -o index.js",
"pretest": "babel --stage=0 src/index.js -o index.js",
"test": "mocha --compilers js:babel/register"
"build": "babel src --out-dir=lib",
"clean": "rimraf coverage lib",
"test:cov": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha",
"test:watch": "npm run test -- --watch",
"test": "mocha --compilers=js:babel/register",
"preversion": "npm run clean && npm run test:cov",
"version": "npm run build",
"postversion": "git push && git push --tags && npm run clean",
"prepublish": "npm run clean && npm run build"
},
"devDependencies": {
"babel": "^5.8.21",
"expect.js": "*",
"mocha": "*"
"babel": "^5.8.23",
"expect.js": "^0.3.1",
"isparta": "^3.0.4",
"mocha": "^2.2.5",
"rimraf": "^2.4.3"
}
}
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