@rpldy/shared
Advanced tools
Comparing version 0.16.2 to 0.17.0
@@ -72,2 +72,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "isPromise", { | ||
enumerable: true, | ||
get: function () { | ||
return _utils.isPromise; | ||
} | ||
}); | ||
Object.defineProperty(exports, "isSamePropInArrays", { | ||
@@ -74,0 +80,0 @@ enumerable: true, |
@@ -48,2 +48,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "isPromise", { | ||
enumerable: true, | ||
get: function () { | ||
return _isPromise.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "isSamePropInArrays", { | ||
@@ -86,2 +92,4 @@ enumerable: true, | ||
var _isPromise = _interopRequireDefault(require("./isPromise")); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
@@ -88,0 +96,0 @@ |
@@ -13,2 +13,2 @@ import invariant from "invariant"; | ||
export { //cant use * because of flow | ||
isFunction, isPlainObject, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, hasWindow, isProduction } from "./utils"; | ||
isFunction, isPlainObject, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, hasWindow, isProduction, isPromise } from "./utils"; |
@@ -10,2 +10,3 @@ import isFunction from "./isFunction"; | ||
import isProduction from "./isProduction"; | ||
export { isFunction, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, isPlainObject, hasWindow, isProduction }; | ||
import isPromise from "./isPromise"; | ||
export { isFunction, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, isPlainObject, hasWindow, isProduction, isPromise }; |
{ | ||
"version": "0.16.2", | ||
"version": "0.17.0", | ||
"name": "@rpldy/shared", | ||
@@ -21,3 +21,3 @@ "description": "internal set of utils+types for react-uploady", | ||
"devDependencies": { | ||
"flow-bin": "^0.164.0" | ||
"flow-bin": "^0.169.0" | ||
}, | ||
@@ -31,3 +31,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "f7f9a4887703cb3a7eafd7186cd54faf4ea23785" | ||
"gitHead": "509d7a955e3bf9f58fecec6cb410e75dde33c165" | ||
} |
@@ -13,3 +13,3 @@ export type Destination = { | ||
export type FileFilterMethod = (file: unknown, index: number, files: unknown[]) => boolean; | ||
export type FileFilterMethod = (file: File | string, index: number, files: File[] | string[]) => boolean | Promise<boolean | undefined> | undefined; | ||
@@ -124,2 +124,4 @@ export interface SendOptions { | ||
export const isPromise: (val: unknown) => boolean; | ||
export const isProduction: boolean; | ||
@@ -126,0 +128,0 @@ |
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
41254
45
1043