smartlog-destination-devtools/.cache/2c/e18c44f1d353211cbafd4f8f7c5cb5.json
2018-11-13 01:32:39 +01:00

1 line
18 KiB
JSON

{"id":"node_modules/chai/lib/chai/utils/transferFlags.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 - transferFlags utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .transferFlags(assertion, object, includeAll = true)\n *\n * Transfer all the flags for `assertion` to `object`. If\n * `includeAll` is set to `false`, then the base Chai\n * assertion flags (namely `object`, `ssfi`, `lockSsfi`,\n * and `message`) will not be transferred.\n *\n *\n * var newAssertion = new Assertion();\n * utils.transferFlags(assertion, newAssertion);\n *\n * var anotherAssertion = new Assertion(myObj);\n * utils.transferFlags(assertion, anotherAssertion, false);\n *\n * @param {Assertion} assertion the assertion to transfer the flags from\n * @param {Object} object the object to transfer the flags to; usually a new assertion\n * @param {Boolean} includeAll\n * @namespace Utils\n * @name transferFlags\n * @api private\n */\nmodule.exports = function transferFlags(assertion, object, includeAll) {\n var flags = assertion.__flags || (assertion.__flags = Object.create(null));\n\n if (!object.__flags) {\n object.__flags = Object.create(null);\n }\n\n includeAll = arguments.length === 3 ? includeAll : true;\n\n for (var flag in flags) {\n if (includeAll || flag !== 'object' && flag !== 'ssfi' && flag !== 'lockSsfi' && flag != 'message') {\n object.__flags[flag] = flags[flag];\n }\n }\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":1,"column":0}},{"generated":{"line":7,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":7,"column":0}},{"name":"module","generated":{"line":29,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":0}},{"generated":{"line":29,"column":6},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":6}},{"name":"exports","generated":{"line":29,"column":7},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":7}},{"generated":{"line":29,"column":14},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":0}},{"generated":{"line":29,"column":17},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":17}},{"name":"transferFlags","generated":{"line":29,"column":26},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":26}},{"generated":{"line":29,"column":39},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":17}},{"name":"assertion","generated":{"line":29,"column":40},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":40}},{"generated":{"line":29,"column":49},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":17}},{"name":"object","generated":{"line":29,"column":51},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":51}},{"generated":{"line":29,"column":57},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":17}},{"name":"includeAll","generated":{"line":29,"column":59},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":59}},{"generated":{"line":29,"column":69},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":17}},{"generated":{"line":29,"column":71},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":71}},{"generated":{"line":30,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":2}},{"name":"flags","generated":{"line":30,"column":6},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":6}},{"generated":{"line":30,"column":11},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":11}},{"name":"assertion","generated":{"line":30,"column":14},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":14}},{"generated":{"line":30,"column":23},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":23}},{"name":"__flags","generated":{"line":30,"column":24},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":24}},{"generated":{"line":30,"column":31},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":14}},{"name":"assertion","generated":{"line":30,"column":36},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":36}},{"generated":{"line":30,"column":45},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":45}},{"name":"__flags","generated":{"line":30,"column":46},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":46}},{"generated":{"line":30,"column":53},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":36}},{"name":"Object","generated":{"line":30,"column":56},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":56}},{"generated":{"line":30,"column":62},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":62}},{"name":"create","generated":{"line":30,"column":63},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":63}},{"generated":{"line":30,"column":69},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":56}},{"generated":{"line":30,"column":70},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":70}},{"generated":{"line":30,"column":74},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":56}},{"generated":{"line":30,"column":75},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":14}},{"generated":{"line":30,"column":76},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":31,"column":2}},{"generated":{"line":32,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":2}},{"generated":{"line":32,"column":6},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":6}},{"name":"object","generated":{"line":32,"column":7},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":7}},{"generated":{"line":32,"column":13},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":13}},{"name":"__flags","generated":{"line":32,"column":14},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":14}},{"generated":{"line":32,"column":21},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":2}},{"generated":{"line":32,"column":23},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":33,"column":23}},{"name":"object","generated":{"line":33,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":4}},{"name":"object","generated":{"line":33,"column":4},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":4}},{"generated":{"line":33,"column":10},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":10}},{"name":"__flags","generated":{"line":33,"column":11},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":11}},{"generated":{"line":33,"column":18},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":4}},{"name":"Object","generated":{"line":33,"column":21},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":21}},{"generated":{"line":33,"column":27},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":27}},{"name":"create","generated":{"line":33,"column":28},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":28}},{"generated":{"line":33,"column":34},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":21}},{"generated":{"line":33,"column":35},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":35}},{"generated":{"line":33,"column":39},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":21}},{"generated":{"line":33,"column":40},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":34,"column":4}},{"generated":{"line":34,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":35,"column":3}},{"name":"includeAll","generated":{"line":36,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":2}},{"name":"includeAll","generated":{"line":36,"column":2},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":2}},{"generated":{"line":36,"column":12},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":12}},{"name":"arguments","generated":{"line":36,"column":15},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":15}},{"generated":{"line":36,"column":24},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":24}},{"name":"length","generated":{"line":36,"column":25},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":25}},{"generated":{"line":36,"column":31},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":15}},{"generated":{"line":36,"column":36},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":36}},{"generated":{"line":36,"column":37},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":15}},{"name":"includeAll","generated":{"line":36,"column":40},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":40}},{"generated":{"line":36,"column":50},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":15}},{"generated":{"line":36,"column":53},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":53}},{"generated":{"line":36,"column":57},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":37,"column":2}},{"generated":{"line":38,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":2}},{"generated":{"line":38,"column":7},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":7}},{"name":"flag","generated":{"line":38,"column":11},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":11}},{"generated":{"line":38,"column":15},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":2}},{"name":"flags","generated":{"line":38,"column":19},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":19}},{"generated":{"line":38,"column":24},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":2}},{"generated":{"line":38,"column":26},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":39,"column":26}},{"generated":{"line":39,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":40,"column":4}},{"name":"includeAll","generated":{"line":39,"column":8},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":40,"column":8}},{"generated":{"line":39,"column":18},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":40,"column":18}},{"name":"flag","generated":{"line":39,"column":22},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":9}},{"generated":{"line":39,"column":26},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":13}},{"generated":{"line":39,"column":31},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":18}},{"generated":{"line":39,"column":39},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":9}},{"name":"flag","generated":{"line":39,"column":43},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":30}},{"generated":{"line":39,"column":47},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":34}},{"generated":{"line":39,"column":52},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":39}},{"generated":{"line":39,"column":58},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":9}},{"name":"flag","generated":{"line":39,"column":62},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":49}},{"generated":{"line":39,"column":66},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":53}},{"generated":{"line":39,"column":71},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":58}},{"generated":{"line":39,"column":81},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":9}},{"name":"flag","generated":{"line":39,"column":85},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":72}},{"generated":{"line":39,"column":89},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":76}},{"generated":{"line":39,"column":93},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":80}},{"generated":{"line":39,"column":102},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":40,"column":4}},{"generated":{"line":39,"column":104},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":41,"column":92}},{"name":"object","generated":{"line":40,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":6}},{"name":"object","generated":{"line":40,"column":6},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":6}},{"generated":{"line":40,"column":12},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":12}},{"name":"__flags","generated":{"line":40,"column":13},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":13}},{"generated":{"line":40,"column":20},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":6}},{"name":"flag","generated":{"line":40,"column":21},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":21}},{"generated":{"line":40,"column":25},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":6}},{"name":"flags","generated":{"line":40,"column":29},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":29}},{"generated":{"line":40,"column":34},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":34}},{"name":"flag","generated":{"line":40,"column":35},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":35}},{"generated":{"line":40,"column":39},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":34}},{"generated":{"line":40,"column":40},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":42,"column":6}},{"generated":{"line":41,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":43,"column":5}},{"generated":{"line":42,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":44,"column":3}},{"generated":{"line":43,"column":0},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":45,"column":1}},{"generated":{"line":43,"column":1},"source":"node_modules/chai/lib/chai/utils/transferFlags.js","original":{"line":30,"column":0}}],"sources":{"node_modules/chai/lib/chai/utils/transferFlags.js":"/*!\n * Chai - transferFlags utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .transferFlags(assertion, object, includeAll = true)\n *\n * Transfer all the flags for `assertion` to `object`. If\n * `includeAll` is set to `false`, then the base Chai\n * assertion flags (namely `object`, `ssfi`, `lockSsfi`,\n * and `message`) will not be transferred.\n *\n *\n * var newAssertion = new Assertion();\n * utils.transferFlags(assertion, newAssertion);\n *\n * var anotherAssertion = new Assertion(myObj);\n * utils.transferFlags(assertion, anotherAssertion, false);\n *\n * @param {Assertion} assertion the assertion to transfer the flags from\n * @param {Object} object the object to transfer the flags to; usually a new assertion\n * @param {Boolean} includeAll\n * @namespace Utils\n * @name transferFlags\n * @api private\n */\n\nmodule.exports = function transferFlags(assertion, object, includeAll) {\n var flags = assertion.__flags || (assertion.__flags = Object.create(null));\n\n if (!object.__flags) {\n object.__flags = Object.create(null);\n }\n\n includeAll = arguments.length === 3 ? includeAll : true;\n\n for (var flag in flags) {\n if (includeAll ||\n (flag !== 'object' && flag !== 'ssfi' && flag !== 'lockSsfi' && flag != 'message')) {\n object.__flags[flag] = flags[flag];\n }\n }\n};\n"},"lineCount":null}},"hash":"87c4f9cb6f18d80878dc6a1d0e0d0a48","cacheData":{"env":{}}}