smartlog-destination-devtools/.cache/a3/d77fdc427d55e6a134605a06a11f11.json

1 line
15 KiB
JSON
Raw Normal View History

2018-11-13 00:32:39 +00:00
{"id":"node_modules/chai/lib/chai/utils/getProperties.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}],"generated":{"js":"/*!\n * Chai - getProperties utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .getProperties(object)\n *\n * This allows the retrieval of property names of an object, enumerable or not,\n * inherited or not.\n *\n * @param {Object} object\n * @returns {Array}\n * @namespace Utils\n * @name getProperties\n * @api public\n */\nmodule.exports = function getProperties(object) {\n var result = Object.getOwnPropertyNames(object);\n\n function addProperty(property) {\n if (result.indexOf(property) === -1) {\n result.push(property);\n }\n }\n\n var proto = Object.getPrototypeOf(object);\n\n while (proto !== null) {\n Object.getOwnPropertyNames(proto).forEach(addProperty);\n proto = Object.getPrototypeOf(proto);\n }\n\n return result;\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":1,"column":0}},{"generated":{"line":7,"column":0},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":7,"column":0}},{"name":"module","generated":{"line":19,"column":0},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":0}},{"generated":{"line":19,"column":6},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":6}},{"name":"exports","generated":{"line":19,"column":7},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":7}},{"generated":{"line":19,"column":14},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":0}},{"generated":{"line":19,"column":17},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":17}},{"name":"getProperties","generated":{"line":19,"column":26},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":26}},{"generated":{"line":19,"column":39},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":17}},{"name":"object","generated":{"line":19,"column":40},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":40}},{"generated":{"line":19,"column":46},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":17}},{"generated":{"line":19,"column":48},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":20,"column":48}},{"generated":{"line":20,"column":0},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":2}},{"name":"result","generated":{"line":20,"column":6},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":6}},{"generated":{"line":20,"column":12},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":12}},{"name":"Object","generated":{"line":20,"column":15},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":15}},{"generated":{"line":20,"column":21},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":21}},{"name":"getOwnPropertyNames","generated":{"line":20,"column":22},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":22}},{"generated":{"line":20,"column":41},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":15}},{"name":"object","generated":{"line":20,"column":42},"source":"node_modules/chai/lib/chai/utils/getProperties.js","original":{"line":21,"column":42}},{"generated":{"line":20,"column":48},"source":"node_m