adonisjs / ally

AdonisJS Social Authentication Provider
MIT License
158 stars 54 forks source link

[Snyk] Upgrade @poppinss/utils from 2.5.9 to 3.0.0 #109

Closed thetutlage closed 3 years ago

thetutlage commented 3 years ago

Snyk has created this PR to upgrade @poppinss/utils from 2.5.9 to 3.0.0.

merge advice :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

Release notes
Package name: @poppinss/utils
  • 3.0.0 - 2021-02-07

    Breaking Changes

    The version 3.0 re-format the exports to expose an "helpers" subpath to be used within the AdonisJS apps as well.

    The idea is to separate helpers that we need to share with AdonisJS core inside its own module, accessible as ‌@ poppinss/utils/build/helpers.

    Inside helpers subpath

    Following modules are now moved to a subpath.

    • MessageBuilder
    • base64
    • compose
    • fsReadAll
    • interpolate
    • requireAll
    • resolveDir
    • resolveFrom
    // Earlier
    import {
      MessageBuilder,
      base64,
      compose,
      fsReadAll,
      interpolate,
      requireAll,
      resolveDir,
      resolveFrom,
      safeEqual
    } from '@ poppinss/utils'
    
    // After version 3.0
    import {
      MessageBuilder,
      base64,
      compose,
      fsReadAll,
      interpolate,
      requireAll,
      resolveDir,
      resolveFrom,
      safeEqual
    } from '@ poppinss/utils/build/helpers'

    randomString

    The randomString is now part of the string helpers.

    // Earlier
    import { randomString } from '@ poppinss/utils'
    randomString(32)
    
    // After version 3.0
    import { string } from '@ poppinss/utils/build/helpers'
    string.generateRandom(32)

    lodash

    The following lodash functions have been removed with new alternatives.

    • snakeCase
    • camelCase
    • startCase
    // Earlier
    import { lodash } from '@ poppinss/utils'
    
    lodash.snakeCase()
    lodash.camelCase()
    lodash.startCase()
    
    // After version 3.0
    import { string } from '@ poppinss/utils/build/helpers'
    
    string.snakeCase()
    string.camelCase()
    string.titleCase()

    Commits

    • chore: generate lodash builder before typescript build 0c2575b
    • docs(README): fix typos 754e087
    • feat: adding bunch of new helpers and reformatting exports 081029e
    • chore: remove redundant typedoc.js file 82baa6f
    • style: fix linter errors 3cee2df
    • chore: reformat source files fec4cd4
    • chore: remove npm-audit hook in favor of synk 18b32b4

    v2.5.10...v3.0.0

  • 2.5.10 - 2021-01-22
    • fix: typing issues 58e2535
    • chore(deps): bump highlight.js from 10.4.0 to 10.4.1 (#14) b1afd21
    • feat: add compose utility method b350965
    • chore: update dependencies a04c4b2
    • fix: upgrade ms from 2.1.2 to 2.1.3 (#16) 37be818
    • chore(deps): bump ini from 1.3.5 to 1.3.8 (#15) bdcd4f3

    v2.5.9...v2.5.10

  • 2.5.9 - 2020-11-19
    • feat: add support for defining custom strategy function 4eefea7

    v2.5.8...v2.5.9

from @poppinss/utils GitHub release notes
Commit messages
Package name: @poppinss/utils
  • b554e09 chore(release): 3.0.0
  • 0c2575b chore: generate lodash builder before typescript build
  • 754e087 docs(README): fix typos
  • 081029e feat: adding bunch of new helpers and reformatting exports
  • 82baa6f chore: remove redundant typedoc.js file
  • 3cee2df style: fix linter errors
  • fec4cd4 chore: reformat source files
  • 18b32b4 chore: remove npm-audit hook in favor of synk
  • 0e091a0 chore(release): 2.5.10
  • 58e2535 fix: typing issues
  • b1afd21 chore(deps): bump highlight.js from 10.4.0 to 10.4.1 (#14)
  • b350965 feat: add compose utility method
  • a04c4b2 chore: update dependencies
  • 37be818 fix: upgrade ms from 2.1.2 to 2.1.3 (#16)
  • bdcd4f3 chore(deps): bump ini from 1.3.5 to 1.3.8 (#15)
Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs