Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

structurae

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

structurae - npm Package Versions

13
8

4.0.0-pre.6

Diff

Changelog

Source

[4.0.0-pre.6] - 2021-06-26

Added

  • Support typing View schemas through ViewSchema interface.
maga
published 4.0.0-pre.5 •

Changelog

Source

[4.0.0-pre.5] - 2021-06-24

Added

  • View.create accepts object constructor as optional second parameter.
maga
published 4.0.0-pre.4 •

maga
published 4.0.0-pre.3 •

maga
published 4.0.0-pre.2 •

maga
published 4.0.0-pre.1 •

Changelog

Source

[4.0.0-pre.1] - 2021-06-16

Changed

(breaking changes)

  • The library is rewritten in TypeScript and distributed as ECMAScript modules targeting ES2020.
  • Structures extending built-in interfaces (e.g. TypedArrays, Array) no longer overload their parent constructor instead using static factory method create, e.g. instead of new Pool(30) use Pool.create(30).
  • Adjacency structures are reworked: they no longer extend grid structures, directed and undirected matrices are split into different classes, unweighted list is removed, the names are changed accordingly.
  • Binary structures are reworked and centralized with the addition of the View class that serves as the entry point for all views. Mixins related to binary structures are removed, use View.create to initialize view classes for all supported types, including objects, maps, arrays, etc.
  • BitFieldMixin no longer automatically creates BigBitField, use BigBitFieldMixin explicitly if bigints are needed.

Removed

  • SortedCollection is removed in favor of SortedArray.
  • BinaryProtocol is removed, part of its functionality is implemented in View.
  • UnweightedList is removed.
maga
published 3.3.0 •

Changelog

Source

[3.3.0] - 2020-07-14

  • Add VectorView
maga
published 3.2.0 •

Changelog

Source

[3.2.0] - 2020-07-09

  • Support required fields and default values in MapView.
  • Support nested MapViews.
maga
published 3.1.1 •

Changelog

Source

[3.1.1] - 2020-06-25

Changed

  • Optimize StringView encoding and decoding.
maga
published 3.1.0 •

Changelog

Source

[3.1.0] - 2020-05-28

Added

  • Support setting maximum size for strings and arrays in MapView.
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