Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jQuery dependency to >=3.4.0 to avoid NPM issue #27

Open
arthurduarte1 opened this issue Apr 9, 2020 · 0 comments
Open

Update jQuery dependency to >=3.4.0 to avoid NPM issue #27

arthurduarte1 opened this issue Apr 9, 2020 · 0 comments

Comments

@arthurduarte1
Copy link

As you can see bellow, NPM suggests upgrading the jQuery version.

┌──────────────────────────────────────────────────────────────────────────────┐
│                                Manual Review                                 │
│            Some vulnerabilities require your attention to resolve            │
│                                                                              │
│         Visit https://go.npm.me/audit-guide for additional guidance          │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High          │ Cross-Site Scripting (XSS)                                   │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ jquery                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.0.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ jquery.ns-autogrow                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ jquery.ns-autogrow > jquery                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/328                             │
└───────────────┴──────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate      │ Prototype Pollution                                          │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package       │ jquery                                                       │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in    │ >=3.4.0                                                      │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ jquery.ns-autogrow                                           │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path          │ jquery.ns-autogrow > jquery                                  │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info     │ https://npmjs.com/advisories/796                             │
└───────────────┴──────────────────────────────────────────────────────────────┘

I've found on package.json jQuery 1+ as dependency:

{
  "_args": [
    [
      "[email protected]",
      "/Users/andresulivam/Documents/new_workspace/sistema-lookchic"
    ]
  ],
  "_from": "[email protected]",
  "_id": "[email protected]",
  "_inBundle": false,
  "_integrity": "sha1-RuaBWnz2PhQUCUmPkUJl9eQ1DIY=",
  "_location": "/jquery.ns-autogrow",
  "_phantomChildren": {},
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "[email protected]",
    "name": "jquery.ns-autogrow",
    "escapedName": "jquery.ns-autogrow",
    "rawSpec": "1.1.6",
    "saveSpec": null,
    "fetchSpec": "1.1.6"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://registry.npmjs.org/jquery.ns-autogrow/-/jquery.ns-autogrow-1.1.6.tgz",
  "_spec": "1.1.6",
  "_where": "/Users/andresulivam/Documents/new_workspace/sistema-lookchic",
  "author": {
    "name": "Roman Pushkin",
    "email": "[email protected]"
  },
  "bugs": {
    "url": "https://github.com/ro31337/jquery.ns-autogrow/issues"
  },
  "dependencies": {
    "jquery": "^1.12.4"
  },
  "description": "Automatically adjust textarea height based on user input. Non-sucking version.",
  "devDependencies": {
    "coffee-script": "^1.10.0",
    "del": "^2.0.2",
    "gulp": "^3.9.0",
    "gulp-coffee": "^2.3.1",
    "gulp-coffeelint": "^0.5.0",
    "gulp-header": "^1.7.1",
    "gulp-rename": "^1.2.2",
    "gulp-uglify": "^1.4.1"
  },
  "directories": {
    "example": "demo"
  },
  "files": [
    "demo",
    "dist"
  ],
  "homepage": "https://github.com/ro31337/jquery.ns-autogrow",
  "keywords": [
    "autogrow",
    "textarea",
    "form",
    "autosize",
    "ui",
    "jquery-plugin",
    "ecosystem:jquery"
  ],
  "license": "MIT",
  "main": "dist/jquery.ns-autogrow.js",
  "name": "jquery.ns-autogrow",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ro31337/jquery.ns-autogrow.git"
  },
  "version": "1.1.6"
}

Thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant