aboutsummaryrefslogtreecommitdiff
path: root/node_modules/invariant
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-09-20 02:56:13 +0200
commitbbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch)
treec58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/invariant
parent003fb34971cf63466184351b4db5f7c67df4f444 (diff)
update packages
Diffstat (limited to 'node_modules/invariant')
-rw-r--r--node_modules/invariant/CHANGELOG.md36
-rw-r--r--node_modules/invariant/LICENSE40
-rw-r--r--node_modules/invariant/README.md2
-rw-r--r--node_modules/invariant/browser.js8
-rw-r--r--node_modules/invariant/invariant.js8
-rw-r--r--node_modules/invariant/invariant.js.flow2
-rw-r--r--node_modules/invariant/package.json6
7 files changed, 64 insertions, 38 deletions
diff --git a/node_modules/invariant/CHANGELOG.md b/node_modules/invariant/CHANGELOG.md
index 5326f1a0e..bc52f1c5c 100644
--- a/node_modules/invariant/CHANGELOG.md
+++ b/node_modules/invariant/CHANGELOG.md
@@ -1,3 +1,39 @@
+2.2.4 / 2018-03-13
+==================
+
+ * Use flow strict mode (i.e. `@flow strict`).
+
+2.2.3 / 2018-02-19
+==================
+
+ * Change license from BSD+Patents to MIT.
+
+2.2.2 / 2016-11-15
+==================
+
+ * Add LICENSE file.
+ * Misc housekeeping.
+
+2.2.1 / 2016-03-09
+==================
+
+ * Use `NODE_ENV` variable instead of `__DEV__` to cache `process.env.NODE_ENV`.
+
+2.2.0 / 2015-11-17
+==================
+
+ * Use `error.name` instead of `Invariant Violation`.
+
+2.1.3 / 2015-11-17
+==================
+
+ * Remove `@provideModule` pragma.
+
+2.1.2 / 2015-10-27
+==================
+
+ * Fix license.
+
2.1.1 / 2015-09-20
==================
diff --git a/node_modules/invariant/LICENSE b/node_modules/invariant/LICENSE
index 35b4e8fab..188fb2b0b 100644
--- a/node_modules/invariant/LICENSE
+++ b/node_modules/invariant/LICENSE
@@ -1,27 +1,21 @@
-Copyright (c) 2016, Andres Suarez
-All rights reserved.
+MIT License
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
+Copyright (c) 2013-present, Facebook, Inc.
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
-* Neither the name of invariant nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/node_modules/invariant/README.md b/node_modules/invariant/README.md
index 96aac6d36..4f18354a0 100644
--- a/node_modules/invariant/README.md
+++ b/node_modules/invariant/README.md
@@ -34,4 +34,4 @@ When used with [browserify](https://github.com/substack/node-browserify), it'll
### Node
-The node version is optimized around the performance implications of accessing `process.env`. The value of `process.env.NODE_ENV` is cached, and repeatedly used instead of reading `proces.env`. See [Server rendering is slower with npm react #812](https://github.com/facebook/react/issues/812)
+The node version is optimized around the performance implications of accessing `process.env`. The value of `process.env.NODE_ENV` is cached, and repeatedly used instead of reading `process.env`. See [Server rendering is slower with npm react #812](https://github.com/facebook/react/issues/812)
diff --git a/node_modules/invariant/browser.js b/node_modules/invariant/browser.js
index 29ead5043..b3941bc60 100644
--- a/node_modules/invariant/browser.js
+++ b/node_modules/invariant/browser.js
@@ -1,10 +1,8 @@
/**
- * Copyright 2013-2015, Facebook, Inc.
- * All rights reserved.
+ * Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
*/
'use strict';
diff --git a/node_modules/invariant/invariant.js b/node_modules/invariant/invariant.js
index 1859a2a52..b543e9ff0 100644
--- a/node_modules/invariant/invariant.js
+++ b/node_modules/invariant/invariant.js
@@ -1,10 +1,8 @@
/**
- * Copyright 2013-2015, Facebook, Inc.
- * All rights reserved.
+ * Copyright (c) 2013-present, Facebook, Inc.
*
- * This source code is licensed under the BSD-style license found in the
- * LICENSE file in the root directory of this source tree. An additional grant
- * of patent rights can be found in the PATENTS file in the same directory.
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
*/
'use strict';
diff --git a/node_modules/invariant/invariant.js.flow b/node_modules/invariant/invariant.js.flow
index 361c5192c..462ab73b6 100644
--- a/node_modules/invariant/invariant.js.flow
+++ b/node_modules/invariant/invariant.js.flow
@@ -1,4 +1,4 @@
-/* @flow */
+/* @flow strict */
declare module.exports: (
condition: any,
diff --git a/node_modules/invariant/package.json b/node_modules/invariant/package.json
index e4b967222..bb1499fd6 100644
--- a/node_modules/invariant/package.json
+++ b/node_modules/invariant/package.json
@@ -1,12 +1,12 @@
{
"name": "invariant",
- "version": "2.2.2",
+ "version": "2.2.4",
"description": "invariant",
"keywords": [
"test",
"invariant"
],
- "license": "BSD-3-Clause",
+ "license": "MIT",
"author": "Andres Suarez <zertosh@gmail.com>",
"files": [
"browser.js",
@@ -22,7 +22,7 @@
},
"devDependencies": {
"browserify": "^11.0.1",
- "flow-bin": "^0.35.0",
+ "flow-bin": "^0.67.1",
"tap": "^1.4.0"
},
"main": "invariant.js",