smartlog-destination-devtools/.cache/f8/9ce6c96e1d950f1291d6af67b513e8.json

1 line
8.1 KiB
JSON
Raw Normal View History

2018-11-13 00:32:39 +00:00
{"id":"node_modules/chai/lib/chai/utils/compareByInspect.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/package.json","includedInParent":true,"mtime":1542067438335},{"name":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/chai/package.json","includedInParent":true,"mtime":1542058764034},{"name":"./inspect","loc":{"line":11,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/chai/lib/chai/utils/compareByInspect.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/smartlog-destination-devtools/node_modules/chai/lib/chai/utils/inspect.js"}],"generated":{"js":"/*!\n * Chai - compareByInspect utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/*!\n * Module dependencies\n */\nvar inspect = require('./inspect');\n/**\n * ### .compareByInspect(mixed, mixed)\n *\n * To be used as a compareFunction with Array.prototype.sort. Compares elements\n * using inspect instead of default behavior of using toString so that Symbols\n * and objects with irregular/missing toString can still be sorted without a\n * TypeError.\n *\n * @param {Mixed} first element to compare\n * @param {Mixed} second element to compare\n * @returns {Number} -1 if 'a' should come before 'b'; otherwise 1\n * @name compareByInspect\n * @namespace Utils\n * @api public\n */\n\n\nmodule.exports = function compareByInspect(a, b) {\n return inspect(a) < inspect(b) ? -1 : 1;\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":1,"column":0}},{"generated":{"line":7,"column":0},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":7,"column":0}},{"generated":{"line":10,"column":0},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":0}},{"name":"inspect","generated":{"line":10,"column":4},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":4}},{"generated":{"line":10,"column":11},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":11}},{"name":"require","generated":{"line":10,"column":14},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":14}},{"generated":{"line":10,"column":21},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":21}},{"generated":{"line":10,"column":22},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":22}},{"generated":{"line":10,"column":33},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":21}},{"generated":{"line":10,"column":34},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":11,"column":0}},{"generated":{"line":11,"column":0},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":13,"column":0}},{"name":"module","generated":{"line":28,"column":0},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":0}},{"generated":{"line":28,"column":6},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":6}},{"name":"exports","generated":{"line":28,"column":7},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":7}},{"generated":{"line":28,"column":14},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":0}},{"generated":{"line":28,"column":17},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":17}},{"name":"compareByInspect","generated":{"line":28,"column":26},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":26}},{"generated":{"line":28,"column":42},"source":"node_modules/chai/lib/chai/utils/compareByInspect.js","original":{"line":29,"column":17}},{"n