1 line
19 KiB
JSON
1 line
19 KiB
JSON
|
{"id":"JyIG","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/@pushrocks/lik/ts/lik.objectmap.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395749058},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/@pushrocks/lik/package.json","includedInParent":true,"mtime":1545395355371}],"generated":{"js":"\"use strict\";var t=this&&this.__awaiter||function(t,e,r,o){return new(r||(r=Promise))(function(n,i){function c(t){try{h(o.next(t))}catch(e){i(e)}}function s(t){try{h(o.throw(t))}catch(e){i(e)}}function h(t){t.done?n(t.value):new r(function(e){e(t.value)}).then(c,s)}h((o=o.apply(t,e||[])).next())})};Object.defineProperty(exports,\"__esModule\",{value:!0});class e{constructor(){this.objectArray=[]}add(t){return!this.checkForObject(t)&&(this.objectArray.push(t),!0)}addArray(t){for(let e of t)this.add(e)}checkForObject(t){return-1!==this.objectArray.indexOf(t)}find(t){const e=this.objectArray.filter(t);return e.length>0?e[0]:null}findOneAndRemove(t){const e=this.find(t);return e&&this.remove(e),e}forEach(e){return t(this,void 0,void 0,function*(){for(let t of this.objectArray)yield e(t)})}getOneAndRemove(){return this.objectArray.shift()}getArray(){const t=[];for(const e of this.objectArray)t.push(e);return t}isEmpty(){return 0===this.objectArray.length}remove(t){let e=[];for(let r of this.objectArray)r!==t&&e.push(r);this.objectArray=e}wipe(){this.objectArray=[]}}exports.Objectmap=e;","map":{"mappings":[{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":14,"column":0},"generated":{"line":1,"column":355}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":14,"column":13},"generated":{"line":1,"column":361}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":20,"column":2},"generated":{"line":1,"column":363}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":15,"column":10},"generated":{"line":1,"column":377}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":15,"column":10},"generated":{"line":1,"column":382}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":15,"column":29},"generated":{"line":1,"column":394}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":29,"column":9},"generated":{"line":1,"column":397}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":29,"column":13},"generated":{"line":1,"column":401}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":30,"column":4},"generated":{"line":1,"column":404}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":30,"column":8},"generated":{"line":1,"column":411}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":30,"column":13},"generated":{"line":1,"column":416}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":30,"column":28},"generated":{"line":1,"column":431}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":35,"column":6},"generated":{"line":1,"column":436}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":35,"column":11},"generated":{"line":1,"column":441}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":35,"column":23},"generated":{"line":1,"column":453}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":35,"column":28},"generated":{"line":1,"column":458}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":36,"column":13},"generated":{"line":1,"column":462}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":43,"column":9},"generated":{"line":1,"column":465}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":43,"column":18},"generated":{"line":1,"column":474}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":44,"column":4},"generated":{"line":1,"column":477}},{"source":"../ts/lik.objectmap.ts","name":null,"original":{"line":44,"column":9},"generated":{"line":1,"column":481}},{"source":"../
|