@pi-r/chrome 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +5 -5
package/index.js
CHANGED
|
@@ -764,7 +764,7 @@ function transformJs(host, file, output) {
|
|
|
764
764
|
function replaceCss(file) {
|
|
765
765
|
const sanitize = (map) => {
|
|
766
766
|
for (const id in map) {
|
|
767
|
-
map[id] = this.removeServerRoot(map[id])
|
|
767
|
+
map[id] = this.removeServerRoot(map[id]);
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
770
|
if (file.inlineUrlMap) {
|
|
@@ -2561,7 +2561,7 @@ class ChromeDocument extends Document {
|
|
|
2561
2561
|
case 'export': {
|
|
2562
2562
|
const ignoreCache = current.ignoreCache;
|
|
2563
2563
|
const cacheKey = asString(current, true);
|
|
2564
|
-
if (!
|
|
2564
|
+
if (!ignoreCache && CACHE_DBRESULT.has(cacheKey)) {
|
|
2565
2565
|
result[0] = getCacheItem(CACHE_DBRESULT, cacheKey);
|
|
2566
2566
|
}
|
|
2567
2567
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/chrome",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Chrome document constructor for E-mc.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/cloud": "^0.5.
|
|
24
|
-
"@e-mc/core": "^0.5.
|
|
25
|
-
"@e-mc/document": "^0.5.
|
|
26
|
-
"@e-mc/types": "^0.5.
|
|
23
|
+
"@e-mc/cloud": "^0.5.3",
|
|
24
|
+
"@e-mc/core": "^0.5.3",
|
|
25
|
+
"@e-mc/document": "^0.5.3",
|
|
26
|
+
"@e-mc/types": "^0.5.3"
|
|
27
27
|
}
|
|
28
28
|
}
|