prevent-unload
Advanced tools
Comparing version 1.1.12 to 1.1.13
@@ -26,3 +26,3 @@ 'use strict'; | ||
return function (event) { | ||
// cross-browser solution | ||
// Cross-browser solution | ||
// https://developer.mozilla.org/en-US/docs/Web/Events/beforeunload | ||
@@ -29,0 +29,0 @@ event.returnValue = message; // eslint-disable-line no-param-reassign |
{ | ||
"name": "prevent-unload", | ||
"version": "1.1.12", | ||
"version": "1.1.13", | ||
"description": "Prevent page unloading from the user's action", | ||
@@ -9,6 +9,6 @@ "author": "Plusb Preco <plusb21@gmail.com>", | ||
"prepublish": "npm run build", | ||
"prebuild": "npm run clean", | ||
"test": "npm run lint && ava", | ||
"lint": "eslint .", | ||
"build": "npm run clean && npm run babel", | ||
"babel": "babel --out-dir lib src", | ||
"build": "babel --out-dir lib src", | ||
"clean": "rimraf lib" | ||
@@ -33,10 +33,11 @@ }, | ||
"devDependencies": { | ||
"ava": "^0.16.0", | ||
"ava": "^0.17.0", | ||
"babel-cli": "^6.18.0", | ||
"babel-eslint": "^7.1.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-latest": "^6.16.0", | ||
"babel-preset-env": "^0.0.9", | ||
"babel-register": "^6.18.0", | ||
"eslint": "^3.9.1", | ||
"eslint-config-prev": "2.1.0", | ||
"eslint-config-prev": "^3.1.0", | ||
"eslint-plugin-babel": "^4.0.0", | ||
"eslint-plugin-import": "^2.0.1", | ||
@@ -43,0 +44,0 @@ "jsdom": "^9.8.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4624
13