Socket
Socket
Sign inDemoInstall

planout

Package Overview
Dependencies
4
Maintainers
8
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

5.3.0

Diff

rawls234
published 5.2.1 •

rawls234
published 5.2.0 •

rawls234
published 5.1.1 •

Changelog

Source

Changes in 5.1.1##

  • Update Minimum Node Requirements to Node 8.0
rawls234
published 5.1.0 •

Changelog

Source

Changes in 5.1.0##

  • Add TypeScript types
    • Library Upgrades
    • Allow Experiment to be overridden locally
rawls234
published 5.0.1 •

Changelog

Source

Changes in 5.0.1##

  • add sqrt and exp opts
    • correct the formula for finding random integer between min and max

##Changes in 5.0##

  • Upgraded all NPM dependencies
    • Jest libraries upgraded (24.x)
    • Babel libraries upgraded (7.x)
      • The Babel 6.x to 7.x upgrade required changing Babel presets and plugins
    • Webpack libraries upgraded (4.x)
    • sha1 upgraded to newest minor version
    • bignumber.js upgraded to 9.x
  • package "engines" set to "node": ">= 6.9.0" to reflect the minimum engine required for these dependencies

##Changes in 4.0##

  • Core compatible bundle fixes:
    • Core compatible namespace allocations now match core reference namespace allocations from python version of planout.
    • Core compatible interpreted experiment enrollment now matches core reference interpreted experiment enrollment from python version of planout.
  • Separated the concerns of planout core random operations, and the planout API. The planout.js API (experiment, assignment, namespace, etc) are now composed with the random operations they are passed. This change has no effect on the usage of planout.js and only affects the development experience for contributors.
  • Added planoutAPIFactory.js to keep planout bundles consistent, and to make it easier to compose new planout bundles with the random operations of choice.
  • Made experiment & namespace names required to fix https://github.com/HubSpot/PlanOut.js/issues/57
  • Fixes WeightedChoice with false-y choices.
  • Fixes tests on windows + running the travis tests on windows as well if this is possible.

##Changes in 3.0##

  • Separate out compat + non-compat bundles to reduce filesize of the main bundle by removing the BigNumber dependency (https://github.com/HubSpot/PlanOut.js/pull/29/). The default distribution on npm is the non-compat bundle, but the compat bundle is available in the dist folder
  • Move to Babel 6
  • Fix the Round Operator
  • Fix interpreter breaking on non-truthy inputs (https://github.com/HubSpot/PlanOut.js/issues/27)
  • Ability to register custom salts
  • Ability to register custom ops
  • Dev changes - now use purely webpack instead of grunt with webpack for build step
  • Minor fixups in internal utils library

##Changes in 2.0##

  • Breaking changes to the base Random Op and the Sample Op will break existing experiment / namespace assignments. If you wish to upgrade but keep these old changes you can toggle compatibility mode using ExperimentSetup.toggleCompatibleHash(true). One valid reason for not upgrading is that this will be incompatible with assignments generated by other PlanOut implementations so if you are using PlanOut cross-platform then you will want to keep this flag on. Otherwise, it is recommended to use non-compatibility mode since it is substantially faster.

##Changes in 1.3##

  • PlanOut.js now comes packaged with an ExperimentSetup utility that allows the registering of inputs to an experiment after the experiment has already been defined. It currently only works with the Namespace class.
mattrheault
published 4.0.0 •

rawls234
published 3.0.3 •

mattrheault
published 3.0.2 •

rawls234
published 3.0.1 •

234Next
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