Skip to content

Releases: drewbrokke/chance-token-replacer

Dependency vulnerability fix

18 Aug 13:53
Compare
Choose a tag to compare

Adds JSON5 support to method configuration objects

18 Aug 13:46
Compare
Choose a tag to compare

See #3. This provides better support for configuring Chance methods using more complex data types.

  • Util.js: removes unused methods ec07847
  • Util.js: retains "true" and "false" string conversions 7bdf39e
  • test.js: adds coverage for boolean conversion for "true" and "false" strings 25a744b
  • update readme about JSON5 support 400a46a
  • Add tests for different format of JSON5 509ec62
  • use JSON5 to parse the configuration object 40d0e61
  • add mocha as Dev depedency e264620
  • update ChanceJs to latest version and add json5 e93ff80
  • bumps version 570e3b1
  • upates README.md 0ee6218
  • updates tests 4dac3bd
  • constructor accepts a custom replacer function 9240677
  • bump version 3af70fd
  • updates README.md to include custom token constructor options 923b4fa
  • updates tests fe7386d
  • moves core logic into internal Util dae3e4a
  • adds test 974a384
  • constructor accepts custom startToken and endToken ed09291
  • adds RegexEscape package 8ac3a19
  • sf - uses beforeEach in tests fd3ebc0
  • sf - removes extra lines 13cbd0b
  • bump version 64f0c3d
  • Adds mocha tests e83060e
  • checks if token has a valid chance method name 139920d
  • adds VERY basic test file 35cb0bf
  • strips all whitespace from tokens before processing b582668
  • trims outer whitespace of method name a0e9232
  • Updates README.md 1155c0f
  • Sets booleans from strings in configuration object af628fa
  • Initial Commit 076a3ec

24ba1b0...v1.3.0