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

@rpldy/shared-ui

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rpldy/shared-ui - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

6

lib/cjs/eventListenerHooks.js

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

});
exports.useRequestPreSend = exports.useItemFinalizeListener = exports.useItemAbortListener = exports.useItemErrorListener = exports.useItemCancelListener = exports.useItemProgressListener = exports.useItemFinishListener = exports.useItemStartListener = exports.useBatchProgressListener = exports.useBatchAbortListener = exports.useBatchCancelledListener = exports.useBatchFinishListener = exports.useBatchStartListener = exports.useBatchAddListener = void 0;
exports.useAllAbortListener = exports.useRequestPreSend = exports.useItemFinalizeListener = exports.useItemAbortListener = exports.useItemErrorListener = exports.useItemCancelListener = exports.useItemProgressListener = exports.useItemFinishListener = exports.useItemStartListener = exports.useBatchProgressListener = exports.useBatchAbortListener = exports.useBatchCancelledListener = exports.useBatchFinishListener = exports.useBatchStartListener = exports.useBatchAddListener = void 0;

@@ -50,2 +50,4 @@ var _uploader = require("@rpldy/uploader");

var useRequestPreSend = (0, _utils.generateUploaderEventHook)(_uploader.UPLOADER_EVENTS.REQUEST_PRE_SEND, false);
exports.useRequestPreSend = useRequestPreSend;
exports.useRequestPreSend = useRequestPreSend;
var useAllAbortListener = (0, _utils.generateUploaderEventHook)(_uploader.UPLOADER_EVENTS.ALL_ABORT, false);
exports.useAllAbortListener = useAllAbortListener;

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

});
Object.defineProperty(exports, "useAllAbortListener", {
enumerable: true,
get: function get() {
return _eventListenerHooks.useAllAbortListener;
}
});
Object.defineProperty(exports, "generateUploaderEventHook", {

@@ -94,0 +100,0 @@ enumerable: true,

@@ -27,2 +27,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }

var useRequestPreSend = generateUploaderEventHook(UPLOADER_EVENTS.REQUEST_PRE_SEND, false);
export { useBatchAddListener, useBatchStartListener, useBatchFinishListener, useBatchCancelledListener, useBatchAbortListener, useBatchProgressListener, useItemStartListener, useItemFinishListener, useItemProgressListener, useItemCancelListener, useItemErrorListener, useItemAbortListener, useItemFinalizeListener, useRequestPreSend };
var useAllAbortListener = generateUploaderEventHook(UPLOADER_EVENTS.ALL_ABORT, false);
export { useBatchAddListener, useBatchStartListener, useBatchFinishListener, useBatchCancelledListener, useBatchAbortListener, useBatchProgressListener, useItemStartListener, useItemFinishListener, useItemProgressListener, useItemCancelListener, useItemErrorListener, useItemAbortListener, useItemFinalizeListener, useRequestPreSend, useAllAbortListener };

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

export { useBatchAddListener, useBatchStartListener, useBatchProgressListener, useBatchFinishListener, useBatchCancelledListener, useBatchAbortListener, useItemStartListener, useItemFinishListener, useItemProgressListener, useItemCancelListener, useItemErrorListener, useItemAbortListener, useItemFinalizeListener, useRequestPreSend } from "./eventListenerHooks";
export { useBatchAddListener, useBatchStartListener, useBatchProgressListener, useBatchFinishListener, useBatchCancelledListener, useBatchAbortListener, useItemStartListener, useItemFinishListener, useItemProgressListener, useItemCancelListener, useItemErrorListener, useItemAbortListener, useItemFinalizeListener, useRequestPreSend, useAllAbortListener } from "./eventListenerHooks";
export { generateUploaderEventHook, generateUploaderEventHookWithState, logWarning } from "./utils";

@@ -3,0 +3,0 @@ export { default as assertContext } from "./assertContext";

{
"version": "0.8.1",
"version": "0.8.2",
"name": "@rpldy/shared-ui",

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

"@rpldy/shared": "^0.8.0",
"@rpldy/uploader": "^0.8.1"
"@rpldy/uploader": "^0.8.2"
},

@@ -35,3 +35,3 @@ "devDependencies": {

},
"gitHead": "c4dc2dc20ff7737bf4b7d41b2d26192136d0832b"
"gitHead": "d99972204d60347d86f7851a4420eaa21b67a6ad"
}

@@ -55,2 +55,4 @@ import * as React from "react";

export const useAllAbortListener: (cb: () => void) => void;
export type PreSendData = { items: BatchItem[]; options: CreateOptions };

@@ -57,0 +59,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