chore(deps): update devdependencies (major) #357
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
22.0.0
->23.0.0
6.5.0
->7.0.0
5.21.6
->6.3.5
Release Notes
sindresorhus/eslint-plugin-unicorn
v23.0.0
Compare Source
New rules
prefer-math-trunc
rule (#851)5ee2432
numeric-separators-style
rule (#833)6c9b531
prefer-ternary
rule (#514)d59cf95
Improvements
explicit-length-check
: Use'non-zero': 'greater-than'
by default (#850)7c5df5f
prevent-abbreviations
: Addfn
/func
->function
,i
/idx
/j
->index
replacements (#836)e502f42
consistent-function-scoping
: Check anonymous functions (#835)29ecbf6
no-console-spaces
: Make space position more specific (#838)e17a63f
no-nested-ternary
: Improve report location & message (#844)ca1afa6
85d424c
Fixes
prefer-flat-map
: Exclude.flat()
where depth is not1
(#859)61d9851
sindresorhus/np
v7.0.0
Compare Source
Breaking
0cff2b4
If you run the global
np
command, it will now defer to the localnp
if any. This is important when you use config and other things which might change acrossnp
versions. This is unlikely to be a breaking change for most people, but it's a major version to me safe.Improvements
08a2c06
Fixes
c77e191
sequelize/sequelize
v6.3.5
Compare Source
Bug Fixes
await
in truncate all models with cascade (#12664) (933b3f6)v6.3.4
Compare Source
Bug Fixes
true
timestamp fields correctly (#12580) (#12581) (490db41)v6.3.3
Compare Source
Bug Fixes
v6.3.2
Compare Source
Bug Fixes
v6.3.1
Compare Source
Bug Fixes
v6.3.0
Compare Source
Bug Fixes
Features
v6.2.4
Compare Source
Bug Fixes
v6.2.3
Compare Source
Bug Fixes
v6.2.2
Compare Source
Bug Fixes
v6.2.1
Compare Source
Bug Fixes
v6.2.0
Compare Source
Bug Fixes
Features
v6.1.1
Compare Source
Bug Fixes
v6.1.0
Compare Source
Sequelize v6 is the next major release after v5. Below is a list of breaking changes to help you upgrade.
Breaking Changes
Support for Node 10 and up
Sequelize v6 will only support Node 10 and up #10821.
CLS
You should now use cls-hooked package for CLS support.
Database Engine Support
We have updated our minimum supported database engine versions. Using older database engine will show
SEQUELIZE0006
deprecation warning. Please check ENGINE.md for version table.Sequelize
Sequelize.Promise
is no longer available.sequelize.import
method has been removed.Model
options.returning
Option
returning: true
will no longer return attributes that are not defined in the model. Old behavior can be achieved by usingreturning: ['*']
instead.Model.changed()
This method now tests for equality with
_.isEqual
and is now deep aware for JSON objects. Modifying a nested value for a JSON object won't mark it as changed (since it is still the same object).Model.bulkCreate()
This method now throws
Sequelize.AggregateError
instead ofBluebird.AggregateError
. All errors are now exposed aserrors
key.Model.upsert()
Native upsert is now supported for all dialects.
Signature for this method has been changed to
Promise<Model,boolean | null>
. First index contains upsertedinstance
, second index contains a boolean (ornull
) indicating if record was created or updated. For SQLite/Postgres,created
value will always benull
.Note for Postgres users: If upsert payload contains PK field, then PK will be used as the conflict target. Otherwise first unique constraint will be selected as the conflict key.
QueryInterface
addConstraint
This method now only takes 2 parameters,
tableName
andoptions
. Previously the second parameter could be a list of column names to apply the constraint to, this list must now be passed asoptions.fields
property.Changelog
6.0.0-beta.7
6.0.0-beta.6
6.0.0-beta.5
queryInterface.addIndex
#11844plain
option insequelize.query
#11596comparator
arg ofSequelize.where
#11843hooks
toCreateOptions
#11736options.storage
#11853idle_in_transaction_session_timeout
connection option #117756.0.0-beta.4
6.0.0-beta.3
6.0.0-beta.2
v5.22.3
Compare Source
Bug Fixes
v5.22.2
Compare Source
Bug Fixes
v5.22.1
Compare Source
Bug Fixes
v5.22.0
Compare Source
Bug Fixes
Features
v5.21.13
Compare Source
Bug Fixes
v5.21.12
Compare Source
Bug Fixes
v5.21.11
Compare Source
Bug Fixes
v5.21.10
Compare Source
Bug Fixes
v5.21.9
Compare Source
Bug Fixes
v5.21.8
Compare Source
Bug Fixes
v5.21.7
Compare Source
Bug Fixes
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.