update
This commit is contained in:
+3
-1
@@ -164,7 +164,9 @@ function compileBody(str, options) {
|
||||
contents = load.read(filename, loadOptions);
|
||||
}
|
||||
|
||||
debug_sources[filename] = contents;
|
||||
debug_sources[filename] = Buffer.isBuffer(contents)
|
||||
? contents.toString('utf8')
|
||||
: contents;
|
||||
return contents;
|
||||
},
|
||||
});
|
||||
|
||||
+15
-15
@@ -1,33 +1,33 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"pug@3.0.0",
|
||||
"/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series"
|
||||
"pug@3.0.2",
|
||||
"/home/node/nuxt"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "pug@3.0.0",
|
||||
"_id": "pug@3.0.0",
|
||||
"_from": "pug@3.0.2",
|
||||
"_id": "pug@3.0.2",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-inmsJyFBSHZaiGLaguoFgJGViX0If6AcfcElimvwj9perqjDpUpw79UIEDZbWFmoGVidh08aoE+e8tVkjVJPCw==",
|
||||
"_integrity": "sha512-bp0I/hiK1D1vChHh6EfDxtndHji55XP/ZJKwsRqrz6lRia6ZC2OZbdAymlxdVFwd1L70ebrVJw4/eZ79skrIaw==",
|
||||
"_location": "/pug",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "pug@3.0.0",
|
||||
"raw": "pug@3.0.2",
|
||||
"name": "pug",
|
||||
"escapedName": "pug",
|
||||
"rawSpec": "3.0.0",
|
||||
"rawSpec": "3.0.2",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "3.0.0"
|
||||
"fetchSpec": "3.0.2"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"#DEV:/"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/pug/-/pug-3.0.0.tgz",
|
||||
"_spec": "3.0.0",
|
||||
"_where": "/mnt/Foxconn/Digitalent/Deverloper/liff-push_2series",
|
||||
"_resolved": "https://registry.npmjs.org/pug/-/pug-3.0.2.tgz",
|
||||
"_spec": "3.0.2",
|
||||
"_where": "/home/node/nuxt",
|
||||
"author": {
|
||||
"name": "TJ Holowaychuk",
|
||||
"email": "tj@vision-media.ca"
|
||||
@@ -36,13 +36,13 @@
|
||||
"fs": false
|
||||
},
|
||||
"dependencies": {
|
||||
"pug-code-gen": "^3.0.0",
|
||||
"pug-code-gen": "^3.0.2",
|
||||
"pug-filters": "^4.0.0",
|
||||
"pug-lexer": "^5.0.0",
|
||||
"pug-lexer": "^5.0.1",
|
||||
"pug-linker": "^4.0.0",
|
||||
"pug-load": "^3.0.0",
|
||||
"pug-parser": "^6.0.0",
|
||||
"pug-runtime": "^3.0.0",
|
||||
"pug-runtime": "^3.0.1",
|
||||
"pug-strip-comments": "^2.0.0"
|
||||
},
|
||||
"description": "A clean, whitespace-sensitive template language for writing HTML",
|
||||
@@ -110,5 +110,5 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/pugjs/pug/tree/master/packages/pug"
|
||||
},
|
||||
"version": "3.0.0"
|
||||
"version": "3.0.2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user