smartlog-destination-devtools/.cache/80/54ce8e9962e38b36ca9d351deeddf7.json
2018-11-13 01:32:39 +01:00

1 line
10 KiB
JSON

{"id":"node_modules/chai/lib/chai/utils/flag.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 - flag utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .flag(object, key, [value])\n *\n * Get or set a flag value on an object. If a\n * value is provided it will be set, else it will\n * return the currently set value or `undefined` if\n * the value is not set.\n *\n * utils.flag(this, 'foo', 'bar'); // setter\n * utils.flag(this, 'foo'); // getter, returns `bar`\n *\n * @param {Object} object constructed Assertion\n * @param {String} key\n * @param {Mixed} value (optional)\n * @namespace Utils\n * @name flag\n * @api private\n */\nmodule.exports = function flag(obj, key, value) {\n var flags = obj.__flags || (obj.__flags = Object.create(null));\n\n if (arguments.length === 3) {\n flags[key] = value;\n } else {\n return flags[key];\n }\n};","map":{"mappings":[{"generated":{"line":1,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":1,"column":0}},{"generated":{"line":7,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":7,"column":0}},{"name":"module","generated":{"line":25,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":0}},{"generated":{"line":25,"column":6},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":6}},{"name":"exports","generated":{"line":25,"column":7},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":7}},{"generated":{"line":25,"column":14},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":0}},{"generated":{"line":25,"column":17},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":17}},{"name":"flag","generated":{"line":25,"column":26},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":26}},{"generated":{"line":25,"column":30},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":17}},{"name":"obj","generated":{"line":25,"column":31},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":31}},{"generated":{"line":25,"column":34},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":17}},{"name":"key","generated":{"line":25,"column":36},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":36}},{"generated":{"line":25,"column":39},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":17}},{"name":"value","generated":{"line":25,"column":41},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":41}},{"generated":{"line":25,"column":46},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":17}},{"generated":{"line":25,"column":48},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":48}},{"generated":{"line":26,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":2}},{"name":"flags","generated":{"line":26,"column":6},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":6}},{"generated":{"line":26,"column":11},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":11}},{"name":"obj","generated":{"line":26,"column":14},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":14}},{"generated":{"line":26,"column":17},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":17}},{"name":"__flags","generated":{"line":26,"column":18},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":18}},{"generated":{"line":26,"column":25},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":14}},{"name":"obj","generated":{"line":26,"column":30},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":30}},{"generated":{"line":26,"column":33},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":33}},{"name":"__flags","generated":{"line":26,"column":34},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":34}},{"generated":{"line":26,"column":41},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":30}},{"name":"Object","generated":{"line":26,"column":44},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":44}},{"generated":{"line":26,"column":50},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":50}},{"name":"create","generated":{"line":26,"column":51},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":51}},{"generated":{"line":26,"column":57},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":44}},{"generated":{"line":26,"column":58},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":58}},{"generated":{"line":26,"column":62},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":44}},{"generated":{"line":26,"column":63},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":14}},{"generated":{"line":26,"column":64},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":27,"column":2}},{"generated":{"line":28,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":2}},{"name":"arguments","generated":{"line":28,"column":6},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":6}},{"generated":{"line":28,"column":15},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":15}},{"name":"length","generated":{"line":28,"column":16},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":16}},{"generated":{"line":28,"column":22},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":6}},{"generated":{"line":28,"column":27},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":27}},{"generated":{"line":28,"column":28},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":2}},{"generated":{"line":28,"column":30},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":30}},{"name":"flags","generated":{"line":29,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":4}},{"name":"flags","generated":{"line":29,"column":4},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":4}},{"generated":{"line":29,"column":9},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":9}},{"name":"key","generated":{"line":29,"column":10},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":10}},{"generated":{"line":29,"column":13},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":9}},{"generated":{"line":29,"column":14},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":4}},{"name":"value","generated":{"line":29,"column":17},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":17}},{"generated":{"line":29,"column":22},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":29,"column":4}},{"generated":{"line":30,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":30,"column":3}},{"generated":{"line":30,"column":3},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":28,"column":2}},{"generated":{"line":30,"column":9},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":30,"column":9}},{"generated":{"line":31,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":4}},{"name":"flags","generated":{"line":31,"column":11},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":11}},{"generated":{"line":31,"column":16},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":16}},{"name":"key","generated":{"line":31,"column":17},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":17}},{"generated":{"line":31,"column":20},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":16}},{"generated":{"line":31,"column":21},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":31,"column":4}},{"generated":{"line":32,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":32,"column":3}},{"generated":{"line":33,"column":0},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":33,"column":1}},{"generated":{"line":33,"column":1},"source":"node_modules/chai/lib/chai/utils/flag.js","original":{"line":26,"column":0}}],"sources":{"node_modules/chai/lib/chai/utils/flag.js":"/*!\n * Chai - flag utility\n * Copyright(c) 2012-2014 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\n\n/**\n * ### .flag(object, key, [value])\n *\n * Get or set a flag value on an object. If a\n * value is provided it will be set, else it will\n * return the currently set value or `undefined` if\n * the value is not set.\n *\n * utils.flag(this, 'foo', 'bar'); // setter\n * utils.flag(this, 'foo'); // getter, returns `bar`\n *\n * @param {Object} object constructed Assertion\n * @param {String} key\n * @param {Mixed} value (optional)\n * @namespace Utils\n * @name flag\n * @api private\n */\n\nmodule.exports = function flag(obj, key, value) {\n var flags = obj.__flags || (obj.__flags = Object.create(null));\n if (arguments.length === 3) {\n flags[key] = value;\n } else {\n return flags[key];\n }\n};\n"},"lineCount":null}},"hash":"15b3520ba97c4474520dc1eadd2556dc","cacheData":{"env":{}}}