smart-source-map-loader
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -48,24 +48,21 @@ "use strict"; | ||
const res = resolve; | ||
return ( | ||
/*#__PURE__*/ | ||
function () { | ||
var _ref = _asyncToGenerator(function* (context, request) { | ||
const r = yield new Promise((resolve, reject) => { | ||
res(context, request, (err, result) => { | ||
if (err) { | ||
reject(err); | ||
return; | ||
} | ||
return /*#__PURE__*/function () { | ||
var _ref = _asyncToGenerator(function* (context, request) { | ||
const r = yield new Promise((resolve, reject) => { | ||
res(context, request, (err, result) => { | ||
if (err) { | ||
reject(err); | ||
return; | ||
} | ||
resolve(result); | ||
}); | ||
resolve(result); | ||
}); | ||
return r; | ||
}); | ||
return r; | ||
}); | ||
return function (_x, _x2) { | ||
return _ref.apply(this, arguments); | ||
}; | ||
}() | ||
); | ||
return function (_x, _x2) { | ||
return _ref.apply(this, arguments); | ||
}; | ||
}(); | ||
} | ||
@@ -81,22 +78,19 @@ /** | ||
function createResolverMulti(resolver) { | ||
return ( | ||
/*#__PURE__*/ | ||
function () { | ||
var _ref2 = _asyncToGenerator(function* (context, requests) { | ||
for (const request of requests) { | ||
try { | ||
// eslint-disable-next-line no-await-in-loop | ||
return yield resolver(context, request); | ||
} catch (err) {// Do nothing. | ||
} | ||
return /*#__PURE__*/function () { | ||
var _ref2 = _asyncToGenerator(function* (context, requests) { | ||
for (const request of requests) { | ||
try { | ||
// eslint-disable-next-line no-await-in-loop | ||
return yield resolver(context, request); | ||
} catch (err) {// Do nothing. | ||
} | ||
} | ||
return null; | ||
}); | ||
return null; | ||
}); | ||
return function (_x3, _x4) { | ||
return _ref2.apply(this, arguments); | ||
}; | ||
}() | ||
); | ||
return function (_x3, _x4) { | ||
return _ref2.apply(this, arguments); | ||
}; | ||
}(); | ||
} // eslint-disable-next-line import/no-default-export, jsdoc/require-jsdoc | ||
@@ -103,0 +97,0 @@ |
{ | ||
"name": "smart-source-map-loader", | ||
"description": "A Smart Source Map Loader for Webpack", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"keywords": [ | ||
@@ -19,3 +19,3 @@ "source-map", | ||
"author": "Alexander O'Mara", | ||
"copyright": "Copyright (c) 2018-2019 Alexander O'Mara", | ||
"copyright": "Copyright (c) 2018-2020 Alexander O'Mara", | ||
"license": "MPL-2.0", | ||
@@ -41,15 +41,15 @@ "main": "lib/index", | ||
"dependencies": { | ||
"data-urls": "^1.1.0", | ||
"loader-utils": "^1.2.3" | ||
"data-urls": "^2.0.0", | ||
"loader-utils": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/preset-env": "^7.5.5", | ||
"@babel/register": "^7.5.5", | ||
"babel-loader": "^8.0.6", | ||
"del": "^4.1.1", | ||
"eslint": "^6.2.2", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jsdoc": "^15.8.3", | ||
"execa": "^1.0.0", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.0", | ||
"@babel/register": "^7.9.0", | ||
"babel-loader": "^8.1.0", | ||
"del": "^5.1.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-import": "2.20.0", | ||
"eslint-plugin-jsdoc": "^22.1.0", | ||
"execa": "^4.0.0", | ||
"gulp": "^4.0.2", | ||
@@ -59,15 +59,16 @@ "gulp-babel": "^8.0.0", | ||
"gulp-insert": "^0.5.0", | ||
"gulp-rename": "^1.4.0", | ||
"gulp-rename": "^2.0.0", | ||
"gulp-replace": "^1.0.0", | ||
"gulp-sourcemaps": "^2.6.5", | ||
"jasmine": "^3.4.0", | ||
"jasmine-core": "^3.4.0", | ||
"jasmine-spec-reporter": "^4.2.1", | ||
"memory-fs": "^0.4.1", | ||
"nodemon": "^1.19.1", | ||
"jasmine": "^3.5.0", | ||
"jasmine-core": "^3.5.0", | ||
"jasmine-spec-reporter": "^5.0.1", | ||
"memory-fs": "^0.5.0", | ||
"nodemon": "^2.0.2", | ||
"promise.prototype.finally": "^3.1.2", | ||
"pump": "^3.0.0", | ||
"rimraf": "^3.0.0", | ||
"source-map-support": "^0.5.13", | ||
"webpack": "^4.39.3" | ||
"rimraf": "^3.0.2", | ||
"source-map-support": "^0.5.16", | ||
"webpack": "^4.42.1" | ||
} | ||
} |
@@ -76,3 +76,3 @@ # Smart Source Map Loader | ||
Copyright (c) 2018-2019 Alexander O'Mara | ||
Copyright (c) 2018-2020 Alexander O'Mara | ||
@@ -82,6 +82,1 @@ Licensed under the Mozilla Public License, v. 2.0. | ||
If this license does not work for you, feel free to contact me. | ||
# Donations | ||
If you find my software useful please consider making a donation on my website at [alexomara.com](https://alexomara.com). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61590
26
471
81
+ Addeddata-urls@2.0.0(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedloader-utils@2.0.4(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedtr46@2.1.0(transitive)
+ Addedwebidl-conversions@6.1.0(transitive)
+ Addedwhatwg-url@8.7.0(transitive)
- Removeddata-urls@1.1.0(transitive)
- Removedlodash.sortby@4.7.0(transitive)
- Removedtr46@1.0.1(transitive)
- Removedwebidl-conversions@4.0.2(transitive)
- Removedwhatwg-url@7.1.0(transitive)
Updateddata-urls@^2.0.0
Updatedloader-utils@^2.0.0