smartlog-destination-devtools/.cache/80/54ce8e9962e38b36ca9d351deeddf7.json

1 line
10 KiB
JSON
Raw Normal View History

2018-11-13 00:32:39 +00:00
{"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,"c