Skip to content

Commit

Permalink
Move jquery dependency to devDependencies and update to latest 3.x.x
Browse files Browse the repository at this point in the history
* consumer can use any jQuery version >= 1.7,
  but I don't want dependabot warnings
  • Loading branch information
kswedberg committed Jan 2, 2024
1 parent 641f46c commit 5b52bcd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"bugs": "https://github.com/kswedberg/jquery-smooth-scroll/issues",
"demo": "http://plugins.learningjquery.com/smooth-scroll/demo/",
"license": "MIT",
"dependencies": {
"jquery": ">=1.12.2"
},
"dependencies": {},
"devDependencies": {
"eslint-config-kswedberg": "^5.1.1",
"grunt": "^1.0.1",
Expand All @@ -31,6 +29,7 @@
"grunt-eslint": "^24.0.0",
"grunt-shell": "^4.0.0",
"grunt-version": "^3.0.0",
"jquery": "^3.7.1",
"lodash": "^4.17.4",
"marked": "^4.0.19",
"node-syntaxhighlighter": "^0.8.1",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ isobject@^3.0.0, isobject@^3.0.1:
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==

jquery@>=1.12.2:
jquery@^3.7.1:
version "3.7.1"
resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.7.1.tgz#083ef98927c9a6a74d05a6af02806566d16274de"
integrity sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==
Expand Down

0 comments on commit 5b52bcd

Please sign in to comment.