New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/react-idle

Package Overview
Dependencies
Maintainers
13
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-idle - npm Package Compare versions

Comparing version 0.0.2-sknext-beta.2 to 0.0.8-sknext-beta.8

33

build/cjs/types.js

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

});
Object.defineProperty(exports, "RequestIdleCallback", {
enumerable: true,
get: function get() {
return _async.RequestIdleCallback;
}
});
Object.defineProperty(exports, "RequestIdleCallbackOptions", {
enumerable: true,
get: function get() {
return _async.RequestIdleCallbackOptions;
}
});
Object.defineProperty(exports, "RequestIdleCallbackDeadline", {
enumerable: true,
get: function get() {
return _async.RequestIdleCallbackDeadline;
}
});
Object.defineProperty(exports, "RequestIdleCallbackHandle", {
enumerable: true,
get: function get() {
return _async.RequestIdleCallbackHandle;
}
});
Object.defineProperty(exports, "WindowWithRequestIdleCallback", {
enumerable: true,
get: function get() {
return _async.WindowWithRequestIdleCallback;
}
});
exports.UnsupportedBehavior = void 0;
var _async = require("@shopify/async");
var UnsupportedBehavior;

@@ -42,0 +9,0 @@ exports.UnsupportedBehavior = UnsupportedBehavior;

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

});
Object.defineProperty(exports, "RequestIdleCallback", {
enumerable: true,
get: function () {
return _async.RequestIdleCallback;
}
});
Object.defineProperty(exports, "RequestIdleCallbackOptions", {
enumerable: true,
get: function () {
return _async.RequestIdleCallbackOptions;
}
});
Object.defineProperty(exports, "RequestIdleCallbackDeadline", {
enumerable: true,
get: function () {
return _async.RequestIdleCallbackDeadline;
}
});
Object.defineProperty(exports, "RequestIdleCallbackHandle", {
enumerable: true,
get: function () {
return _async.RequestIdleCallbackHandle;
}
});
Object.defineProperty(exports, "WindowWithRequestIdleCallback", {
enumerable: true,
get: function () {
return _async.WindowWithRequestIdleCallback;
}
});
exports.UnsupportedBehavior = void 0;
var _async = require("@shopify/async");
let UnsupportedBehavior;

@@ -42,0 +9,0 @@ exports.UnsupportedBehavior = UnsupportedBehavior;

1

build/ts/hooks.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useIdleCallback = void 0;
var react_1 = require("react");

@@ -4,0 +5,0 @@ var types_1 = require("./types");

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

var hooks_1 = require("./hooks");
exports.useIdleCallback = hooks_1.useIdleCallback;
Object.defineProperty(exports, "useIdleCallback", { enumerable: true, get: function () { return hooks_1.useIdleCallback; } });
var OnIdle_1 = require("./OnIdle");
exports.OnIdle = OnIdle_1.OnIdle;
Object.defineProperty(exports, "OnIdle", { enumerable: true, get: function () { return OnIdle_1.OnIdle; } });
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OnIdle = void 0;
var hooks_1 = require("./hooks");

@@ -4,0 +5,0 @@ function OnIdle(_a) {

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

export { RequestIdleCallback, RequestIdleCallbackOptions, RequestIdleCallbackDeadline, RequestIdleCallbackHandle, WindowWithRequestIdleCallback, } from '@shopify/async';
export type { RequestIdleCallback, RequestIdleCallbackOptions, RequestIdleCallbackDeadline, RequestIdleCallbackHandle, WindowWithRequestIdleCallback, } from '@shopify/async';
export declare enum UnsupportedBehavior {

@@ -3,0 +3,0 @@ Immediate = 0,

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnsupportedBehavior = void 0;
var UnsupportedBehavior;

@@ -4,0 +5,0 @@ (function (UnsupportedBehavior) {

{
"name": "@shopify/react-idle",
"version": "0.0.2-sknext-beta.2",
"version": "0.0.8-sknext-beta.8",
"license": "MIT",

@@ -27,4 +27,4 @@ "description": "Utilities for working with idle callbacks in React",

"dependencies": {
"@shopify/async": "0.0.2-sknext-beta.2",
"@shopify/useful-types": "0.0.2-sknext-beta.2"
"@shopify/async": "0.0.8-sknext-beta.8",
"@shopify/useful-types": "0.0.8-sknext-beta.8"
},

@@ -31,0 +31,0 @@ "peerDependencies": {

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

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