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

@react-dnd/asap

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-dnd/asap - npm Package Compare versions

Comparing version 4.0.1 to 5.0.0

dist/asap.d.ts

22

package.json
{
"name": "@react-dnd/asap",
"version": "4.0.1",
"version": "5.0.0",
"description": "High-priority task queue for Node.js and browsers",

@@ -11,16 +11,10 @@ "keywords": [

"license": "MIT",
"main": "dist/cjs/index.js",
"types": "dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "shx rm -rf dist/",
"build_types": "tsc -b .",
"build_esm": "swc -C module.type=es6 -d dist/esm src/",
"build_cjs": "swc -C module.type=commonjs -d dist/cjs src/",
"esm_hack": "node ../../scripts/esmify.mjs",
"build": "run-s build_types build_esm build_cjs esm_hack"
"build_esm": "swc -C module.type=es6 -d dist src/",
"build": "run-s build_types build_esm"
},

@@ -33,4 +27,4 @@ "repository": {

"@swc/cli": "^0.1.57",
"@swc/core": "^1.2.161",
"@types/jest": "^24.9.1",
"@swc/core": "^1.2.163",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.23",

@@ -37,0 +31,0 @@ "npm-run-all": "^4.1.5",

/* eslint-disable no-restricted-globals, @typescript-eslint/ban-ts-comment, @typescript-eslint/no-unused-vars, @typescript-eslint/no-non-null-assertion */
import { makeRequestCall, makeRequestCallFromTimer } from './makeRequestCall.js'
import type { Task } from './types.js'
import { makeRequestCall, makeRequestCallFromTimer } from './makeRequestCall.js'

@@ -5,0 +5,0 @@ export class AsapQueue {

export * from './asap.js'
export * from './types.js'
export * from './AsapQueue.js'
export * from './TaskFactory.js'
export * from './types.js'
// We wrap tasks with recyclable task objects. A task object implements
import type { TaskFn, Task } from 'types'
import type { Task, TaskFn } from 'types'

@@ -5,0 +5,0 @@ // `call`, just like a function.

@@ -0,3 +1,3 @@

import { RawTask } from './RawTask.js'
import type { Task } from './types.js'
import { RawTask } from './RawTask.js'

@@ -4,0 +4,0 @@ export class TaskFactory {

@@ -6,3 +6,3 @@ {

"emitDeclarationOnly": true,
"outDir": "dist/types",
"outDir": "dist",
"types": ["node", "jest"]

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