Socket
Socket
Sign inDemoInstall

focus-lock

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

focus-lock - npm Package Compare versions

Comparing version 0.4.2 to 0.5.0

dist/cjs/constants.js

14

package.json
{
"name": "focus-lock",
"version": "0.4.2",
"version": "0.5.0",
"description": "DOM trap for a focus",
"main": "dist/index.js",
"main": "dist/cjs/index.js",
"jsnext:main": "dist/es2015/index.js",
"module": "dist/es2015/index.js",
"scripts": {
"build": "babel src -d dist",
"test": "npm run test:pick -- '_tests/**/*spec.js'",
"test:pick": "BABEL_ENV=test mocha --compilers js:babel-core/register -r jsdom-global/register",
"build:cjs": "NODE_ENV=cjs babel src -d dist/cjs",
"build:es5": "NODE_ENV=es2015 babel src -d dist/es2015",
"build": "rm -Rf ./dist && yarn build:es5 && yarn build:cjs",
"test": "NODE_ENV=cjs npm run test:pick -- '_tests/**/*spec.js'",
"test:pick": "NODE_ENV=cjs mocha --compilers js:babel-core/register -r jsdom-global/register",
"prepublish": "npm run build",

@@ -11,0 +15,0 @@ "lint": "eslint src tests",

Sorry, the diff of this file is not supported yet

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