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

scrat-swig

Package Overview
Dependencies
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scrat-swig - npm Package Compare versions

Comparing version 1.1.0-pwa2 to 1.1.0-pwa3

7

CHANGELOG.md
1.1.0-pwa1 / 2017-12-26
1.1.0-pwa3 / 2018-01-02
==================
* feat: 修改自动插入sw脚本逻辑 (#17)
1.1.0-pwa2 / 2017-12-26
==================
* feat: support PWA (#16)

@@ -6,0 +11,0 @@

5

lib/resource.js

@@ -363,5 +363,4 @@ 'use strict';

}
if (serviceWorkerRegistrationJS && options.usePWA) {
// if(serviceWorkerRegistrationJS && !useCombo) {
html += `<script>${serviceWorkerRegistrationJS}</script>`;
if (serviceWorkerRegistrationJS/* && options.usePWA*/) {
html += `<script id="sw-reg">${serviceWorkerRegistrationJS}</script>`;
}

@@ -368,0 +367,0 @@

{
"name": "scrat-swig",
"version": "1.1.0-pwa2",
"version": "1.1.0-pwa3",
"description": "Extensions of swig for scrat",

@@ -5,0 +5,0 @@ "main": "index.js",

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