Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

[pull] v6 from sequelize:v6#11

Open
pull[bot] wants to merge 317 commits intojazida-opensource:v6from
sequelize:v6
Open

[pull] v6 from sequelize:v6#11
pull[bot] wants to merge 317 commits intojazida-opensource:v6from
sequelize:v6

Conversation

@pull
Copy link

@pull pull bot commented Oct 9, 2021

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Oct 9, 2021
liangzhicheng0423 and others added 27 commits November 5, 2021 09:01
…13625)

Co-authored-by: zhicheng.liang <zhicheng.liang@9amtech.com>
…elds (#12801)

* fix(mssql): add test for hasOne with a primary key with specified field

* fix(mssql): use aliased column name for attributes

Use proper aliased column names for sub query attributes when parent is top

Co-authored-by: Marces Engel <mengel@incoqnito.io>
* Add vectorized version of logo

Fixes #12844

* docs(logo): add simple svg logo

Co-authored-by: Sascha Depold <sdepold@ebay.com>
* docs(data-types): fix reference to DataTypes.NOW
Co-authored-by: ᛜ ᛝᛉᚲ <fncolon@pm.me>
* fix: expect result is null but got zero

* revert: query-interface.js

* fix: model.js to return null

* fix: test title

* fix: if sum without rows, expect null

Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
Patch with missing type definitions for static decrement method

Co-authored-by: Constantin Metz <58604248+Keimeno@users.noreply.github.com>
Co-authored-by: ᛜ ᛝᛉᚲ <fncolon@pm.me>
Co-authored-by: sander-mol <SMol@thepeoplegroup.nl>
Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
* Update operators.d.ts

resolved the typescript issue for Op.match (#12955)

* Update operators.d.ts

Co-authored-by: Constantin Metz <58604248+Keimeno@users.noreply.github.com>
Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
This does require maintainers/issue reviewers to add type labels to all still occurring issues and regularly update them
* fix(mssql): sqlserver 2008 fix for using offsets and include criteria

* fix(mssql): sqlserver 2008 fix for using offsets and include criteria

* fix(mssql): sqlserver 2008 fix for using offsets and include criteria

* fix(mssql): sqlserver 2008 fix for using offsets and include criteria

Co-authored-by: sschwenker <sschwenker@inmoment.com>
Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
Co-authored-by: ᛜ ᛝᛉᚲ <fncolon@pm.me>
* fix: typing on creation within an association

* fix: tests

Signed-off-by: Mohamed El Mahallawy <mmahalwy@gmail.com>
This commit uses the pg_connection_string package to parse the
connection string if the dialect is postgresql. This is helpful because
it automatically handles reading SSL certs that are specified in the
connection string.

As part of this, support was added for the `options` URL parameter,
which allows arbitrary session variables to be configured in the
connection string.

Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
* feat: option for attributes having dotnotation

- `options.dotnotation`, can be used when the column name has dot in it.

* test: add test case for attributes with dot notation

* docs: add function doc for `option.dotnotation`

* fix: expected query for dot notation test case

* refactor: camelcase dotnotation keyword

Co-authored-by: Mukesh Suthar <mukesh@stepsetgo.com>
…13569)

* refactor(typescript): add foundation for incremential TS migration

Converts the logger interface to TypeScript.
Adds eslint rules and TypeScript configuration to allow for a gradual migration to TS.
Adds a build script to transpile both TS and JS code while keeping the same API for package usage.
Changes imports from test files to use "absolute" paths that point to the directory of the compiled code.

* use || instead of ??

* fix source maps breaking tests

* fix build script for older versions of node

* make some small fixes + add better docs to logger.ts

* add ts support to tests

* update yarn.lock

* disable no-loss-of-percesion rule

* fix & cleanup a lil

* test.js -> test.[tj]s

Co-authored-by: Sascha Depold <sdepold@users.noreply.github.com>
@pull pull bot added the merge-conflict Resolve conflicts manually label Nov 19, 2021
@pull pull bot requested a review from tvaamorim November 19, 2021 01:25
hjamil-24 and others added 30 commits June 1, 2023 16:00
…#16075)

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Hasan Jamil <jarvis@dhcp-10-191-201-165.vpn.oracle.com>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Zoé <zoe@ephys.dev>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Ricardo Spear <r.spear@valid8financial.com>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
…16619)

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Carlos Bardasano <cbardasano@alaudaingenieria.es>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Carlos Bardasano <cbardasano@alaudaingenieria.es>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
Co-authored-by: Ales Menzel <ales.menzel@emplifi.io>
Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
…on (#17719)

Co-authored-by: Rik Smale <13023439+WikiRik@users.noreply.github.com>
The _traverseJSON() function splits JSON path keys on `::` to extract
a cast type, which was interpolated raw into CAST(... AS <type>) SQL.
An attacker controlling JSON object keys could inject arbitrary SQL.

Add a whitelist of allowed SQL cast types validated in _traverseJSON()
before the type reaches handleSequelizeMethod(). The whitelist covers
all types produced by _getJsonCast() and dialect overrides.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⤵️ pull merge-conflict Resolve conflicts manually

Projects

None yet

Development

Successfully merging this pull request may close these issues.