1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"id":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.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 - getOwnEnumerablePropertySymbols utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .getOwnEnumerablePropertySymbols(object)\n *\n * This allows the retrieval of directly-owned enumerable property symbols of an\n * object. This function is necessary because Object.getOwnPropertySymbols\n * returns both enumerable and non-enumerable property symbols.\n *\n * @param {Object} object\n * @returns {Array}\n * @namespace Utils\n * @name getOwnEnumerablePropertySymbols\n * @api public\n */\nmodule.exports = function getOwnEnumerablePropertySymbols(obj) {\n if (typeof Object.getOwnPropertySymbols !== 'function') return [];\n return Object.getOwnPropertySymbols(obj).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(obj, sym).enumerable;\n });\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":1,"column":0}},{"generated":{"line":7,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":7,"column":0}},{"name":"module","generated":{"line":20,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":0}},{"generated":{"line":20,"column":6},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":6}},{"name":"exports","generated":{"line":20,"column":7},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":7}},{"generated":{"line":20,"column":14},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":0}},{"generated":{"line":20,"column":17},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":17}},{"name":"getOwnEnumerablePropertySymbols","generated":{"line":20,"column":26},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":26}},{"generated":{"line":20,"column":57},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":17}},{"name":"obj","generated":{"line":20,"column":58},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":58}},{"generated":{"line":20,"column":61},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":17}},{"generated":{"line":20,"column":63},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":63}},{"generated":{"line":21,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":2}},{"generated":{"line":21,"column":6},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":6}},{"name":"Object","generated":{"line":21,"column":13},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":13}},{"generated":{"line":21,"column":19},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":19}},{"name":"getOwnPropertySymbols","generated":{"line":21,"column":20},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":20}},{"generated":{"line":21,"column":41},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":6}},{"generated":{"line":21,"column":46},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":46}},{"generated":{"line":21,"column":56},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":2}},{"generated":{"line":21,"column":58},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":58}},{"generated":{"line":21,"column":65},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":65}},{"generated":{"line":21,"column":67},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":22,"column":58}},{"generated":{"line":22,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":2}},{"name":"Object","generated":{"line":22,"column":9},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":9}},{"generated":{"line":22,"column":15},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":15}},{"name":"getOwnPropertySymbols","generated":{"line":22,"column":16},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":16}},{"generated":{"line":22,"column":37},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":9}},{"name":"obj","generated":{"line":22,"column":38},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":38}},{"generated":{"line":22,"column":41},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":9}},{"name":"filter","generated":{"line":22,"column":43},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":43}},{"generated":{"line":22,"column":49},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":9}},{"generated":{"line":22,"column":50},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":50}},{"name":"sym","generated":{"line":22,"column":60},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":60}},{"generated":{"line":22,"column":63},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":50}},{"generated":{"line":22,"column":65},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":65}},{"generated":{"line":23,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":4}},{"name":"Object","generated":{"line":23,"column":11},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":11}},{"generated":{"line":23,"column":17},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":17}},{"name":"getOwnPropertyDescriptor","generated":{"line":23,"column":18},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":18}},{"generated":{"line":23,"column":42},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":11}},{"name":"obj","generated":{"line":23,"column":43},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":43}},{"generated":{"line":23,"column":46},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":11}},{"name":"sym","generated":{"line":23,"column":48},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":48}},{"generated":{"line":23,"column":51},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":11}},{"name":"enumerable","generated":{"line":23,"column":53},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":53}},{"generated":{"line":23,"column":63},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":25,"column":4}},{"generated":{"line":24,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":26,"column":3}},{"generated":{"line":24,"column":3},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":9}},{"generated":{"line":24,"column":4},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":24,"column":2}},{"generated":{"line":25,"column":0},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":27,"column":1}},{"generated":{"line":25,"column":1},"source":"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js","original":{"line":21,"column":0}}],"sources":{"node_modules/chai/lib/chai/utils/getOwnEnumerablePropertySymbols.js":"/*!\n * Chai - getOwnEnumerablePropertySymbols utility\n * Copyright(c) 2011-2016 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .getOwnEnumerablePropertySymbols(object)\n *\n * This allows the retrieval of directly-owned enumerable property symbols of an\n * object. This function is necessary because Object.getOwnPropertySymbols\n * returns both enumerable and non-enumerable property symbols.\n *\n * @param {Object} object\n * @returns {Array}\n * @namespace Utils\n * @name getOwnEnumerablePropertySymbols\n * @api public\n */\n\nmodule.exports = function getOwnEnumerablePropertySymbols(obj) {\n if (typeof Object.getOwnPropertySymbols !== 'function') return [];\n\n return Object.getOwnPropertySymbols(obj).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(obj, sym).enumerable;\n });\n};\n"},"lineCount":null}},"hash":"45a5500cd597b062c8095f000791279d","cacheData":{"env":{}}} |