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

@parcel/utils

Package Overview
Dependencies
Maintainers
1
Versions
889
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/utils - npm Package Compare versions

Comparing version 2.0.0-canary.1730 to 2.0.0-canary.1731

19

package.json
{
"name": "@parcel/utils",
"version": "2.0.0-canary.1730+684b164a3",
"version": "2.0.0-canary.1731+6f68c78b1",
"description": "Blazing fast, zero configuration web application bundler",

@@ -36,9 +36,9 @@ "license": "MIT",

"dependencies": {
"@parcel/codeframe": "2.0.0-canary.1730+684b164a3",
"@parcel/diagnostic": "2.0.0-canary.1730+684b164a3",
"@parcel/logger": "2.0.0-canary.1730+684b164a3",
"@parcel/markdown-ansi": "2.0.0-canary.1730+684b164a3",
"@parcel/rust": "2.12.1-canary.3353+684b164a3",
"@parcel/codeframe": "2.0.0-canary.1731+6f68c78b1",
"@parcel/diagnostic": "2.0.0-canary.1731+6f68c78b1",
"@parcel/logger": "2.0.0-canary.1731+6f68c78b1",
"@parcel/markdown-ansi": "2.0.0-canary.1731+6f68c78b1",
"@parcel/rust": "2.12.1-canary.3354+6f68c78b1",
"@parcel/source-map": "^2.1.1",
"chalk": "^4.1.0",
"chalk": "^4.1.2",
"nullthrows": "^1.1.1"

@@ -55,3 +55,3 @@ },

"json5": "^2.2.0",
"lru-cache": "^6.0.0",
"lru-cache": "^10.0.0",
"micromatch": "^4.0.4",

@@ -61,3 +61,2 @@ "node-forge": "^1.2.1",

"open": "^7.0.3",
"random-int": "^1.0.0",
"snarkdown": "^2.0.0",

@@ -73,3 +72,3 @@ "strip-ansi": "^6.0.0",

},
"gitHead": "684b164a37f16d39c883fabbf812f83276ccb9cb"
"gitHead": "6f68c78b1fa2b9653e298fd893e43e875ff6bdb8"
}

@@ -10,3 +10,3 @@ // @flow

import {parse as toml} from '@iarna/toml';
import LRU from 'lru-cache';
import {LRUCache} from 'lru-cache';

@@ -23,3 +23,3 @@ export type ConfigOutput = {|

const configCache = new LRU<FilePath, ConfigOutput>({max: 500});
const configCache = new LRUCache<FilePath, ConfigOutput>({max: 500});
const resolveCache = new Map();

@@ -101,3 +101,3 @@

loadConfig.clear = () => {
configCache.reset();
configCache.clear();
resolveCache.clear();

@@ -104,0 +104,0 @@ };

// @flow
import assert from 'assert';
import randomInt from 'random-int';

@@ -69,3 +68,3 @@ import PromiseQueue from '../src/PromiseQueue';

assert(running <= maxConcurrent);
await Promise.resolve(randomInt(1, 10)); //sleep(randomInt(1, 10));
await Promise.resolve(Math.floor(Math.random() * 10) + 1);
running--;

@@ -72,0 +71,0 @@ }),

Sorry, the diff of this file is too big to display

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