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
5152

1.0.0

Diff

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
5152
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