logged-errors
Advanced tools
Comparing version 2.8.1-3 to 2.8.1-4
@@ -363,28 +363,3 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
},{"util/":4}],2:[function(require,module,exports){ | ||
if (typeof Object.create === 'function') { | ||
// implementation from standard node.js 'util' module | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
}; | ||
} else { | ||
// old school shim for old browsers | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
},{}],3:[function(require,module,exports){ | ||
},{"util/":3}],2:[function(require,module,exports){ | ||
module.exports = function isBuffer(arg) { | ||
@@ -396,3 +371,3 @@ return arg && typeof arg === 'object' | ||
} | ||
},{}],4:[function(require,module,exports){ | ||
},{}],3:[function(require,module,exports){ | ||
(function (process,global){ | ||
@@ -987,5 +962,28 @@ // Copyright Joyent, Inc. and other Node contributors. | ||
}).call(this,require("Vyf5Vp"),typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) | ||
},{"./support/isBuffer":3,"Vyf5Vp":6,"inherits":2}],5:[function(require,module,exports){ | ||
module.exports=require(2) | ||
},{}],6:[function(require,module,exports){ | ||
},{"./support/isBuffer":2,"Vyf5Vp":5,"inherits":4}],4:[function(require,module,exports){ | ||
if (typeof Object.create === 'function') { | ||
// implementation from standard node.js 'util' module | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
}; | ||
} else { | ||
// old school shim for old browsers | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
},{}],5:[function(require,module,exports){ | ||
// shim for using process in browser | ||
@@ -1055,10 +1053,10 @@ | ||
},{}],6:[function(require,module,exports){ | ||
module.exports=require(2) | ||
},{}],7:[function(require,module,exports){ | ||
module.exports=require(3) | ||
},{}],8:[function(require,module,exports){ | ||
module.exports=require(4) | ||
},{"./support/isBuffer":7,"Vyf5Vp":6,"inherits":5}],9:[function(require,module,exports){ | ||
},{"./support/isBuffer":6,"Vyf5Vp":5,"inherits":4}],8:[function(require,module,exports){ | ||
window.loggedErrors = require('./lib'); | ||
},{"./lib":13}],10:[function(require,module,exports){ | ||
},{"./lib":12}],9:[function(require,module,exports){ | ||
function _assert(arg, type, name, stackFunc) { | ||
@@ -1085,3 +1083,3 @@ name = name || type; | ||
exports.object = object; | ||
},{}],11:[function(require,module,exports){ | ||
},{}],10:[function(require,module,exports){ | ||
exports.STATUS_CODES = { | ||
@@ -1146,3 +1144,3 @@ 100 : 'Continue', | ||
},{}],12:[function(require,module,exports){ | ||
},{}],11:[function(require,module,exports){ | ||
// Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
@@ -1286,3 +1284,5 @@ | ||
return (err); | ||
} | ||
}, | ||
codeToErrorName: codeToErrorName | ||
}; | ||
@@ -1346,3 +1346,3 @@ | ||
} | ||
},{"./assert-plus":10,"./http":11,"object_utils":15,"util":8,"verror":16}],13:[function(require,module,exports){ | ||
},{"./assert-plus":9,"./http":10,"object_utils":14,"util":7,"verror":15}],12:[function(require,module,exports){ | ||
// Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
@@ -1356,3 +1356,4 @@ | ||
httpErrors.setConfig(config); | ||
} | ||
}, | ||
codeToErrorName: httpErrors.codeToErrorName | ||
}; | ||
@@ -1369,3 +1370,3 @@ | ||
},{"./http_error":12,"./rest_error":14}],14:[function(require,module,exports){ | ||
},{"./http_error":11,"./rest_error":13}],13:[function(require,module,exports){ | ||
// Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
@@ -1465,3 +1466,3 @@ | ||
},{"./assert-plus":10,"./http_error":12,"util":8}],15:[function(require,module,exports){ | ||
},{"./assert-plus":9,"./http_error":11,"util":7}],14:[function(require,module,exports){ | ||
/** | ||
@@ -1606,3 +1607,3 @@ * @class node_modules.object_utils | ||
},{}],16:[function(require,module,exports){ | ||
},{}],15:[function(require,module,exports){ | ||
/* | ||
@@ -1766,3 +1767,3 @@ * verror.js: richer JavaScript errors | ||
},{"assert":1,"extsprintf":17,"util":8}],17:[function(require,module,exports){ | ||
},{"assert":1,"extsprintf":16,"util":7}],16:[function(require,module,exports){ | ||
/* | ||
@@ -1935,2 +1936,2 @@ * extsprintf.js: extended POSIX-style sprintf | ||
},{"assert":1,"util":8}]},{},[9]) | ||
},{"assert":1,"util":7}]},{},[8]) |
@@ -139,3 +139,5 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
return (err); | ||
} | ||
}, | ||
codeToErrorName: codeToErrorName | ||
}; | ||
@@ -142,0 +144,0 @@ |
@@ -9,3 +9,4 @@ // Copyright 2012 Mark Cavage, Inc. All rights reserved. | ||
httpErrors.setConfig(config); | ||
} | ||
}, | ||
codeToErrorName: httpErrors.codeToErrorName | ||
}; | ||
@@ -12,0 +13,0 @@ |
@@ -15,3 +15,3 @@ { | ||
}, | ||
"version": "2.8.1-3", | ||
"version": "2.8.1-4", | ||
"description": "restify component (errors), extracted from \"restify\" with additional chainable features", | ||
@@ -18,0 +18,0 @@ "contributors": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
68437
1950
0