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

@parcel/feature-flags

Package Overview
Dependencies
Maintainers
0
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/feature-flags - npm Package Compare versions

Comparing version 2.12.1-dev.3303 to 2.12.1-dev.3335

6

lib/index.js

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

exampleFeature: false,
configKeyInvalidation: false,
parcelV3: false
parcelV3: false,
importRetry: false,
ownedResolverStructures: false,
panicOnEmptyFileImport: false
};

@@ -17,0 +19,0 @@ let featureFlagValues = {

@@ -6,12 +6,20 @@ export type FeatureFlags = {

/**
* Enables content hash based invalidation for config keys used in plugins.
* This allows Assets not to be invalidated when using
* `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
* Rust backed requests
*/
readonly configKeyInvalidation: boolean;
readonly parcelV3: boolean;
/**
* Rust backed requests
* Configure runtime to enable retriable dynamic imports
*/
readonly parcelV3: boolean;
importRetry: boolean;
/**
* Enable resolver refactor into owned data structures.
*/
ownedResolverStructures: boolean;
/**
* Makes Parcel panic when an empty file is imported
*/
panicOnEmptyFileImport: boolean;
};
{
"name": "@parcel/feature-flags",
"version": "2.12.1-dev.3303+3edb0d741",
"version": "2.12.1-dev.3335+c6bc8e411",
"description": "Provides internal feature-flags for the parcel codebase.",

@@ -27,3 +27,3 @@ "license": "MIT",

},
"gitHead": "3edb0d7419831e49cfa7ea8c52b4f7127a16ae52"
"gitHead": "c6bc8e41105247c437089ec3cb91e53f12ac5519"
}

@@ -10,4 +10,6 @@ // @flow strict

exampleFeature: false,
configKeyInvalidation: false,
parcelV3: false,
importRetry: false,
ownedResolverStructures: false,
panicOnEmptyFileImport: false,
};

@@ -14,0 +16,0 @@

@@ -7,11 +7,18 @@ // @flow strict

/**
* Enables content hash based invalidation for config keys used in plugins.
* This allows Assets not to be invalidated when using
* `config.getConfigFrom(..., {packageKey: '...'})` and the value itself hasn't changed.
* Rust backed requests
*/
+configKeyInvalidation: boolean,
+parcelV3: boolean,
/**
* Rust backed requests
* Configure runtime to enable retriable dynamic imports
*/
+parcelV3: boolean,
importRetry: boolean,
/**
* Enable resolver refactor into owned data structures.
*/
ownedResolverStructures: boolean,
/**
* Makes Parcel panic when an empty file is imported
*/
panicOnEmptyFileImport: boolean,
|};
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