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

broccoli-serviceworker

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-serviceworker - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

10

CHANGELOG.md
# Change Log
## [0.1.5](https://github.com/jkleinsc/broccoli-serviceworker/tree/0.1.5)
## [0.1.6](https://github.com/jkleinsc/broccoli-serviceworker/tree/HEAD) (2017-03-16)
[Full Changelog](https://github.com/jkleinsc/broccoli-serviceworker/compare/0.1.5...0.1.6)
**Closed issues:**
- After update, Serveiceworker failed to install: [\#44](https://github.com/jkleinsc/broccoli-serviceworker/issues/44)
- A page refresh does not update the app [\#43](https://github.com/jkleinsc/broccoli-serviceworker/issues/43)
## [0.1.5](https://github.com/jkleinsc/broccoli-serviceworker/tree/0.1.5) (2017-03-06)
[Full Changelog](https://github.com/jkleinsc/broccoli-serviceworker/compare/0.1.4...0.1.5)

@@ -6,0 +14,0 @@

7

lib/ember-addon.js

@@ -78,6 +78,9 @@ var path = require('path');

contentFor: function(type, config) {
if (config.environment !== 'test' && (!config.serviceWorker || config.serviceWorker.includeRegistration!== false) && type === 'body-footer') {
return stringifile('registration.js', 'script', __dirname);
if((!config.serviceWorker && config.environment === 'production') ||
(config.serviceWorker && config.serviceWorker.enabled === true)) {
if (config.environment !== 'test' && (!config.serviceWorker || config.serviceWorker.includeRegistration!== false) && type === 'body-footer') {
return stringifile('registration.js', 'script', __dirname);
}
}
}
};
{
"name": "broccoli-serviceworker",
"version": "0.1.5",
"version": "0.1.6",
"description": "A broccoli plugin automating ServiceWorker file creation for Broccoli and Ember.js",

@@ -35,4 +35,4 @@ "main": "lib/service-worker.js",

"stringifile": "^0.1.1",
"sw-toolbox": "^3.4.0"
"sw-toolbox": "3.4.0"
}
}
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