New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More β†’
Socket
Sign inDemoInstall
Socket

@sapphire/pieces

Package Overview
Dependencies
Maintainers
0
Versions
521
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sapphire/pieces - npm Package Versions

1
…
5051

2.0.0

Diff

Changelog

Source

2.0.0 (2021-05-08)

⚠ BREAKING CHANGES

  • Renamed PieceContextExtras to Container, usage and augmentation is the same.

  • Removed Store.injectedContext, use globally exported container variable instead.

  • Renamed Store#context to Store#container.

  • Renamed Piece#context to Piece#container.

  • minor naming changes for consistency with ecosystem (40f85d6)

favna.
published 1.2.5 β€’

Changelog

Source

1.2.5 (2021-05-02)

Bug Fixes

  • drop the www. from the SapphireJS URL (e87e50e)
  • update all the SapphireJS URLs from .com to .dev (0a9c1b3)
favna.
published 1.2.4 β€’

Changelog

Source

1.2.4 (2021-04-21)

Bug Fixes

  • change all Sapphire URLs from "project"->"community" & use our domain where applicable πŸ‘¨β€πŸŒΎπŸšœ (#69) (fc55625)
favna.
published 1.2.3 β€’

Changelog

Source

1.2.3 (2021-03-16)

Bug Fixes

  • add tslib as dependency (a7d9695)
  • update packages, ship with tslib (f7b76c2)
favna.
published 1.2.2 β€’

Changelog

Source

1.2.2 (2021-02-12)

Bug Fixes

  • docs: tsdoc has been improved (c9ee146)
favna.
published 1.2.1 β€’

Changelog

Source

1.2.1 (2021-01-30)

Bug Fixes

  • update discord redirect URL (f1dbdee)
  • aliaspiece: make aliases writable (#51) (7ed3da6)
favna.
published 1.2.0 β€’

Changelog

Source

1.2.0 (2021-01-21)

Features

  • Expose Store.construct & Store.insert (#47) (797ddac)
favna.
published 1.1.0 β€’

Changelog

Source

1.1.0 (2021-01-08)

Features

favna.
published 1.0.1 β€’

Changelog

Source

1.0.1 (2020-12-28)

Bug Fixes

  • loader: compare constructors instead of prototypes (#40) (807cf6a)
  • store: call unload when onLoad disables the piece (#39) (4bb9be0)
kyranet
published 1.0.0 β€’

Changelog

Source

1.0.0 (2020-12-22)

Features

  • added ILoaderStrategy#onLoadAll, renamed onPostLoad to onLoad (#37) (8c725d8)
  • added smarter root and type detection (#38) (3492c60)
  • export RootScan (c4e909b)
  • output type declerations to a single .d.ts file (#30) (f76f0b5)
  • piece: rename disable to unload, add reload (#36) (f0eec9c)
  • add Piece#{onLoad,onUnload} (f0627cc)
  • add Piece#disable (bc8aa03)
  • export AliasPiece and AliasStore in index (4522412)
  • first version of the loader (9f27f77)
  • more descriptive error message (#14) (51d1b52)
  • pieces v2! (#29) (792d68a)
  • piece: add disable() method (ca0ef2e)
  • store: add Store#name (13f2eee)
  • store: make walk not error no ENOENT (ef7ced5)
  • add Piece#toJSON (e902a04)
  • added MissingExportsError (7234df4)
  • more types, more docs, better API (51033e0)

Bug Fixes

  • make Store#{load,insert} atomic (9700c4e)
  • make Store#load easier to use (69d52c5)
  • removed testing and coverage (4cba117)
  • specify return type for Piece#toJSON (4fe4892)
  • sub directory loading (#1) (b0b227c)
  • use name instead of path in Store#construct (c2dd9ce)
  • use pathToFileURL instead of new URL (96c3e9c)
  • use the actual path (94e0844)
  • alias-store: resolved build error (e121f3b)
  • piece: receive name via PieceContext for better defaults (b062c58)
  • store: resolved build error for node.js 12 (849a184)
1
…
5051
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