Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rpldy/shared

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/shared - npm Package Compare versions

Comparing version 0.16.2 to 0.17.0

lib/cjs/utils/isPromise.js

6

lib/cjs/index.js

@@ -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 @@

2

lib/esm/index.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc