You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
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

1.0.6
latest
Source
npm
Version published
Weekly downloads
1
-92.86%
Maintainers
1
Weekly downloads
 
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