Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 9, 2024

Bumps the pip group with 2 updates in the /dev-projects/my-documaker/code/backend directory: django and sqlparse.

Updates django from 3.1.3 to 4.2.16

Commits

Updates sqlparse from 0.4.1 to 0.5.0

Changelog

Sourced from sqlparse's changelog.

Release 0.5.0 (Apr 13, 2024)

Notable Changes

  • Drop support for Python 3.5, 3.6, and 3.7.
  • Python 3.12 is now supported (pr725, by hugovk).
  • IMPORTANT: Fixes a potential denial of service attack (DOS) due to recursion error for deeply nested statements. Instead of recursion error a generic SQLParseError is raised. See the security advisory for details: GHSA-2m57-hf25-phgg The vulnerability was discovered by @​uriyay-jfrog. Thanks for reporting!

Enhancements

  • Splitting statements now allows to remove the semicolon at the end. Some database backends love statements without semicolon (issue742).
  • Support TypedLiterals in get_parameters (pr749, by Khrol).
  • Improve splitting of Transact SQL when using GO keyword (issue762).
  • Support for some JSON operators (issue682).
  • Improve formatting of statements containing JSON operators (issue542).
  • Support for BigQuery and Snowflake keywords (pr699, by griffatrasgo).
  • Support parsing of OVER clause (issue701, pr768 by r33s3n6).

Bug Fixes

  • Ignore dunder attributes when creating Tokens (issue672).
  • Allow operators to precede dollar-quoted strings (issue763).
  • Fix parsing of nested order clauses (issue745, pr746 by john-bodley).
  • Thread-safe initialization of Lexer class (issue730).
  • Classify TRUNCATE as DDL and GRANT/REVOKE as DCL keywords (based on pr719 by josuc1, thanks for bringing this up!).
  • Fix parsing of PRIMARY KEY (issue740).

Other

  • Optimize performance of matching function (pr799, by admachainz).

Release 0.4.4 (Apr 18, 2023)

Notable Changes

  • IMPORTANT: This release fixes a security vulnerability in the parser where a regular expression vulnerable to ReDOS (Regular Expression Denial of Service) was used. See the security advisory for details: GHSA-rrm6-wvj7-cwh2 The vulnerability was discovered by @​erik-krogh from GitHub Security Lab (GHSL). Thanks for reporting!

... (truncated)

