From 88032402ddc3e5a3850ce78bce48b706772639a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 17:28:45 +0000 Subject: [PATCH] fix(deps): update dependency query-string to v8 (#3667) Co-authored-by: Gao Sun --- .../connectors/connector-github/package.json | 2 +- .../connectors/connector-oauth2/package.json | 2 +- .../connectors/connector-oauth2/src/utils.ts | 2 +- pnpm-lock.yaml | 28 ++++++++----------- 4 files changed, 14 insertions(+), 20 deletions(-) diff --git a/packages/connectors/connector-github/package.json b/packages/connectors/connector-github/package.json index 7235d6cb7..c071ea096 100644 --- a/packages/connectors/connector-github/package.json +++ b/packages/connectors/connector-github/package.json @@ -5,7 +5,7 @@ "author": "Silverhand Inc. ", "dependencies": { "@logto/connector-kit": "workspace:^", - "query-string": "^7.0.1" + "query-string": "^8.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-oauth2/package.json b/packages/connectors/connector-oauth2/package.json index d6ed6c7f1..0d8e472b2 100644 --- a/packages/connectors/connector-oauth2/package.json +++ b/packages/connectors/connector-oauth2/package.json @@ -5,7 +5,7 @@ "author": "Silverhand Inc. ", "dependencies": { "@logto/connector-kit": "workspace:^", - "query-string": "^7.0.1" + "query-string": "^8.0.0" }, "main": "./lib/index.js", "module": "./lib/index.js", diff --git a/packages/connectors/connector-oauth2/src/utils.ts b/packages/connectors/connector-oauth2/src/utils.ts index 8552e5943..a304854bd 100644 --- a/packages/connectors/connector-oauth2/src/utils.ts +++ b/packages/connectors/connector-oauth2/src/utils.ts @@ -4,7 +4,7 @@ import { got, HTTPError } from 'got'; import snakecaseKeys from 'snakecase-keys'; import { ConnectorError, ConnectorErrorCodes, parseJson } from '@logto/connector-kit'; -import * as qs from 'query-string'; +import qs from 'query-string'; import { defaultTimeout } from './constant.js'; import type { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d79984535..6a169f8b0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1156,8 +1156,8 @@ importers: specifier: ^12.5.3 version: 12.5.3 query-string: - specifier: ^7.0.1 - version: 7.0.1 + specifier: ^8.0.0 + version: 8.0.0 snakecase-keys: specifier: ^5.4.4 version: 5.4.4 @@ -2028,8 +2028,8 @@ importers: specifier: ^12.5.3 version: 12.5.3 query-string: - specifier: ^7.0.1 - version: 7.0.1 + specifier: ^8.0.0 + version: 8.0.0 snakecase-keys: specifier: ^5.4.4 version: 5.4.4 @@ -11406,9 +11406,9 @@ packages: to-regex-range: 5.0.1 dev: true - /filter-obj@1.1.0: - resolution: {integrity: sha512-8rXg1ZnX7xzy2NGDVkBVaAy+lSlPNwad13BtgSlLuxfIslyt5Vg64U7tFcCt4WS1R0hvtnQybT/IyCkGZ3DpXQ==} - engines: {node: '>=0.10.0'} + /filter-obj@5.1.0: + resolution: {integrity: sha512-qWeTREPoT7I0bifpPUXtxkZJ1XJzxWtfoWWkdVGqa+eCr3SHW/Ocp89o8vLvbUuQnadybJpjOKu4V+RwO6sGng==} + engines: {node: '>=14.16'} dev: false /find-file-up@0.1.3: @@ -16291,14 +16291,13 @@ packages: resolution: {integrity: sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==} engines: {node: '>=0.6'} - /query-string@7.0.1: - resolution: {integrity: sha512-uIw3iRvHnk9to1blJCG3BTc+Ro56CBowJXKmNNAm3RulvPBzWLRqKSiiDk+IplJhsydwtuNMHi8UGQFcCLVfkA==} - engines: {node: '>=6'} + /query-string@8.0.0: + resolution: {integrity: sha512-mB9U/uR7+1ZTzHMMlkk06qH74bKeNkZXzZXxLpoOfypAR9AVhVcYhvOnFtiosoS6Mf7rNwsLhnzeefgZMgCE/A==} + engines: {node: '>=14.16'} dependencies: decode-uri-component: 0.2.2 - filter-obj: 1.1.0 + filter-obj: 5.1.0 split-on-first: 1.1.0 - strict-uri-encode: 2.0.0 dev: false /querystring@0.2.0: @@ -17702,11 +17701,6 @@ packages: mixme: 0.5.4 dev: true - /strict-uri-encode@2.0.0: - resolution: {integrity: sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ==} - engines: {node: '>=4'} - dev: false - /string-argv@0.3.1: resolution: {integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==} engines: {node: '>=0.6.19'}