recoil
Advanced tools
Comparing version 0.1.1 to 0.1.2
# Change Log | ||
## 0.1.0 (2020-10-29) | ||
## 0.1.2 (2020-10-30) | ||
- Fix TypeScript exports | ||
## 0.1.1 (2020-10-29) | ||
- Performance Improvements | ||
@@ -6,0 +10,0 @@ - Experimental React Native support |
@@ -196,8 +196,8 @@ // Minimum TypeScript Version: 3.7 | ||
// loadable.d.ts | ||
type ResolvedLoadablePromiseInfo<T> = Readonly<{ | ||
value: T; | ||
}>; | ||
declare const LoadablePromiseValue_OPAQUE: unique symbol; | ||
interface LoadablePromiseValue { | ||
readonly [LoadablePromiseValue_OPAQUE]: true; | ||
} | ||
type LoadablePromise<T> = Promise<LoadablePromiseValue>; | ||
export type LoadablePromise<T> = Promise<ResolvedLoadablePromiseInfo<T>>; | ||
interface BaseLoadable<T> { | ||
@@ -226,7 +226,7 @@ getValue: () => T; | ||
interface ErrorLoadable<T> extends BaseLoadable<T> { | ||
state: 'error'; | ||
state: 'hasError'; | ||
contents: Error; | ||
} | ||
type Loadable<T> = | ||
export type Loadable<T> = | ||
| ValueLoadable<T> | ||
@@ -233,0 +233,0 @@ | LoadingLoadable<T> |
{ | ||
"name": "recoil", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Recoil - A state management library for React", | ||
@@ -5,0 +5,0 @@ "main": "cjs/recoil.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
19268
1267617
112
193