Socket
Socket
Sign inDemoInstall

@supercharge/queue-datastructure

Package Overview
Dependencies
0
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

2.1.0

Diff

Changelog

Source

2.1.0 - 2020-08-20

Updated

  • move tests to TypeScript
  • test directly the TypeScript code via ts-jest
  • point main in package.json to export the transpiled code
  • point types in package.json to export the types from the transpiled code

Removed

  • deleted index.js file which acted as a middleman to export the transpiled code
marcuspoehls
published 2.0.0 •

Changelog

Source

2.0.0 - 2020-08-16

Added

  • make the queue generic
  • making the queue generic enables IntelliSense support for items
  • implement the Iterable interface via [Symbol.iterator] to allow iterators and for..of loops

Updated

Breaking Changes

This version transitions the queue instance to a generic queue. This enforces queue items to be of the same type when using TypeScript. You probably used the queue already for items of the same type. If not, 2.0 may be a breaking change for you.

marcuspoehls
published 1.3.1 •

Changelog

Source

1.3.1 - 2020-04-20

Updated

  • use ES2017 as output target (Node.js v8)

Fixed

  • secret token to publish the package in the GitHub Package Registry
marcuspoehls
published 1.3.0 •

Changelog

Source

1.3.0 - 2020-04-14

Added

  • link types in package.json
  • the .clear method returns the queue instance allowing fluent method calls

Updated

  • bump dependencies
  • use TypeScript in tests
  • run tests with lab-transform-typescript
  • update GitHub token in publish workflow
marcuspoehls
published 1.2.0 •

Changelog

Source

1.2.0 - 2020-04-13

Added

  • the .enqueue method returns the queue instance allowing fluent method calls
  • the .clear method returns the queue instance allowing fluent method calls

Updated

  • migrated code base to TypeScript
    • this automatically creates typings while transpiling the code

Removed

  • moved to GitHub Actions for testing and removed .travis.yml
marcuspoehls
published 1.1.1 •

Changelog

Source

1.1.1 - 2019-09-24

Updated

  • bump dependencies
  • fix typo in Readme
  • refine tests
marcuspoehls
published 1.1.0 •

Changelog

Source

1.1.0 - 2019-07-17

Added

  • .items() method returning the queue’s items as an array

Updated

  • remove lodash as a dependency
marcuspoehls
published 1.0.1 •

Changelog

Source

1.0.1 - 2019-07-12

Updated

  • bump dependencies
  • fix code formatting for Standard.js v13
  • update image URLs for Travis and NPM badges
marcuspoehls
published 1.0.0 •

Changelog

Source

1.0.0 - 2019-07-05

Added

  • 1.0.0 release 🚀 🎉
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc