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
884
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-nightly.102 to 2.0.0-nightly.107

test/objectHash.test.js

12

package.json
{
"name": "@parcel/utils",
"version": "2.0.0-nightly.102+28f7bfd1",
"version": "2.0.0-nightly.107+b2851080",
"description": "Blazing fast, zero configuration web application bundler",

@@ -20,6 +20,6 @@ "license": "MIT",

"@iarna/toml": "^2.2.0",
"@parcel/codeframe": "2.0.0-nightly.102+28f7bfd1",
"@parcel/diagnostic": "2.0.0-nightly.102+28f7bfd1",
"@parcel/logger": "2.0.0-nightly.102+28f7bfd1",
"@parcel/markdown-ansi": "2.0.0-nightly.102+28f7bfd1",
"@parcel/codeframe": "2.0.0-nightly.107+b2851080",
"@parcel/diagnostic": "2.0.0-nightly.107+b2851080",
"@parcel/logger": "2.0.0-nightly.107+b2851080",
"@parcel/markdown-ansi": "2.0.0-nightly.107+b2851080",
"ansi-html": "^0.0.7",

@@ -44,3 +44,3 @@ "chalk": "^2.4.2",

},
"gitHead": "28f7bfd13f0c03317b75cb70c433681250a70518"
"gitHead": "b2851080dd7c4c1df22b2c512ce50d7424c36927"
}
// @flow strict-local
import type {PackageJSON, FilePath, ModuleSpecifier} from '@parcel/types';
import type {
SemverRange,
PackageJSON,
FilePath,
ModuleSpecifier,
} from '@parcel/types';
import type {ResolveOptions} from 'resolve';

@@ -21,3 +26,6 @@ import type {FileSystem} from '@parcel/fs';

id: string,
opts?: ResolveOptions,
opts?: {|
range?: ?SemverRange,
...ResolveOptions,
|},
): Promise<ResolveResult> {

@@ -29,3 +37,7 @@ if (process.env.PARCEL_BUILD_ENV !== 'production') {

opts.packageFilter = pkg => {
if (pkg.name.startsWith('@parcel/') && pkg.name !== '@parcel/watcher') {
if (
typeof pkg.name === 'string' &&
pkg.name.startsWith('@parcel/') &&
pkg.name !== '@parcel/watcher'
) {
if (pkg.source) {

@@ -32,0 +44,0 @@ pkg.main = pkg.source;

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