Files

Return to Package Diff Home.
Brought to you by Intrinsic.

Package Diff: jest @ 24.1.0 .. 24.5.0

build/jest.d.ts

@@ -0,0 +1,9 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+import * as cli from 'jest-cli';
+export = cli;
+//# sourceMappingURL=jest.d.ts.map
\ No newline at end of file

build/jest.d.ts.map

@@ -0,0 +1 @@
+{"version":3,"file":"jest.d.ts","sourceRoot":"","sources":["../src/jest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAEhC,SAAS,GAAG,CAAC"}
\ No newline at end of file

build/jest.js

@@ -1,17 +1,38 @@
'use strict';
-function _jestCli() {
- const data = _interopRequireDefault(require('jest-cli'));
+function cli() {
+ const data = _interopRequireWildcard(require('jest-cli'));
- _jestCli = function _jestCli() {
+ cli = function cli() {
return data;
};
return data;
}
-function _interopRequireDefault(obj) {
- return obj && obj.__esModule ? obj : {default: obj};
+function _interopRequireWildcard(obj) {
+ if (obj && obj.__esModule) {
+ return obj;
+ } else {
+ var newObj = {};
+ if (obj != null) {
+ for (var key in obj) {
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
+ var desc =
+ Object.defineProperty && Object.getOwnPropertyDescriptor
+ ? Object.getOwnPropertyDescriptor(obj, key)
+ : {};
+ if (desc.get || desc.set) {
+ Object.defineProperty(newObj, key, desc);
+ } else {
+ newObj[key] = obj[key];
+ }
+ }
+ }
+ }
+ newObj.default = obj;
+ return newObj;
+ }
}
/**
@@ -19,7 +40,5 @@
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- *
- *
*/
-module.exports = _jestCli().default;
+module.exports = cli();

LICENSE

@@ -1,23 +0,0 @@
-MIT License
-
-For Jest software
-
-Copyright (c) 2014-present, Facebook, Inc.
-
-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.

package.json

@@ -1,11 +1,12 @@
{
"name": "jest",
"description": "Delightful JavaScript Testing.",
- "version": "24.1.0",
+ "version": "24.5.0",
"main": "build/jest.js",
+ "types": "build/jest.d.ts",
"dependencies": {
"import-local": "^2.0.0",
- "jest-cli": "^24.1.0"
+ "jest-cli": "^24.5.0"
},
"bin": {
"jest": "./bin/jest.js"
@@ -45,5 +46,8 @@
"typescript",
"watch"
],
- "gitHead": "b16789230fd45056a7f2fa199bae06c7a1780deb"
+ "publishConfig": {
+ "access": "public"
+ },
+ "gitHead": "800533020f5b2f153615c821ed7cb12fd868fa6f"
}

tsconfig.json

@@ -0,0 +1,10 @@
+{
+ "extends": "../../tsconfig.json",
+ "compilerOptions": {
+ "rootDir": "src",
+ "outDir": "build"
+ },
+ "references": [
+ {"path": "../jest-cli"}
+ ]
+}