@types/enzyme
Advanced tools
Comparing version 2.4.36 to 2.5.37
@@ -1,4 +0,4 @@ | ||
// Type definitions for Enzyme v2.4.1 | ||
// Type definitions for Enzyme v2.5.1 | ||
// Project: https://github.com/airbnb/enzyme | ||
// Definitions by: Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de> | ||
// Definitions by: Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -104,7 +104,7 @@ | ||
/** | ||
* Returns whether or not the current node is empty. | ||
*/ | ||
isEmpty(): boolean; | ||
* Returns whether or not the current node is empty. | ||
*/ | ||
isEmpty(): boolean; | ||
/** | ||
/** | ||
* Returns a new wrapper with only the nodes of the current wrapper that don't match the provided selector. | ||
@@ -255,4 +255,5 @@ * This method is effectively the negation or inverse of filter. | ||
* @param state | ||
* @param [callback] | ||
*/ | ||
setState(state: S): this; | ||
setState(state: S, callback?: () => void): this; | ||
@@ -268,5 +269,6 @@ /** | ||
* NOTE: can only be called on a wrapper instance that is also the root instance. | ||
* @param state | ||
* @param props | ||
* @param [callback] | ||
*/ | ||
setProps(props: P): this; | ||
setProps(props: P, callback?: () => void): this; | ||
@@ -429,2 +431,9 @@ /** | ||
/** | ||
* Shallow render the one non-DOM child of the current wrapper, and return a wrapper around the result. | ||
* NOTE: can only be called on wrapper of a single non-DOM component element node. | ||
* @param [options] | ||
*/ | ||
dive<P2, S2>(options?: ShallowRendererProps): ShallowWrapper<P2, S2>; | ||
/** | ||
* Returns a wrapper around all of the parents/ancestors of the wrapper. Does not include the node in the | ||
@@ -431,0 +440,0 @@ * current wrapper. Optionally, a selector can be provided and it will filter the parents by this selector. |
{ | ||
"name": "@types/enzyme", | ||
"version": "2.4.36", | ||
"description": "TypeScript definitions for Enzyme v2.4.1", | ||
"version": "2.5.37", | ||
"description": "TypeScript definitions for Enzyme v2.5.1", | ||
"license": "MIT", | ||
"author": "Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>", | ||
"author": "Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey>", | ||
"main": "", | ||
@@ -18,3 +18,3 @@ "repository": { | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "d6463314358c7f503b14c4c63f5ba6a7c9c72af016021b5b6b17fc35cdd5d1da" | ||
"typesPublisherContentHash": "4970bb92a3c10d270e2136c0eff937a7a7a0c4d2c3868e5b83f6b0ee83095fff" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Enzyme v2.4.1 (https://github.com/airbnb/enzyme). | ||
This package contains type definitions for Enzyme v2.5.1 (https://github.com/airbnb/enzyme). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 05 Oct 2016 20:53:32 GMT | ||
* Last updated: Wed, 26 Oct 2016 19:23:26 GMT | ||
* File structure: ProperModule | ||
@@ -20,2 +20,2 @@ * Library Dependencies: none | ||
# Credits | ||
These definitions were written by Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>. | ||
These definitions were written by Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey>. |
{ | ||
"authors": "Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>", | ||
"authors": "Marian Palkus <https://github.com/MarianPalkus>, Cap3 <http://www.cap3.de>, Ivo Stratev <https://github.com/NoHomey>", | ||
"definitionFilename": "index.d.ts", | ||
@@ -9,4 +9,4 @@ "libraryDependencies": [], | ||
"libraryMajorVersion": "2", | ||
"libraryMinorVersion": "4", | ||
"libraryName": "Enzyme v2.4.1", | ||
"libraryMinorVersion": "5", | ||
"libraryName": "Enzyme v2.5.1", | ||
"typingsPackageName": "enzyme", | ||
@@ -25,3 +25,3 @@ "projectName": "https://github.com/airbnb/enzyme", | ||
"hasPackageJson": false, | ||
"contentHash": "d6463314358c7f503b14c4c63f5ba6a7c9c72af016021b5b6b17fc35cdd5d1da" | ||
"contentHash": "4970bb92a3c10d270e2136c0eff937a7a7a0c4d2c3868e5b83f6b0ee83095fff" | ||
} |
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
26658
566