Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Commit 8f06be8

Browse files
authored
Merge branch 'dev' into cleanupCode
2 parents 57780c8 + 0c0d333 commit 8f06be8

File tree

3 files changed

+33
-59
lines changed

3 files changed

+33
-59
lines changed

assets/serviceWorkers/serviceworkers.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

lib/manifestTools/manifestLoader.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function processManifestContents (data, manifestFormat, callback) {
7171
log.warn('Forcing to format ' + manifestFormat + '...');
7272
detectedFormat = manifestFormat;
7373
} else if (!detectedFormat) {
74-
detectedFormat = 'w3c'
74+
detectedFormat = 'w3c';
7575
}
7676

7777
log.info('Found a ' + detectedFormat + ' manifest...');
@@ -149,7 +149,8 @@ function getManifestFromSite (siteUrl, manifestFormat, callback) {
149149
.then(function(manifest) {
150150
var manifestObj = {
151151
content: manifest,
152-
format: constants.BASE_MANIFEST_FORMAT
152+
format: constants.BASE_MANIFEST_FORMAT,
153+
generated:true
153154
};
154155

155156
return manifestObj;
@@ -162,7 +163,8 @@ function getManifestFromSite (siteUrl, manifestFormat, callback) {
162163
'start_url': _url.parse(siteUrl).path,
163164
'short_name': utils.getDefaultShortName(siteUrl)
164165
},
165-
format: constants.BASE_MANIFEST_FORMAT
166+
format: constants.BASE_MANIFEST_FORMAT,
167+
generated:true
166168
};
167169

168170
return manifestObj;

package.json

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwabuilder-lib",
3-
"version": "2.0.2-RC.0",
3+
"version": "2.0.4-RC.0",
44
"description": "PWA Builder Core Library",
55
"repository": {
66
"type": "git",
@@ -30,44 +30,45 @@
3030
"ManifoldJS"
3131
],
3232
"dependencies": {
33-
"adm-zip": "^0.4.7",
33+
"adm-zip": "^0.4.11",
3434
"ansi": "^0.3.1",
35-
"async": "^1.5.2",
36-
"cheerio": "^0.20.0",
37-
"eslint-config-hapi": "^9.1.0",
38-
"expect": "^1.20.1",
39-
"file-type": "^3.8.0",
40-
"image-size": "^0.5.0",
41-
"image-type": "^2.1.0",
42-
"jimp": "^0.2.24",
35+
"async": "^2.6.1",
36+
"cheerio": "^1.0.0-rc.2",
37+
"eslint-config-hapi": "^12.0.0",
38+
"eslint-plugin-hapi": "^4.1.0",
39+
"expect": "^23.6.0",
40+
"file-type": "^10.0.0",
41+
"image-size": "^0.6.3",
42+
"image-type": "^3.0.0",
43+
"jimp": "^0.5.4",
4344
"langdetect": "^0.2.1",
44-
"lodash": "^4.13.1",
45-
"loglevel": "^1.4.0",
46-
"mime-types": "^2.1.11",
45+
"lodash": "^4.17.11",
46+
"loglevel": "^1.6.1",
47+
"mime-types": "^2.1.20",
4748
"mkdirp": "^0.5.1",
4849
"ncp": "^2.0.0",
49-
"pwabuilder-serviceworkers": "^1.1.0",
50-
"q": "^1.4.1",
51-
"request": "^2.67.0",
52-
"semver": "^5.1.0",
53-
"strip-combining-marks": "^0.1.0",
50+
"pwabuilder-serviceworkers": "^1.1.2",
51+
"q": "^1.5.1",
52+
"request": "^2.88.0",
53+
"semver": "^5.6.0",
54+
"strip-combining-marks": "^1.0.0",
5455
"tld-extract": "^1.0.1",
55-
"tv4": "^1.2.7",
56+
"tv4": "^1.3.0",
5657
"valid-url": "^1.0.9",
57-
"xregexp": "^3.1.1"
58+
"xregexp": "^4.2.0"
5859
},
5960
"devDependencies": {
6061
"blanket": "1.1.6",
61-
"grunt": "^0.4.5",
62-
"grunt-cli": "^0.1.13",
63-
"grunt-contrib-jshint": "^0.11.3",
64-
"grunt-contrib-nodeunit": "^0.4.1",
65-
"grunt-contrib-watch": "^0.6.1",
62+
"grunt": "^1.0.3",
63+
"grunt-cli": "^1.3.2",
64+
"grunt-contrib-jshint": "^2.0.0",
65+
"grunt-contrib-nodeunit": "^2.0.0",
66+
"grunt-contrib-watch": "^1.1.0",
6667
"grunt-mocha-test": "^0.12.7",
6768
"jshint-stylish": "^1.0.0",
6869
"jshint-teamcity": "^1.0.6",
69-
"load-grunt-tasks": "^1.0.0",
70-
"mocha": "^2.1.0",
70+
"load-grunt-tasks": "^4.0.0",
71+
"mocha": "^5.2.0",
7172
"mocha-teamcity-reporter": "0.0.4",
7273
"should": "^5.0.1",
7374
"time-grunt": "^1.0.0",

0 commit comments

Comments
 (0)