Skip to content

Commit e0311c8

Browse files
committed
feat: add Next.js adapter
1 parent b14c97e commit e0311c8

File tree

6 files changed

+260
-1
lines changed

6 files changed

+260
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ISC License
2+
3+
Copyright 2019-present Peter Beshai <peter.beshai@gmail.com>
4+
5+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"name": "use-query-params-adapter-next",
3+
"private": true,
4+
"version": "0.0.1",
5+
"description": "Next.js router adapter for use-query-params.",
6+
"main": "./dist/index.cjs.js",
7+
"typings": "./dist/index.d.ts",
8+
"module": "./dist/index.js",
9+
"files": [
10+
"dist",
11+
"src"
12+
],
13+
"scripts": {
14+
"build": "package-bundler --copyPackageJson --rewritePackageJson --tsconfigPath ./tsconfig.build.json --sourcemap false",
15+
"clean": "rimraf dist",
16+
"prepublishOnly": "npm run test && npm run clean && npm run build",
17+
"lint": "eslint --ext js,ts,tsx src",
18+
"prettier": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
19+
"test": "vitest",
20+
"test-watch": "vitest watch",
21+
"test-coverage": "vitest run --coverage"
22+
},
23+
"repository": {
24+
"type": "git",
25+
"url": "https://github.com/pbeshai/use-query-params.git"
26+
},
27+
"author": "Peter Beshai <peter.beshai@gmail.com>",
28+
"license": "ISC",
29+
"devDependencies": {
30+
"next": "14.0.0",
31+
"lint-staged": "^10.5.4",
32+
"prettier": "^2.2.1",
33+
"react": "^17.0.2",
34+
"react-dom": "^17.0.2"
35+
},
36+
"peerDependencies": {
37+
"react": ">=16.8.0",
38+
"react-dom": ">=16.8.0",
39+
"next": "^13.0.0 || ^14.0.0"
40+
},
41+
"dependencies": {
42+
"use-query-params": "file:../use-query-params"
43+
},
44+
"husky": {
45+
"hooks": {
46+
"pre-commit": "lint-staged"
47+
}
48+
},
49+
"lint-staged": {
50+
"src/*.{js,jsx,ts,tsx,md}": [
51+
"prettier --write",
52+
"git add"
53+
],
54+
"src/*.{js,ts,tsx}": [
55+
"eslint --fix",
56+
"git add"
57+
]
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { useRouter } from 'next/router';
2+
import { useSearchParams } from 'next/navigation';
3+
import {
4+
QueryParamAdapter,
5+
QueryParamAdapterComponent,
6+
} from 'use-query-params';
7+
8+
/**
9+
* Adapts next/router history to work with our
10+
* { replace, push } interface.
11+
*/
12+
export const NextAdapter: QueryParamAdapterComponent = ({ children }) => {
13+
// implementation inspired by https://nextjs.org/docs/app/api-reference/functions/use-search-params
14+
const router = useRouter();
15+
const pathname = router.pathname;
16+
const searchParams = useSearchParams()!;
17+
18+
const adapter: QueryParamAdapter = {
19+
replace(location) {
20+
router.replace(`${pathname}${location.search}`);
21+
},
22+
push(location) {
23+
router.push(`${pathname}${location.search}`);
24+
},
25+
get location() {
26+
const params = new URLSearchParams(searchParams);
27+
const search = params.toString();
28+
29+
return { search };
30+
},
31+
};
32+
33+
return children(adapter);
34+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"exclude": [
4+
"src/__tests__/*"
5+
]
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"include": ["src", "types"],
4+
"exclude": ["**/*.stories.*"],
5+
"compilerOptions": {
6+
"rootDir": "./src",
7+
"baseUrl": "./",
8+
"paths": {
9+
"*": ["src/*", "node_modules/*"]
10+
}
11+
}
12+
}

yarn.lock

+142-1
Original file line numberDiff line numberDiff line change
@@ -1765,6 +1765,56 @@
17651765
npmlog "^6.0.2"
17661766
write-file-atomic "^3.0.3"
17671767

1768+
"@next/env@14.0.0":
1769+
version "14.0.0"
1770+
resolved "https://registry.yarnpkg.com/@next/env/-/env-14.0.0.tgz#d8956f5ccf86b4098ac281f1ca94efe86fabd3c0"
1771+
integrity sha512-cIKhxkfVELB6hFjYsbtEeTus2mwrTC+JissfZYM0n+8Fv+g8ucUfOlm3VEDtwtwydZ0Nuauv3bl0qF82nnCAqA==
1772+
1773+
"@next/swc-darwin-arm64@14.0.0":
1774+
version "14.0.0"
1775+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.0.0.tgz#74599aec959b2c425f603447f852ac5eefbb3fd6"
1776+
integrity sha512-HQKi159jCz4SRsPesVCiNN6tPSAFUkOuSkpJsqYTIlbHLKr1mD6be/J0TvWV6fwJekj81bZV9V/Tgx3C2HO9lA==
1777+
1778+
"@next/swc-darwin-x64@14.0.0":
1779+
version "14.0.0"
1780+
resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.0.0.tgz#6f628a1a13b4bc09c0450bb171703f60ca7a6c56"
1781+
integrity sha512-4YyQLMSaCgX/kgC1jjF3s3xSoBnwHuDhnF6WA1DWNEYRsbOOPWjcYhv8TKhRe2ApdOam+VfQSffC4ZD+X4u1Cg==
1782+
1783+
"@next/swc-linux-arm64-gnu@14.0.0":
1784+
version "14.0.0"
1785+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.0.0.tgz#0088f3d13b253657333b6aced57e1e278452e766"
1786+
integrity sha512-io7fMkJ28Glj7SH8yvnlD6naIhRDnDxeE55CmpQkj3+uaA2Hko6WGY2pT5SzpQLTnGGnviK85cy8EJ2qsETj/g==
1787+
1788+
"@next/swc-linux-arm64-musl@14.0.0":
1789+
version "14.0.0"
1790+
resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.0.0.tgz#44d7c9be63dfdea2d4feeba515a8c80ca56f2d87"
1791+
integrity sha512-nC2h0l1Jt8LEzyQeSs/BKpXAMe0mnHIMykYALWaeddTqCv5UEN8nGO3BG8JAqW/Y8iutqJsaMe2A9itS0d/r8w==
1792+
1793+
"@next/swc-linux-x64-gnu@14.0.0":
1794+
version "14.0.0"
1795+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.0.0.tgz#064b7ca6da98ca7468ae5d97370e73a8bc2eee76"
1796+
integrity sha512-Wf+WjXibJQ7hHXOdNOmSMW5bxeJHVf46Pwb3eLSD2L76NrytQlif9NH7JpHuFlYKCQGfKfgSYYre5rIfmnSwQw==
1797+
1798+
"@next/swc-linux-x64-musl@14.0.0":
1799+
version "14.0.0"
1800+
resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.0.0.tgz#c2a66bd7d5f54a3a5faa14ff9bce93a507d2135d"
1801+
integrity sha512-WTZb2G7B+CTsdigcJVkRxfcAIQj7Lf0ipPNRJ3vlSadU8f0CFGv/ST+sJwF5eSwIe6dxKoX0DG6OljDBaad+rg==
1802+
1803+
"@next/swc-win32-arm64-msvc@14.0.0":
1804+
version "14.0.0"
1805+
resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.0.0.tgz#a657568bc1bf6f3bfabc07034342ef1942f14e31"
1806+
integrity sha512-7R8/x6oQODmNpnWVW00rlWX90sIlwluJwcvMT6GXNIBOvEf01t3fBg0AGURNKdTJg2xNuP7TyLchCL7Lh2DTiw==
1807+
1808+
"@next/swc-win32-ia32-msvc@14.0.0":
1809+
version "14.0.0"
1810+
resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.0.0.tgz#fe27ae6c165d6d74bf80f7dc37d67401c2148518"
1811+
integrity sha512-RLK1nELvhCnxaWPF07jGU4x3tjbyx2319q43loZELqF0+iJtKutZ+Lk8SVmf/KiJkYBc7Cragadz7hb3uQvz4g==
1812+
1813+
"@next/swc-win32-x64-msvc@14.0.0":
1814+
version "14.0.0"
1815+
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.0.0.tgz#fef677c3f4b62443e0b02d3d59440f6b0b8eb1f4"
1816+
integrity sha512-g6hLf1SUko+hnnaywQQZzzb3BRecQsoKkF3o/C+F+dOA4w/noVAJngUVkfwF0+2/8FzNznM7ofM6TGZO9svn7w==
1817+
17681818
"@nodelib/fs.scandir@2.1.5":
17691819
version "2.1.5"
17701820
resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -2134,6 +2184,13 @@
21342184
resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.24.20.tgz#11a657875de6008622d53f56e063a6347c51a6dd"
21352185
integrity sha512-kVaO5aEFZb33nPMTZBxiPEkY+slxiPtqC7QX8f9B3eGOMBvEfuMfxp9DSTTCsRJPumPKjrge4yagyssO4q6qzQ==
21362186

2187+
"@swc/helpers@0.5.2":
2188+
version "0.5.2"
2189+
resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.2.tgz#85ea0c76450b61ad7d10a37050289eded783c27d"
2190+
integrity sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==
2191+
dependencies:
2192+
tslib "^2.4.0"
2193+
21372194
"@testing-library/dom@^8.0.0":
21382195
version "8.16.0"
21392196
resolved "https://registry.npmjs.org/@testing-library/dom/-/dom-8.16.0.tgz#d6fc50250aed17b1035ca1bd64655e342db3936a"
@@ -2818,6 +2875,13 @@ builtins@^5.0.0:
28182875
dependencies:
28192876
semver "^7.0.0"
28202877

2878+
busboy@1.6.0:
2879+
version "1.6.0"
2880+
resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893"
2881+
integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
2882+
dependencies:
2883+
streamsearch "^1.1.0"
2884+
28212885
byte-size@^7.0.0:
28222886
version "7.0.1"
28232887
resolved "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz#b1daf3386de7ab9d706b941a748dbfc71130dee3"
@@ -2903,6 +2967,11 @@ caniuse-lite@^1.0.30001366:
29032967
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001370.tgz#0a30d4f20d38b9e108cc5ae7cc62df9fe66cd5ba"
29042968
integrity sha512-3PDmaP56wz/qz7G508xzjx8C+MC2qEm4SYhSEzC9IBROo+dGXFWRuaXkWti0A9tuI00g+toiriVqxtWMgl350g==
29052969

2970+
caniuse-lite@^1.0.30001406:
2971+
version "1.0.30001571"
2972+
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001571.tgz#4182e93d696ff42930f4af7eba515ddeb57917ac"
2973+
integrity sha512-tYq/6MoXhdezDLFZuCO/TKboTzuQ/xR5cFdgXPfDtM7/kchBO3b4VWghE/OAi/DV7tTdhmLjZiZBZi1fA/GheQ==
2974+
29062975
chai@^4.3.6:
29072976
version "4.3.6"
29082977
resolved "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz#ffe4ba2d9fa9d6680cc0b370adae709ec9011e9c"
@@ -3019,6 +3088,11 @@ cli-width@^3.0.0:
30193088
resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6"
30203089
integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==
30213090

3091+
client-only@0.0.1:
3092+
version "0.0.1"
3093+
resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"
3094+
integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==
3095+
30223096
cliui@^6.0.0:
30233097
version "6.0.0"
30243098
resolved "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
@@ -4403,6 +4477,11 @@ glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2:
44034477
dependencies:
44044478
is-glob "^4.0.1"
44054479

4480+
glob-to-regexp@^0.4.1:
4481+
version "0.4.1"
4482+
resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e"
4483+
integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==
4484+
44064485
glob@7.1.4:
44074486
version "7.1.4"
44084487
resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
@@ -5812,6 +5891,11 @@ nanoid@^3.3.4:
58125891
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab"
58135892
integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==
58145893

5894+
nanoid@^3.3.6:
5895+
version "3.3.7"
5896+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
5897+
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
5898+
58155899
natural-compare@^1.4.0:
58165900
version "1.4.0"
58175901
resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -5827,6 +5911,29 @@ neo-async@^2.6.0:
58275911
resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"
58285912
integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==
58295913

5914+
next@14.0.0:
5915+
version "14.0.0"
5916+
resolved "https://registry.yarnpkg.com/next/-/next-14.0.0.tgz#8ec0d7a1d85a2361240479a51608d4b8c6b0c613"
5917+
integrity sha512-J0jHKBJpB9zd4+c153sair0sz44mbaCHxggs8ryVXSFBuBqJ8XdE9/ozoV85xGh2VnSjahwntBZZgsihL9QznA==
5918+
dependencies:
5919+
"@next/env" "14.0.0"
5920+
"@swc/helpers" "0.5.2"
5921+
busboy "1.6.0"
5922+
caniuse-lite "^1.0.30001406"
5923+
postcss "8.4.31"
5924+
styled-jsx "5.1.1"
5925+
watchpack "2.4.0"
5926+
optionalDependencies:
5927+
"@next/swc-darwin-arm64" "14.0.0"
5928+
"@next/swc-darwin-x64" "14.0.0"
5929+
"@next/swc-linux-arm64-gnu" "14.0.0"
5930+
"@next/swc-linux-arm64-musl" "14.0.0"
5931+
"@next/swc-linux-x64-gnu" "14.0.0"
5932+
"@next/swc-linux-x64-musl" "14.0.0"
5933+
"@next/swc-win32-arm64-msvc" "14.0.0"
5934+
"@next/swc-win32-ia32-msvc" "14.0.0"
5935+
"@next/swc-win32-x64-msvc" "14.0.0"
5936+
58305937
nice-try@^1.0.4:
58315938
version "1.0.5"
58325939
resolved "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
@@ -6526,6 +6633,15 @@ plur@^4.0.0:
65266633
dependencies:
65276634
irregular-plurals "^3.2.0"
65286635

6636+
postcss@8.4.31:
6637+
version "8.4.31"
6638+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.31.tgz#92b451050a9f914da6755af352bdc0192508656d"
6639+
integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
6640+
dependencies:
6641+
nanoid "^3.3.6"
6642+
picocolors "^1.0.0"
6643+
source-map-js "^1.0.2"
6644+
65296645
postcss@^8.4.14:
65306646
version "8.4.14"
65316647
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz#ee9274d5622b4858c1007a74d76e42e56fd21caf"
@@ -7354,6 +7470,11 @@ ssri@^9.0.0:
73547470
dependencies:
73557471
minipass "^3.1.1"
73567472

7473+
streamsearch@^1.1.0:
7474+
version "1.1.0"
7475+
resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764"
7476+
integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
7477+
73577478
strict-uri-encode@^2.0.0:
73587479
version "2.0.0"
73597480
resolved "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"
@@ -7480,6 +7601,13 @@ strong-log-transformer@^2.1.0:
74807601
minimist "^1.2.0"
74817602
through "^2.3.4"
74827603

7604+
styled-jsx@5.1.1:
7605+
version "5.1.1"
7606+
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-5.1.1.tgz#839a1c3aaacc4e735fed0781b8619ea5d0009d1f"
7607+
integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==
7608+
dependencies:
7609+
client-only "0.0.1"
7610+
74837611
supports-color@^5.3.0:
74847612
version "5.5.0"
74857613
resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
@@ -7702,6 +7830,11 @@ tslib@^2.1.0, tslib@^2.3.0:
77027830
resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3"
77037831
integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==
77047832

7833+
tslib@^2.4.0:
7834+
version "2.6.2"
7835+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae"
7836+
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
7837+
77057838
tsutils@^3.21.0:
77067839
version "3.21.0"
77077840
resolved "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
@@ -7863,7 +7996,7 @@ uri-js@^4.2.2:
78637996
punycode "^2.1.0"
78647997

78657998
"use-query-params@file:packages/use-query-params":
7866-
version "2.1.2"
7999+
version "2.2.1"
78678000
dependencies:
78688001
serialize-query-params "^2.0.2"
78698002

@@ -7973,6 +8106,14 @@ warning@^4.0.3:
79738106
dependencies:
79748107
loose-envify "^1.0.0"
79758108

8109+
watchpack@2.4.0:
8110+
version "2.4.0"
8111+
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d"
8112+
integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==
8113+
dependencies:
8114+
glob-to-regexp "^0.4.1"
8115+
graceful-fs "^4.1.2"
8116+
79768117
wcwidth@^1.0.0, wcwidth@^1.0.1:
79778118
version "1.0.1"
79788119
resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"

0 commit comments

Comments
 (0)