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

adjuster

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adjuster - npm Package Versions

134

1.0.0-rc.4

Diff

Changelog

Source

[1.0.0-rc.4] - 2018-08-30

Changed

  • adjuster.number().adjust([]) causes adjuster.CAUSE.TYPE
shimataro
published 1.0.0-rc.3 •

Changelog

Source

[1.0.0-rc.3] - 2018-08-28

Others

  • documents proofreading
  • some minor changes of JSDoc and index.d.ts
shimataro
published 1.0.0-rc.2 •

Changelog

Source

[1.0.0-rc.2] - 2018-08-25

Changed

  • adjuster.string().pattern() and adjuster.email().pattern() accept only RegExp (reject string)
shimataro
published 1.0.0-rc.1 •

Changelog

Source

[1.0.0-rc.1] - 2018-08-23

Fixed

  • method to publish
shimataro
published 0.16.0 •

Changelog

Source

[0.16.0] - 2018-08-21

Added

  • EMAIL, IPV4, IPV6 to adjuster.STRING.PATTERN

Changed

  • change loading method for CJS; use var adjuster = require("adjuster"); instead of var adjuster = require("adjuster").default;

Fixed

  • type of adjuster.STRING.PATTERN.URI
shimataro
published 0.15.1 •

Changelog

Source

[0.15.1] - 2018-08-19

Others

  • enhance index.d.ts for TypeScript products
shimataro
published 0.15.0 •

Changelog

Source

[0.15.0] - 2018-08-18

Added

  • adjuster.boolean()
  • adjuster.number().strict()
  • adjuster.string().strict()
  • adjuster.array()
  • adjuster.object()
  • err.keyStack indicates path to key that caused error; for nested object or array

Changed

  • cause an error adjuster.CAUSE.TYPE instead of adjuster.CAUSE.NOT_OBJECT
  • reject array and object in adjuster.string()
  • in numericString, when .joinArray() is not called and an array is passed, cause an error adjuster.CAUSE.TYPE instead of adjuster.CAUSE.PATTERN
  • rename STRING_PATTERN to STRING.PATTERN, NUMERIC_STRING_CHECKSUM_ALGORITHM to NUMERIC_STRING.CHECKSUM_ALGORITHM

Fixed

  • installation error!

Removed

  • adjuster.numberArray() - use adjuster.array() instead
  • adjuster.stringArray() - use adjuster.array() instead
  • err.key - use err.keyStack instead
shimataro
published 0.14.0 •

Changelog

Source

[0.14.0] - 2018-08-11

Added

  • Introduction in README.md

Changed

  • cause an error adjuster.CAUSE.NOT_OBJECT when input type of adjuster.adjust() is not an object

Fixed

  • build error in Windows

Others

  • support ES Modules (*.mjs)
shimataro
published 0.13.0 •

Changelog

Source

[0.13.0] - 2018-07-20

Added

  • adjuster.numberArray().eachInteger()

Fixed

  • adjuster.numberArray().eachIn() in JSDoc (should be adjuster.numberArray().eachOnly())
  • adjuster.stringArray().eachIn() in JSDoc (should be adjuster.stringArray().eachOnly())
shimataro
published 0.12.0 •

Changelog

Source

[0.12.0] - 2018-07-18

Added

  • adjuster.STRING_PATTERN, regular expressions for adjuster.string().pattern()
  • adjuster.number().integer()

Fixed

  • adjuster.number().adjust(true) throws an error; should return 1
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