Skip to content

Releases: replygirl/change-case-object

1.3.0

08 Feb 04:46
fa394b7
Compare
Choose a tag to compare

Objects in arrays are now recased

1.2.7

18 Jan 21:15
38d6790
Compare
Choose a tag to compare

Fix for null values

1.2.6

18 Jan 21:04
f5b15e4
Compare
Choose a tag to compare

Fixes error for nullish values

1.2.5

27 Nov 04:19
39e7b7b
Compare
Choose a tag to compare
  • fix(package): node engines version was strict

1.2.4

23 Nov 02:29
f217af9
Compare
Choose a tag to compare
  • Significantly reduced bundle size

1.2.3

05 Sep 21:55
adfec02
Compare
Choose a tag to compare
  • fix(readme)???: npm rejected readme for 1.2.2

1.2.2

05 Sep 21:46
a127b6b
Compare
Choose a tag to compare
  • fix(readme): install command had scope missing lol

1.2.1

05 Sep 19:18
76d621e
Compare
Choose a tag to compare
  • chore(readme): Remove notes on the case transformations from the readme to make it easier to skim

1.2.0

05 Sep 19:13
7d59b8a
Compare
Choose a tag to compare
  • feat(CasedObject): You can now specify the case of a new CasedObject by passing a second options argument to the constructor:
    • TypeScript usage:
      import { CasedObject, Case } from '@replygirl/change-case-object'
      
      const someObj = { someKey: { some_other_key: true }}
      
      const foo = new CasedObject(someObj, { case: Case.camel })
    • JavaScript usage:
      import { CasedObject } from '@replygirl/change-case-object'
      
      const someObj = { someKey: { some_other_key: true }}
      
      const foo = new CasedObject(someObj, { case: 'camel' })
  • fix(readme): Some example code was wrong

1.1.0

05 Sep 18:25
80b5164
Compare
Choose a tag to compare
  • feat: expose changeCase(to: Case, x: any) as an independent function (not documented)
  • feat: expose the Case enum (not documented)