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

@formily/shared

Package Overview
Dependencies
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formily/shared - npm Package Compare versions

Comparing version 1.1.1-beta.0 to 1.1.1-beta.1

2

lib/scheduler.d.ts
export declare const scheduler: {
applyWithIdlePriority(callback: () => void): void;
applyWithLowPriority(callback: () => void): void;
applyWidthNormalPriority(callback: () => void): void;
};

@@ -5,5 +5,11 @@ "use strict";

exports.scheduler = {
applyWithIdlePriority: function (callback) {
scheduler_1.unstable_scheduleCallback(scheduler_1.unstable_IdlePriority, callback);
},
applyWithLowPriority: function (callback) {
scheduler_1.unstable_scheduleCallback(scheduler_1.unstable_LowPriority, callback);
},
applyWidthNormalPriority: function (callback) {
scheduler_1.unstable_scheduleCallback(scheduler_1.unstable_NormalPriority, callback);
}
};

4

package.json
{
"name": "@formily/shared",
"version": "1.1.1-beta.0",
"version": "1.1.1-beta.1",
"license": "MIT",

@@ -21,3 +21,3 @@ "main": "lib",

},
"gitHead": "9ca343fc1761cbabedcdaf080da12fedf1303307",
"gitHead": "6f14fe66cbcce08d0cdbf1445b91716c74f41e46",
"scripts": {

@@ -24,0 +24,0 @@ "build": "tsc --declaration"

/* eslint-disable */
import { unstable_scheduleCallback, unstable_LowPriority } from 'scheduler'
import {
unstable_scheduleCallback,
unstable_LowPriority,
unstable_IdlePriority,
unstable_NormalPriority
} from 'scheduler'
export const scheduler = {
applyWithIdlePriority(callback:()=>void){
unstable_scheduleCallback(unstable_IdlePriority,callback)
},
applyWithLowPriority(callback: () => void) {
unstable_scheduleCallback(unstable_LowPriority, callback)
},
applyWidthNormalPriority(callback: () => void) {
unstable_scheduleCallback(unstable_NormalPriority, callback)
}
}
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