get-stack-trace
Advanced tools
Comparing version 2.0.1 to 2.0.3
@@ -18,4 +18,6 @@ "use strict"; | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; } | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -42,3 +44,3 @@ | ||
return _objectSpread({}, (0, _materializeCallSite.default)(callSite), (await (0, _resolveCallSiteSourceCodeLocation.default)(callSite))); | ||
return _objectSpread({}, (0, _materializeCallSite.default)(callSite), {}, (await (0, _resolveCallSiteSourceCodeLocation.default)(callSite))); | ||
}); | ||
@@ -45,0 +47,0 @@ }; |
@@ -52,3 +52,3 @@ "use strict"; | ||
columnNumber: originalPosition.column, | ||
fileName: _path.default.resolve(_path.default.dirname(fileName)), | ||
fileName: _path.default.resolve(_path.default.dirname(fileName), originalPosition.source), | ||
lineNumber: originalPosition.line | ||
@@ -55,0 +55,0 @@ }; |
@@ -13,23 +13,23 @@ { | ||
"dependencies": { | ||
"bluebird": "^3.5.2", | ||
"source-map": "^0.7.3" | ||
"bluebird": "^3.7.1", | ||
"source-map": "^0.8.0-beta.0" | ||
}, | ||
"description": "V8 stack traces with optional source map resolution.", | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.2", | ||
"@babel/core": "^7.1.2", | ||
"@babel/node": "^7.0.0", | ||
"@babel/plugin-transform-flow-strip-types": "^7.0.0", | ||
"@babel/preset-env": "^7.1.0", | ||
"@babel/register": "^7.0.0", | ||
"ava": "^1.0.0-rc.1", | ||
"babel-plugin-istanbul": "^5.1.0", | ||
"@babel/cli": "^7.7.0", | ||
"@babel/core": "^7.7.2", | ||
"@babel/node": "^7.7.0", | ||
"@babel/plugin-transform-flow-strip-types": "^7.6.3", | ||
"@babel/preset-env": "^7.7.1", | ||
"@babel/register": "^7.7.0", | ||
"ava": "^2.4.0", | ||
"babel-plugin-istanbul": "^5.2.0", | ||
"babel-plugin-transform-export-default-name": "^2.0.4", | ||
"coveralls": "^3.0.2", | ||
"eslint": "^5.7.0", | ||
"eslint-config-canonical": "^13.0.0", | ||
"flow-bin": "^0.84.0", | ||
"flow-copy-source": "^2.0.2", | ||
"husky": "^1.1.2", | ||
"nyc": "^13.1.0" | ||
"coveralls": "^3.0.8", | ||
"eslint": "^6.6.0", | ||
"eslint-config-canonical": "^18.1.0", | ||
"flow-bin": "^0.112.0", | ||
"flow-copy-source": "^2.0.9", | ||
"husky": "^3.1.0", | ||
"nyc": "^14.1.1" | ||
}, | ||
@@ -73,3 +73,3 @@ "engines": { | ||
}, | ||
"version": "2.0.1" | ||
"version": "2.0.3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
26402
147
+ Addedlodash.sortby@4.7.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedsource-map@0.8.0-beta.0(transitive)
+ Addedtr46@1.0.1(transitive)
+ Addedwebidl-conversions@4.0.2(transitive)
+ Addedwhatwg-url@7.1.0(transitive)
- Removedsource-map@0.7.4(transitive)
Updatedbluebird@^3.7.1
Updatedsource-map@^0.8.0-beta.0