diff -Nru node-invariant-2.2.2/browser.js node-invariant-2.2.4/browser.js --- node-invariant-2.2.2/browser.js 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/browser.js 2018-03-13 18:34:34.000000000 +0000 @@ -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 -Nru node-invariant-2.2.2/CHANGELOG.md node-invariant-2.2.4/CHANGELOG.md --- node-invariant-2.2.2/CHANGELOG.md 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/CHANGELOG.md 2018-03-13 18:34:34.000000000 +0000 @@ -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 -Nru node-invariant-2.2.2/debian/changelog node-invariant-2.2.4/debian/changelog --- node-invariant-2.2.2/debian/changelog 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/changelog 2020-11-30 16:15:52.000000000 +0000 @@ -1,3 +1,31 @@ +node-invariant (2.2.4-1) unstable; urgency=medium + + * Team upload + + [ Paolo Greppi ] + * Update Vcs fields for migration to https://salsa.debian.org/ + + [ Debian Janitor ] + * Use secure copyright file specification URI. + * Bump debhelper from old 9 to 12. + * Set debhelper-compat version in Build-Depends. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + + [ Xavier Guimard ] + * Bump debhelper compatibility level to 13 + * Declare compliance with policy 4.5.1 + * Add "Rules-Requires-Root: no" + * Change section to javascript + * Add debian/gbp.conf + * Modernize debian/watch + * Use dh-sequence-nodejs auto test & install + * Embed @types/invariant + * New upstream version 2.2.4 + * Refresh patch + + -- Xavier Guimard Mon, 30 Nov 2020 17:15:52 +0100 + node-invariant (2.2.2-1) unstable; urgency=low * Initial release (Closes: #846205) diff -Nru node-invariant-2.2.2/debian/compat node-invariant-2.2.4/debian/compat --- node-invariant-2.2.2/debian/compat 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru node-invariant-2.2.2/debian/control node-invariant-2.2.4/debian/control --- node-invariant-2.2.2/debian/control 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/control 2020-11-30 16:15:52.000000000 +0000 @@ -1,25 +1,24 @@ Source: node-invariant -Section: web -Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Paolo Greppi -Build-Depends: - debhelper (>= 9) - , dh-buildinfo - , node-loose-envify - , node-tap - , nodejs -Standards-Version: 3.9.8 -Homepage: https://github.com/zertosh/invariant#readme -Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-invariant.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-invariant.git +Section: javascript +Testsuite: autopkgtest-pkg-nodejs +Priority: optional +Build-Depends: debhelper-compat (= 13) + , dh-sequence-nodejs + , node-loose-envify + , node-tap +Standards-Version: 4.5.1 +Vcs-Browser: https://salsa.debian.org/js-team/node-invariant +Vcs-Git: https://salsa.debian.org/js-team/node-invariant.git +Homepage: https://github.com/zertosh/invariant +Rules-Requires-Root: no Package: node-invariant Architecture: all -Depends: - ${misc:Depends} - , nodejs - , node-loose-envify (>= 1.0.0) +Depends: ${misc:Depends} + , node-loose-envify +Provides: ${nodejs:Provides} Description: assert function Node.js module to provide descriptive errors in development but generic errors in production. diff -Nru node-invariant-2.2.2/debian/copyright node-invariant-2.2.4/debian/copyright --- node-invariant-2.2.2/debian/copyright 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/copyright 2020-11-30 16:13:25.000000000 +0000 @@ -1,7 +1,8 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: invariant Upstream-Contact: https://github.com/zertosh/invariant/issues Source: https://github.com/zertosh/invariant#readme + https://registry.npmjs.org/@types/invariant Files: * Copyright: 2016 Andres Suarez @@ -12,11 +13,16 @@ Copyright: 2013-2015, Facebook, Inc. License: BSD-3-Clause +Files: types-*/* +Copyright: Microsoft Corporation +License: Expat + Files: debian/* Copyright: 2016 Paolo Greppi + 2020 Xavier Guimard License: BSD-3-Clause -License: BSD-3-clause +License: BSD-3-Clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -41,3 +47,23 @@ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +License: Expat + 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: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + 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 -Nru node-invariant-2.2.2/debian/gbp.conf node-invariant-2.2.4/debian/gbp.conf --- node-invariant-2.2.2/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/debian/gbp.conf 2020-11-30 16:11:54.000000000 +0000 @@ -0,0 +1,6 @@ +[DEFAULT] +pristine-tar=True +component=['types-invariant'] + +[import-orig] +filter=[ '.gitignore', '.travis.yml', '.git*' ] diff -Nru node-invariant-2.2.2/debian/install node-invariant-2.2.4/debian/install --- node-invariant-2.2.2/debian/install 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/install 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -package.json usr/lib/nodejs/invariant/ -invariant.js.flow usr/lib/nodejs/invariant/ -invariant.js usr/lib/nodejs/invariant/ -browser.js usr/lib/nodejs/invariant/ diff -Nru node-invariant-2.2.2/debian/nodejs/root_modules node-invariant-2.2.4/debian/nodejs/root_modules --- node-invariant-2.2.2/debian/nodejs/root_modules 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/debian/nodejs/root_modules 2020-11-30 16:15:52.000000000 +0000 @@ -0,0 +1 @@ +* diff -Nru node-invariant-2.2.2/debian/patches/00-cleanup_tests.diff node-invariant-2.2.4/debian/patches/00-cleanup_tests.diff --- node-invariant-2.2.2/debian/patches/00-cleanup_tests.diff 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/patches/00-cleanup_tests.diff 2020-11-30 16:14:15.000000000 +0000 @@ -2,10 +2,8 @@ Forwarded: not-needed Author: Paolo Greppi -Index: node-invariant/test/test.js -=================================================================== ---- node-invariant.orig/test/test.js -+++ node-invariant/test/test.js +--- a/test/test.js ++++ b/test/test.js @@ -1,9 +1,7 @@ 'use strict'; @@ -16,7 +14,7 @@ var execFile = require('child_process').execFile; var path = require('path'); -@@ -13,29 +11,3 @@ test('node', function(t) { +@@ -13,29 +11,3 @@ t.plan(4); require(file)(t); }); diff -Nru node-invariant-2.2.2/debian/rules node-invariant-2.2.4/debian/rules --- node-invariant-2.2.2/debian/rules 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/rules 2020-11-30 16:10:29.000000000 +0000 @@ -6,8 +6,3 @@ %: dh $@ - -#override_dh_auto_build: - -override_dh_auto_test: - NODE_ENV=production tap test/*.js && NODE_ENV=development tap test/*.js diff -Nru node-invariant-2.2.2/debian/salsa-ci.yml node-invariant-2.2.4/debian/salsa-ci.yml --- node-invariant-2.2.2/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/debian/salsa-ci.yml 2020-11-30 16:08:11.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru node-invariant-2.2.2/debian/tests/control node-invariant-2.2.4/debian/tests/control --- node-invariant-2.2.2/debian/tests/control 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -Tests: require -Depends: node-invariant - -Test-Command: NODE_ENV=production tap test/*.js && NODE_ENV=development tap test/*.js -Depends: @, @builddeps@ diff -Nru node-invariant-2.2.2/debian/tests/pkg-js/test node-invariant-2.2.4/debian/tests/pkg-js/test --- node-invariant-2.2.2/debian/tests/pkg-js/test 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/debian/tests/pkg-js/test 2020-11-30 16:09:25.000000000 +0000 @@ -0,0 +1,3 @@ +for env in production development; do + NODE_ENV=$env tap test/*.js +done diff -Nru node-invariant-2.2.2/debian/tests/require node-invariant-2.2.4/debian/tests/require --- node-invariant-2.2.2/debian/tests/require 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/tests/require 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -nodejs -e "require('invariant');" diff -Nru node-invariant-2.2.2/debian/upstream/metadata node-invariant-2.2.4/debian/upstream/metadata --- node-invariant-2.2.2/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/debian/upstream/metadata 2020-11-30 16:08:07.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/zertosh/invariant/issues +Bug-Submit: https://github.com/zertosh/invariant/issues/new +Repository: https://github.com/zertosh/invariant.git +Repository-Browse: https://github.com/zertosh/invariant diff -Nru node-invariant-2.2.2/debian/watch node-invariant-2.2.4/debian/watch --- node-invariant-2.2.2/debian/watch 2016-12-02 15:29:53.000000000 +0000 +++ node-invariant-2.2.4/debian/watch 2020-11-30 16:11:54.000000000 +0000 @@ -1,5 +1,10 @@ -version=3 +version=4 opts=\ -dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ +dversionmangle=auto,\ filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-invariant-$1.tar.gz/ \ https://github.com/zertosh/invariant/tags .*/archive/v?([\d\.]+).tar.gz + +# It is not recommended use npmregistry. Please investigate more. +# Take a look at https://wiki.debian.org/debian/watch/ +opts="searchmode=plain,component=types-invariant,pgpmode=none" \ + https://registry.npmjs.org/@types/invariant https://registry.npmjs.org/@types/invariant/-/invariant-([\d\.]+)@ARCHIVE_EXT@ ignore diff -Nru node-invariant-2.2.2/invariant.js node-invariant-2.2.4/invariant.js --- node-invariant-2.2.2/invariant.js 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/invariant.js 2018-03-13 18:34:34.000000000 +0000 @@ -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 -Nru node-invariant-2.2.2/invariant.js.flow node-invariant-2.2.4/invariant.js.flow --- node-invariant-2.2.2/invariant.js.flow 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/invariant.js.flow 2018-03-13 18:34:34.000000000 +0000 @@ -1,4 +1,4 @@ -/* @flow */ +/* @flow strict */ declare module.exports: ( condition: any, diff -Nru node-invariant-2.2.2/LICENSE node-invariant-2.2.4/LICENSE --- node-invariant-2.2.2/LICENSE 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/LICENSE 2018-03-13 18:34:34.000000000 +0000 @@ -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 -Nru node-invariant-2.2.2/package.json node-invariant-2.2.4/package.json --- node-invariant-2.2.2/package.json 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/package.json 2018-03-13 18:34:34.000000000 +0000 @@ -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 ", "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", diff -Nru node-invariant-2.2.2/README.md node-invariant-2.2.4/README.md --- node-invariant-2.2.2/README.md 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/README.md 2018-03-13 18:34:34.000000000 +0000 @@ -34,4 +34,4 @@ ### 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 -Nru node-invariant-2.2.2/test/flow/.flowconfig node-invariant-2.2.4/test/flow/.flowconfig --- node-invariant-2.2.2/test/flow/.flowconfig 2016-11-15 12:01:50.000000000 +0000 +++ node-invariant-2.2.4/test/flow/.flowconfig 2018-03-13 18:34:34.000000000 +0000 @@ -7,5 +7,13 @@ [options] +[strict] +nonstrict-import +sketchy-null +unclear-type +unsafe-getters-setters +untyped-import +untyped-type-import + [version] -0.35.0 +^0.67.0 diff -Nru node-invariant-2.2.2/types-invariant/index.d.ts node-invariant-2.2.4/types-invariant/index.d.ts --- node-invariant-2.2.2/types-invariant/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/types-invariant/index.d.ts 2020-09-01 20:30:58.000000000 +0000 @@ -0,0 +1,18 @@ +// Type definitions for invariant 2.2 +// Project: https://github.com/zertosh/invariant +// Definitions by: MichaelBennett +// dtinth +// Turadg Aleahmad +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +declare let invariant: invariant.InvariantStatic; + +export = invariant; +export as namespace invariant; + +declare namespace invariant { + interface InvariantStatic { + (testValue: false, format: string, ...extra: any[]): never; + (testValue: any, format: string, ...extra: any[]): asserts testValue; + } +} diff -Nru node-invariant-2.2.2/types-invariant/LICENSE node-invariant-2.2.4/types-invariant/LICENSE --- node-invariant-2.2.2/types-invariant/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/types-invariant/LICENSE 2020-09-01 20:30:58.000000000 +0000 @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + 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: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + 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 -Nru node-invariant-2.2.2/types-invariant/package.json node-invariant-2.2.4/types-invariant/package.json --- node-invariant-2.2.2/types-invariant/package.json 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/types-invariant/package.json 2020-09-01 20:30:58.000000000 +0000 @@ -0,0 +1,41 @@ +{ + "name": "@types/invariant", + "version": "2.2.34", + "description": "TypeScript definitions for invariant", + "license": "MIT", + "contributors": [ + { + "name": "MichaelBennett", + "url": "https://github.com/bennett000", + "githubUsername": "bennett000" + }, + { + "name": "dtinth", + "url": "https://github.com/dtinth", + "githubUsername": "dtinth" + }, + { + "name": "Turadg Aleahmad", + "url": "https://github.com/turadg", + "githubUsername": "turadg" + } + ], + "main": "", + "types": "index.d.ts", + "typesVersions": { + "<=3.6": { + "*": [ + "ts3.6/*" + ] + } + }, + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/invariant" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "e7bffa1dc470ca192b64f5b8b02f0ae83226a84e9dab2beb841e2fb5647451e1", + "typeScriptVersion": "3.1" +} \ No newline at end of file diff -Nru node-invariant-2.2.2/types-invariant/README.md node-invariant-2.2.4/types-invariant/README.md --- node-invariant-2.2.2/types-invariant/README.md 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/types-invariant/README.md 2020-09-01 20:30:58.000000000 +0000 @@ -0,0 +1,16 @@ +# Installation +> `npm install --save @types/invariant` + +# Summary +This package contains type definitions for invariant (https://github.com/zertosh/invariant). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/invariant. + +### Additional Details + * Last updated: Tue, 01 Sep 2020 20:30:58 GMT + * Dependencies: none + * Global values: `invariant` + +# Credits +These definitions were written by [MichaelBennett](https://github.com/bennett000), [dtinth](https://github.com/dtinth), and [Turadg Aleahmad](https://github.com/turadg). diff -Nru node-invariant-2.2.2/types-invariant/ts3.6/index.d.ts node-invariant-2.2.4/types-invariant/ts3.6/index.d.ts --- node-invariant-2.2.2/types-invariant/ts3.6/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ node-invariant-2.2.4/types-invariant/ts3.6/index.d.ts 2020-09-01 20:30:58.000000000 +0000 @@ -0,0 +1,12 @@ +declare let invariant:invariant.InvariantStatic; + +export = invariant; +export as namespace invariant; + +declare namespace invariant { + interface InvariantStatic { + (testValue:false, format:string, ...extra:any[]):never; + (testValue:any, format:string, ...extra:any[]):void; + } +} +