[Pkg-javascript-commits] [node-source-map-support] 01/04: New upstream version 0.4.8+ds
Julien Puydt
julien.puydt at laposte.net
Mon Dec 26 08:08:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-source-map-support.
commit 45a2daa1e9a31d6ddcb7a4afe33a7f6837e0afde
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Mon Dec 26 08:59:08 2016 +0100
New upstream version 0.4.8+ds
---
package.json | 3 ++-
source-map-support.js | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index e2a4d9c..0f8bfdf 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,12 @@
{
"name": "source-map-support",
"description": "Fixes stack traces for files with source maps",
- "version": "0.4.6",
+ "version": "0.4.8",
"main": "./source-map-support.js",
"scripts": {
"build": "node build.js",
"serve-tests": "http-server -p 1336",
+ "prepublish": "npm run build",
"test": "mocha"
},
"dependencies": {
diff --git a/source-map-support.js b/source-map-support.js
index 13cdf0c..db36c41 100644
--- a/source-map-support.js
+++ b/source-map-support.js
@@ -110,7 +110,6 @@ function retrieveSourceMapURL(source) {
// Get the URL of the source map
fileData = retrieveFile(source);
- // //# sourceMappingURL=foo.js.map /*# sourceMappingURL=foo.js.map */
var re = /(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/)[ \t]*$)/mg;
// Keep executing the search to find the *last* sourceMappingURL to avoid
// picking up sourceMappingURLs from comments, strings, etc.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-source-map-support.git
More information about the Pkg-javascript-commits
mailing list