Socket
Socket
Sign inDemoInstall

@rpldy/shared

Package Overview
Dependencies
Maintainers
1
Versions
95
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 1.2.0 to 1.3.0-rc.0

lib/cjs/utils/isEmpty.js

6

lib/cjs/index.js

@@ -54,2 +54,8 @@ "use strict";

});
Object.defineProperty(exports, "isEmpty", {
enumerable: true,
get: function () {
return _utils.isEmpty;
}
});
Object.defineProperty(exports, "isFunction", {

@@ -56,0 +62,0 @@ enumerable: true,

6

lib/cjs/triggerUpdater.js

@@ -8,3 +8,3 @@ "use strict";

const isEmpty = val => val === null || val === undefined;
var _utils = require("./utils");

@@ -25,3 +25,3 @@ const triggerUpdater = function (trigger, event) {

if (resolvedResults) {
while (isEmpty(result) && resolvedResults.length) {
while ((0, _utils.isEmpty)(result) && resolvedResults.length) {
result = resolvedResults.pop();

@@ -31,3 +31,3 @@ }

resolve(isEmpty(result) ? undefined : result);
resolve((0, _utils.isEmpty)(result) ? undefined : result);
});

@@ -34,0 +34,0 @@ } else {

@@ -30,2 +30,8 @@ "use strict";

});
Object.defineProperty(exports, "isEmpty", {
enumerable: true,
get: function () {
return _isEmpty.default;
}
});
Object.defineProperty(exports, "isFunction", {

@@ -102,2 +108,4 @@ enumerable: true,

var _isEmpty = _interopRequireDefault(require("./isEmpty"));
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); }

@@ -104,0 +112,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, isPromise, scheduleIdleWork } from "./utils";
isFunction, isPlainObject, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, hasWindow, isProduction, isPromise, scheduleIdleWork, isEmpty } from "./utils";

@@ -1,2 +0,2 @@

const isEmpty = val => val === null || val === undefined;
import { isEmpty } from "./utils";

@@ -3,0 +3,0 @@ const triggerUpdater = function (trigger, event) {

@@ -12,2 +12,3 @@ import isFunction from "./isFunction";

import scheduleIdleWork from "./scheduleIdleWork";
export { isFunction, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, isPlainObject, hasWindow, isProduction, isPromise, scheduleIdleWork };
import isEmpty from "./isEmpty";
export { isFunction, isSamePropInArrays, devFreeze, merge, getMerge, clone, pick, isPlainObject, hasWindow, isProduction, isPromise, scheduleIdleWork, isEmpty };
{
"version": "1.2.0",
"version": "1.3.0-rc.0",
"name": "@rpldy/shared",

@@ -35,3 +35,3 @@ "description": "internal set of utils+types for react-uploady",

},
"gitHead": "68c36895ae203f2da3762dd051168e2692bbc69b"
"gitHead": "5570982a80fd88e3bad36c57fba5e57989871b82"
}

@@ -127,2 +127,4 @@ export type Destination = {

export const isEmpty: (val: unknown) => boolean;
export const isPromise: (val: unknown) => boolean;

@@ -129,0 +131,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