Comparing version 2.1.0 to 3.0.0
{ | ||
"name": "warning", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "A mirror of Facebook's Warning", | ||
@@ -28,3 +28,3 @@ "main": "warning.js", | ||
"type": "git", | ||
"url": "https://github.com/r3dm/warning.git" | ||
"url": "https://github.com/BerkeleyTrue/warning.git" | ||
}, | ||
@@ -37,8 +37,8 @@ "keywords": [ | ||
], | ||
"author": "Berkeley Martinez <berkeley@r3dm.com> (http://r3dm.com)", | ||
"license": "BSD-2-Clause", | ||
"author": "Berkeley Martinez <berkeley@r3dm.com> (http://www.freecodecamp.com)", | ||
"license": "BSD-3-Clause", | ||
"bugs": { | ||
"url": "https://github.com/r3dm/warning/issues" | ||
"url": "https://github.com/BerkeleyTrue/warning/issues" | ||
}, | ||
"homepage": "https://github.com/r3dm/warning" | ||
"homepage": "https://github.com/BerkeleyTrue/warning" | ||
} |
@@ -1,7 +0,5 @@ | ||
# Warning | ||
# Warning [![npm version](https://badge.fury.io/js/warning.svg)](https://badge.fury.io/js/warning) | ||
A mirror of Facebook's Warning | ||
[![NPM](https://nodei.co/npm/warning.png?downloads=true)](https://npmjs.org/package/warning) | ||
## Usage | ||
@@ -18,4 +16,6 @@ ``` | ||
warning(ShouldBeTrue, 'This thing should be true but you set to false. No soup | ||
for you!'); | ||
warning( | ||
ShouldBeTrue, | ||
'This thing should be true but you set to false. No soup for you!' | ||
); | ||
// 'This thing should be true but you set to false. No soup for you!' | ||
@@ -33,2 +33,5 @@ ``` | ||
## Use in Production | ||
It is recommended to add [babel-plugin-dev-expression](https://github.com/4Catalyzer/babel-plugin-dev-expression) with this module to remove warning messages in production. | ||
<br> | ||
@@ -35,0 +38,0 @@ <br> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
7924
0
53