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

postal

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postal - npm Package Versions

1
6

0.10.1

Diff

Changelog

Source

v0.10.1

  • Apparently IE 8 doesn't allow "catch" to be used as a method/prop name, unless you utilize bracket notation. (Seriously - With IE6 now a distant memory, I long for the day that IE 8 is dead.) @swaff was kind enough to catch this and submit a patch to take care of it.
ifandelse
published 0.10.0 •

Changelog

Source

v0.10.0

  • (Breaking) Removed the "basic" build of postal. The conclusion was the best (and least confusing) option was to focus on a customized build of lodash - rather than risk fragmentation of postal's features...
  • Added logError and catch to the SubscriptionDefinition courtesy of @arobson.
ifandelse
published 0.9.1 •

Changelog

Source

v0.9.1

  • Replaced underscore dependency with lodash. (You can still use underscore if you need to - but you'll have to replace the lib's references to "lodash" with "underscore")
  • ConduitJS has been an embedded dependency since v0.9.0. I've promoted it to an external dependency because it's clear that Conduit will be useful in add-ons as well. No need to force consumers of postal and its add-ons to double the Conduit line count.
ifandelse
published 0.9.0 •

Changelog

Source

v0.9.0

  • Merged localBus with postal namespace. Postal originally supported the idea of swappable bus implementations. This gold plating has been ripped out finally.
  • Added a noConflict method to allow for side by side instances of different postal versions (for testing/benchmarking).
  • Refactored SubscriptionDefinition significantly to allow for ConduitJS integration into the subscription callback method as well as the ChannelDefinition publish method.
  • Top-level postal.unsubscribe call has been added.
  • Top-level postal.unsubscribeFor call has been added.

Breaking Changes

  • Removed postal.utils namespace. Any methods under utils are now under postal itself.
  • Changed signature of getSubscribersFor to take either an options object or a predicate function.
  • The CommonJS wrapper no longer provides a factory function that has to be invoked. Instead it now simply exports postal itself.
  • Subscriptions are now stored under postal.subscriptions.
  • postal now produces two different builds: a full and minimal build. The minimal build lacks ConduitJS as an embedded dependency, and the only SubscriptionDefinition prototype methods in the minimal build are subscribe, unsubscribe, and withContext. The minimal build is relevant if you do not need to additional features (like defer, withDebounce, etc.) and lib size is a concern.
  • postal.publish and ChannelDefinition.prototype.publish no longer return the envelope.
ifandelse
published 0.9.0-rc3 •

ifandelse
published 0.9.0-rc1 •

ifandelse
published 0.8.11 •

ifandelse
published 0.8.10 •

ifandelse
published 0.8.9 •

ifandelse
published 0.8.8 •

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