react-workbox
Advanced tools
Comparing version 0.4.0 to 0.5.1
@@ -118,3 +118,3 @@ "use strict"; | ||
WorkBoxProvider.defaultProps = { | ||
disabled: false, | ||
disabled: process.env.NODE_ENV !== 'production', | ||
serviceWorkerUrl: "/service-worker.js", | ||
@@ -121,0 +121,0 @@ interval: 60 * 60 * 1000, |
@@ -68,3 +68,3 @@ import React, { Component } from 'react'; | ||
WorkBoxProvider.defaultProps = { | ||
disabled: false, | ||
disabled: process.env.NODE_ENV !== 'production', | ||
serviceWorkerUrl: `/service-worker.js`, | ||
@@ -71,0 +71,0 @@ interval: 60 * 60 * 1000, |
{ | ||
"name": "react-workbox", | ||
"version": "0.4.0", | ||
"version": "0.5.1", | ||
"description": "Manage installation and activation of service worker", | ||
@@ -42,9 +42,9 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@babel/cli": "7.2.0", | ||
"@babel/core": "7.2.2", | ||
"@babel/plugin-proposal-class-properties": "7.2.1", | ||
"@babel/plugin-transform-runtime": "7.2.0", | ||
"@babel/preset-env": "7.2.0", | ||
"@babel/preset-flow": "7.0.0", | ||
"@babel/preset-react": "7.0.0", | ||
"@babel/cli": "^7.2.3", | ||
"@babel/core": "^7.2.2", | ||
"@babel/plugin-proposal-class-properties": "^7.2.3", | ||
"@babel/plugin-transform-runtime": "^7.2.0", | ||
"@babel/preset-env": "^7.2.3", | ||
"@babel/preset-flow": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"babel-core": "^7.0.0-bridge.0", | ||
@@ -57,2 +57,3 @@ "babel-jest": "^23.6.0", | ||
"prettier": "^1.15.2", | ||
"react-test-renderer": "^16.7.0", | ||
"rimraf": "2.6.2" | ||
@@ -62,4 +63,4 @@ }, | ||
"@babel/runtime": "^7.1.5", | ||
"react": "^16.6.3" | ||
"react": "^16.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
24926
16
3
Updatedreact@^16.0.0