Socket
Socket
Sign inDemoInstall

@blackglory/structures

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blackglory/structures - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [0.1.7](https://github.com/BlackGlory/structures/compare/v0.1.6...v0.1.7) (2021-01-15)
### [0.1.6](https://github.com/BlackGlory/structures/compare/v0.1.5...v0.1.6) (2021-01-05)

@@ -7,0 +9,0 @@

1

dist/es2015/index.umd.js

@@ -35,3 +35,2 @@ (function (global, factory) {

var es2018 = createCommonjsModule(function (module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomError = void 0;

@@ -38,0 +37,0 @@ class CustomError extends Error {

@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Structures={})}(this,(function(e){"use strict";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function t(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}var s,r,i,n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CustomError=void 0;class s extends Error{get name(){return this.constructor.name}}t.CustomError=s}));s=new WeakMap;class o extends n.CustomError{constructor(){super("Queue is empty.")}}class h{constructor(e){this.hash=e,r.set(this,new Map)}add(e){return t(this,r).set(this.hash(e),e),this}delete(e){return t(this,r).delete(this.hash(e))}has(e){return t(this,r).has(this.hash(e))}clear(){t(this,r).clear()}values(){return t(this,r).values()}get size(){return t(this,r).size}get[(r=new WeakMap,Symbol.toStringTag)](){return this.constructor.name}[Symbol.iterator](){return t(this,r).values()}}i=new WeakMap,e.Emitter=class{constructor(){i.set(this,new Map)}on(e,s){t(this,i).has(e)||t(this,i).set(e,new Set);t(this,i).get(e).add(s)}off(e,s){if(t(this,i).has(e)){const r=t(this,i).get(e);r.delete(s),0===r.size&&t(this,i).delete(e)}}emit(e,s){if(t(this,i).has(e)){t(this,i).get(e).forEach((e=>e(s)))}}},e.EmptyQueueError=o,e.HashSet=h,e.Queue=class{constructor(){s.set(this,[])}empty(){t(this,s).length=0}enqueue(...e){t(this,s).push(...e)}dequeue(){if(0===this.size)throw new o;return t(this,s).shift()}get size(){return t(this,s).length}},Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */function t(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}var s,r,i,n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e,t){t.CustomError=void 0;class s extends Error{get name(){return this.constructor.name}}t.CustomError=s}));s=new WeakMap;class o extends n.CustomError{constructor(){super("Queue is empty.")}}class h{constructor(e){this.hash=e,r.set(this,new Map)}add(e){return t(this,r).set(this.hash(e),e),this}delete(e){return t(this,r).delete(this.hash(e))}has(e){return t(this,r).has(this.hash(e))}clear(){t(this,r).clear()}values(){return t(this,r).values()}get size(){return t(this,r).size}get[(r=new WeakMap,Symbol.toStringTag)](){return this.constructor.name}[Symbol.iterator](){return t(this,r).values()}}i=new WeakMap,e.Emitter=class{constructor(){i.set(this,new Map)}on(e,s){t(this,i).has(e)||t(this,i).set(e,new Set);t(this,i).get(e).add(s)}off(e,s){if(t(this,i).has(e)){const r=t(this,i).get(e);r.delete(s),0===r.size&&t(this,i).delete(e)}}emit(e,s){if(t(this,i).has(e)){t(this,i).get(e).forEach((e=>e(s)))}}},e.EmptyQueueError=o,e.HashSet=h,e.Queue=class{constructor(){s.set(this,[])}empty(){t(this,s).length=0}enqueue(...e){t(this,s).push(...e)}dequeue(){if(0===this.size)throw new o;return t(this,s).shift()}get size(){return t(this,s).length}},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.umd.min.js.map

@@ -35,3 +35,2 @@ (function (global, factory) {

var es2018 = createCommonjsModule(function (module, exports) {
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomError = void 0;

@@ -38,0 +37,0 @@ class CustomError extends Error {

@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Structures={})}(this,(function(e){"use strict";

PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function t(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}var s,r,i,n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CustomError=void 0;class s extends Error{get name(){return this.constructor.name}}t.CustomError=s}));s=new WeakMap;class o extends n.CustomError{constructor(){super("Queue is empty.")}}class h{constructor(e){this.hash=e,r.set(this,new Map)}add(e){return t(this,r).set(this.hash(e),e),this}delete(e){return t(this,r).delete(this.hash(e))}has(e){return t(this,r).has(this.hash(e))}clear(){t(this,r).clear()}values(){return t(this,r).values()}get size(){return t(this,r).size}get[(r=new WeakMap,Symbol.toStringTag)](){return this.constructor.name}[Symbol.iterator](){return t(this,r).values()}}i=new WeakMap,e.Emitter=class{constructor(){i.set(this,new Map)}on(e,s){t(this,i).has(e)||t(this,i).set(e,new Set);t(this,i).get(e).add(s)}off(e,s){if(t(this,i).has(e)){const r=t(this,i).get(e);r.delete(s),0===r.size&&t(this,i).delete(e)}}emit(e,s){if(t(this,i).has(e)){t(this,i).get(e).forEach((e=>e(s)))}}},e.EmptyQueueError=o,e.HashSet=h,e.Queue=class{constructor(){s.set(this,[])}empty(){t(this,s).length=0}enqueue(...e){t(this,s).push(...e)}dequeue(){if(0===this.size)throw new o;return t(this,s).shift()}get size(){return t(this,s).length}},Object.defineProperty(e,"__esModule",{value:!0})}));
***************************************************************************** */function t(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}var s,r,i,n=function(e){var t={exports:{}};return e(t,t.exports),t.exports}((function(e,t){t.CustomError=void 0;class s extends Error{get name(){return this.constructor.name}}t.CustomError=s}));s=new WeakMap;class o extends n.CustomError{constructor(){super("Queue is empty.")}}class h{constructor(e){this.hash=e,r.set(this,new Map)}add(e){return t(this,r).set(this.hash(e),e),this}delete(e){return t(this,r).delete(this.hash(e))}has(e){return t(this,r).has(this.hash(e))}clear(){t(this,r).clear()}values(){return t(this,r).values()}get size(){return t(this,r).size}get[(r=new WeakMap,Symbol.toStringTag)](){return this.constructor.name}[Symbol.iterator](){return t(this,r).values()}}i=new WeakMap,e.Emitter=class{constructor(){i.set(this,new Map)}on(e,s){t(this,i).has(e)||t(this,i).set(e,new Set);t(this,i).get(e).add(s)}off(e,s){if(t(this,i).has(e)){const r=t(this,i).get(e);r.delete(s),0===r.size&&t(this,i).delete(e)}}emit(e,s){if(t(this,i).has(e)){t(this,i).get(e).forEach((e=>e(s)))}}},e.EmptyQueueError=o,e.HashSet=h,e.Queue=class{constructor(){s.set(this,[])}empty(){t(this,s).length=0}enqueue(...e){t(this,s).push(...e)}dequeue(){if(0===this.size)throw new o;return t(this,s).shift()}get size(){return t(this,s).length}},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.umd.min.js.map
{
"name": "@blackglory/structures",
"version": "0.1.6",
"version": "0.1.7",
"description": "",

@@ -43,2 +43,3 @@ "files": [

"@rollup/plugin-node-resolve": "^11.0.1",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-typescript": "^8.0.0",

@@ -45,0 +46,0 @@ "@types/jest": "^26.0.19",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc