Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

raven-js-exposed-null

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raven-js-exposed-null

scan for rendered null

latest
Source
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Exposed Null Checker

This plugin allows Raven-js to report when and where a null type may have been rendered into the DOM. By default, it looks for occurrences of: "NaN", "undefined", and "[object Object]".

why? Because javascript is perfectly happy to let you do this: spotify-undefined NaN

without raising exceptions. Usage: npm i raven-js-exposed-null -S

var Raven = require('raven-js') ;
Raven
    .config('https://YOURDSN@sentry.io/*******')
    .install();

var exposedNullCheck = require('raven-js-exposed-null');
exposedNullCheck(Raven);

nyt-NaN paypall-undefined

FAQs

Package last updated on 20 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts