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.4 #113

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.4.

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.4 - 2021-02-22
    • chore: update dependencies 8d9dbd5
    • refactor: move types to its own folder 496350f
    • fix: use maintained lodash package (#18) c8c6482

    v3.0.3...v3.0.4

  • 3.0.3 - 2021-02-11
    • improvement: narrow types from types.is(Type) methods 459e851

    v3.0.2...v3.0.3

  • 3.0.2 - 2021-02-08
    • test: copy tests from the PR 2c83eed
    • feat: add support for serializing bigints 0a76367
    • fix: lodash types f497ace

    v3.0.1...v3.0.2

  • 3.0.1 - 2021-02-08
    • fix: another attempt to fix lodash build 6e7b221
    • fix: the way lodash typings are generated 53b71f1

    v3.0.0...v3.0.1

  • 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
  • 2ac32d4 chore(release): 3.0.4
  • 8d9dbd5 chore: update dependencies
  • 496350f refactor: move types to its own folder
  • c8c6482 fix: use maintained lodash package (#18)
  • 0a534f4 chore(release): 3.0.3
  • 459e851 improvement: narrow types from types.is(Type) methods
  • a400b9f chore(release): 3.0.2
  • 2c83eed test: copy tests from the PR
  • 0a76367 feat: add support for serializing bigints
  • f497ace fix: lodash types
  • 5d6f9df chore(release): 3.0.1
  • 6e7b221 fix: another attempt to fix lodash build
  • 53b71f1 fix: the way lodash typings are generated
  • 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)
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