js-sanitizer

Sanitize JavaScript code provided as string. This is a JavaScript sanitizer and not an HTML sanitizer! Prevents any JavaScript code written as a string to access global variables (in Nodejs, and from `window` in browser).

Package versions

14 VERSIONS IN TOTAL
versionpublisheddirect vulnerabilities
1.0.1510 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1410 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.1310 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.113 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.103 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.93 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.83 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.73 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.63 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.53 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.43 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.33 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.23 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L
1.0.13 Oct, 2021
  • 0
    C
  • 0
    H
  • 0
    M
  • 0
    L

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Get started free