Commits
  • ddbd0ec Bump version.
  • 29f2e0a Raise recursion limit for tests.
  • b4a39d9 Raise SQLParseError instead of RecursionError.
  • f1bcf2f Update AUHTORS and Changelog.
  • e03b74e Fix Function.get_parameters(), add Funtion.get_window()
  • 617b8f6 Add OVER clause, and group it into Function (fixes #701)
  • d8f8147 Update AUHTORS and Changelog.
  • 012c9f1 Optimize sqlparse.utils.imt().
  • 46971e5 Fix parsing of PRIMARY KEY (fixes #740).
  • fc4b0be Code cleanup.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the pip group with 2 updates in the /dev-projects/my-documaker/code/backend directory: [django](https://github.com/django/django) and [sqlparse](https://github.com/andialbrecht/sqlparse).


Updates `django` from 3.1.3 to 4.2.16
- [Commits](django/django@3.1.3...4.2.16)

Updates `sqlparse` from 0.4.1 to 0.5.0
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG)
- [Commits](andialbrecht/sqlparse@0.4.1...0.5.0)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  dependency-group: pip
- dependency-name: sqlparse
  dependency-type: direct:production
  dependency-group: pip
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 9, 2024
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/tar-stream@2.1.4 filesystem 0 27.6 kB mafintosh
npm/tar@6.0.5 environment, filesystem 0 149 kB isaacs
npm/terser-webpack-plugin@4.2.2 eval 0 74.6 kB evilebottnawi
npm/terser@5.3.8 eval 0 2.62 MB fabiosantoscode
npm/through@2.3.8 None 0 12.5 kB dominictarr
npm/thunky@1.1.0 None 0 7.76 kB mafintosh
npm/timers-browserify@2.0.12 None 0 10.4 kB jryans
npm/timsort@0.3.0 None 0 58.7 kB mziccard
npm/tmp@0.0.33 filesystem 0 26 kB raszi
npm/to-arraybuffer@1.0.1 None 0 5.54 kB jhiesey
npm/to-fast-properties@2.0.0 None 0 3.5 kB sindresorhus
npm/to-readable-stream@1.0.0 None 0 2.79 kB sindresorhus
npm/to-regex-range@5.0.1 None 0 22.9 kB jonschlinkert
npm/to-regex@3.0.2 None 0 12.6 kB jonschlinkert
npm/toidentifier@1.0.0 None 0 4.33 kB dougwilson
npm/tough-cookie@2.5.0 network 0 86.6 kB jstash
npm/trim-newlines@1.0.0 None 0 2.99 kB sindresorhus
npm/true-case-path@1.0.3 None 0 15.7 kB barsh
npm/truncate-utf8-bytes@1.0.2 None 0 5.42 kB parshap
npm/tryer@1.0.1 None 0 36.3 kB philbooth
npm/ts-loader@7.0.5 filesystem 0 207 kB johnnyreilly
npm/tslib@2.0.3 None 0 34.2 kB typescript-bot
npm/tty-browserify@0.0.0 None 0 1.99 kB substack
npm/tunnel-agent@0.6.0 environment, network 0 16.7 kB mikeal
npm/tunnel@0.0.6 environment, network 0 64.9 kB koichik
npm/tweetnacl@0.14.5 None 0 174 kB dchest
npm/type-fest@0.11.0 None 0 84.7 kB sindresorhus
npm/type-is@1.6.18 None 0 18.5 kB dougwilson
npm/typescript@3.9.5 None 0 54.1 MB typescript-bot
npm/uglify-js@3.11.5 eval, filesystem 0 915 kB alexlamsl
npm/uniq@1.0.1 None 0 4.32 kB mikolalysenko
npm/uniqs@2.0.0 None 0 2.42 kB fgnass
npm/unique-filename@1.1.1 None 0 41.4 kB iarna
npm/unique-slug@2.0.2 None 0 2.68 kB zkat
npm/universalify@2.0.0 None 0 4.64 kB ryanzim
npm/unpipe@1.0.0 None 0 4.31 kB dougwilson
npm/unquote@1.1.1 None 0 2.41 kB lakenen
npm/upper-case@1.1.3 None 0 4.64 kB blakeembrey
npm/uri-js@4.4.0 None 0 436 kB garycourt
npm/urix@0.1.0 None 0 4.37 kB lydell
npm/url-loader@4.1.0 None 0 29.7 kB evilebottnawi
npm/url-parse-lax@3.0.0 None 0 4.23 kB sindresorhus
npm/url-parse@1.4.7 None 0 50.5 kB 3rdeden
npm/url@0.11.0 None 0 76.8 kB defunctzombie
npm/use@3.1.1 None 0 9.51 kB jonschlinkert
npm/utf8-byte-length@1.0.4 None 0 4.84 kB parshap
npm/util.promisify@1.0.0 None 0 13.3 kB ljharb
npm/util@0.10.3 environment 0 42.7 kB shtylman
npm/utila@0.4.0 None 0 24.2 kB ariaminaei
npm/utils-merge@1.0.1 None 0 3.72 kB jaredhanson
npm/uuid@3.4.0 None 0 34.3 kB ctavan
npm/validate-npm-package-license@3.0.4 None 0 16.6 kB kemitchell
npm/vary@1.1.2 None 0 8.75 kB dougwilson
npm/vendors@1.0.4 None 0 4.17 kB wooorm
npm/verror@1.10.0 None 0 35.8 kB dap
npm/vm-browserify@1.1.2 None 0 15.5 kB goto-bus-stop
npm/vue-hot-reload-api@2.3.4 None 0 11.1 kB soda
npm/vue-loader@15.9.3 environment 0 69.4 kB soda
npm/vue-router@3.2.0 None 0 448 kB posva
npm/vue-server-renderer@2.6.12 environment, eval, filesystem, unsafe 0 688 kB yyx990803
npm/vue-style-loader@4.1.2 environment 0 139 kB yyx990803
npm/vue-template-compiler@2.6.12 environment, eval 0 415 kB yyx990803
npm/vue-template-es2015-compiler@1.9.1 None 0 502 kB yyx990803
npm/vue@2.6.12 environment 0 2.98 MB yyx990803
npm/vuex@3.5.1 None 0 361 kB ktsn
npm/watchpack-chokidar2@2.0.0 None 0 469 B sokra
npm/watchpack@1.7.4 None 0 22.7 kB sokra
npm/wbuf@1.7.3 None 0 20.9 kB indutny
npm/webpack-bundle-analyzer@3.9.0 environment, filesystem, network 0 1.22 MB th0r
npm/webpack-chain@6.5.1 None 0 114 kB edmorley
npm/webpack-dev-middleware@3.7.2 filesystem 0 40.3 kB evilebottnawi
npm/webpack-dev-server@3.11.0 environment, filesystem, network 0 529 kB evilebottnawi
npm/webpack-log@2.0.0 None 0 15.7 kB michael-ciniawsky
npm/webpack-merge@4.2.2 None 0 52.4 kB bebraw
npm/webpack-node-externals@2.5.2 filesystem 0 16.1 kB liady
npm/webpack-sources@1.4.3 None 0 36.7 kB sokra
npm/webpack@4.44.2 environment, filesystem, unsafe 0 1.48 MB sokra
npm/websocket-driver@0.7.4 network 0 67.4 kB jcoglan
npm/websocket-extensions@0.1.4 None 0 55 kB jcoglan
npm/when@3.6.4 None 0 149 kB cujojs
npm/which-module@2.0.0 None 0 4.58 kB nexdrew
npm/which@2.0.2 environment 0 9.97 kB isaacs
npm/wide-align@1.1.3 None 0 4.55 kB iarna
npm/worker-rpc@0.1.1 None 0 105 kB dirtyhairy
npm/wrap-ansi@6.2.0 None 0 9.5 kB sindresorhus
npm/write-file-atomic@2.4.3 None 0 12.2 kB isaacs
npm/write-file-webpack-plugin@4.5.1 filesystem 0 26.4 kB gajus
npm/ws@6.2.1 network 0 101 kB lpinca
npm/xmlbuilder@9.0.7 None 0 104 kB oozcitak
npm/xmldom@0.1.31 None 0 71 kB brodybits
npm/y18n@4.0.0 filesystem 0 10.4 kB nexdrew
npm/yallist@4.0.0 None 0 14.8 kB isaacs
npm/yargs-parser@13.1.2 environment 0 57.1 kB oss-bot
npm/yargs@13.3.2 environment, filesystem 0 229 kB oss-bot
npm/zip-stream@4.0.2 None 0 12 kB ctalkington
npm/zlib@1.0.5 None 0 52.4 kB

🚮 Removed packages: npm/@types/eslint-visitor-keys@1.0.0, npm/@types/json5@0.0.29, npm/@types/q@1.5.4, npm/@typescript-eslint/eslint-plugin@3.10.1, npm/@typescript-eslint/experimental-utils@3.10.1, npm/@typescript-eslint/parser@3.10.1, npm/@typescript-eslint/types@3.10.1, npm/@typescript-eslint/typescript-estree@3.10.1, npm/@typescript-eslint/visitor-keys@3.10.1, npm/acorn-jsx@5.3.1, npm/arr-union@3.1.0, npm/array-includes@3.1.1, npm/array.prototype.flat@1.2.3, npm/asn1.js@5.4.1, npm/babel-eslint@10.1.0, npm/brorand@1.1.0, npm/buffer-xor@1.0.3, npm/callsites@2.0.0, npm/cipher-base@1.0.4, npm/collection-visit@1.0.0, npm/contains-path@0.1.0, npm/copy-descriptor@0.1.1, npm/deep-is@0.1.3, npm/des.js@1.0.1, npm/doctrine@3.0.0, npm/dom-serializer@0.2.2, npm/eslint-config-standard@14.1.1, npm/eslint-import-resolver-node@0.3.4, npm/eslint-loader@3.0.4, npm/eslint-module-utils@2.6.0, npm/eslint-plugin-es@3.0.1, npm/eslint-plugin-import@2.22.1, npm/eslint-plugin-node@11.1.0, npm/eslint-plugin-promise@4.2.1, npm/eslint-plugin-standard@4.0.2, npm/eslint-plugin-vue@6.2.2, npm/eslint-utils@2.1.0, npm/eslint-visitor-keys@1.3.0, npm/eslint@6.8.0, npm/espree@6.2.1, npm/esquery@1.3.1, npm/fast-levenshtein@2.0.6, npm/file-entry-cache@5.0.1, npm/flat-cache@2.0.1, npm/flatted@2.0.2, npm/for-in@1.0.2, npm/functional-red-black-tree@1.0.1, npm/get-value@2.0.6, npm/has-value@1.0.0, npm/has-values@1.0.0, npm/hash-base@3.1.0, npm/hash.js@1.1.7, npm/hmac-drbg@1.0.1, npm/http-parser-js@0.5.2, npm/ini@1.3.5, npm/is-finite@1.1.0, npm/is-stream@1.1.0, npm/is-string@1.0.5, npm/is-symbol@1.0.3, npm/is-utf8@0.2.1, npm/json-buffer@3.0.0, npm/json-stable-stringify-without-jsonify@1.0.1, npm/levn@0.3.0, npm/loader-fs-cache@1.0.3, npm/map-visit@1.0.0, npm/md5.js@1.3.5, npm/mdn-data@2.0.4, npm/miller-rabin@4.0.1, npm/minimalistic-assert@1.0.1, npm/minimalistic-crypto-utils@1.0.1, npm/natural-compare@1.4.0, npm/npm-run-path@2.0.2, npm/object-copy@0.1.0, npm/object-hash@2.0.3, npm/object-visit@1.0.1, npm/optionator@0.8.3, npm/p-finally@1.0.0, npm/parse-asn1@5.1.6, npm/path-is-inside@1.0.2, npm/pinkie-promise@2.0.1, npm/pinkie@2.0.4, npm/prelude-ls@1.1.2, npm/proto-list@1.2.4, npm/q@1.5.1, npm/regenerate-unicode-properties@8.2.0, npm/regenerate@1.4.2, npm/regexpp@3.1.0, npm/regjsgen@0.5.2, npm/regjsparser@0.6.4, npm/ripemd160@2.0.2, npm/set-value@2.0.1, npm/sha.js@2.4.11, npm/simple-swizzle@0.2.2, npm/spdx-exceptions@2.3.0, npm/spdx-license-ids@3.0.6, npm/split-string@3.1.0, npm/static-extend@0.1.2, npm/strip-bom@2.0.0, npm/strip-eof@1.0.0

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Critical CVE npm/xmldom@0.1.31 ⚠︎
Critical CVE npm/url-parse@1.4.7 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/xmldom@0.1.31
  • @SocketSecurity ignore npm/url-parse@1.4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants