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

@gasket/resolve

Package Overview
Dependencies
Maintainers
6
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasket/resolve - npm Package Compare versions

Comparing version 6.29.0 to 6.30.2

28

docs/api.md

@@ -31,2 +31,3 @@

[PresetInfo] | Preset module with meta data
[PluginConfig] | Presets and plugins to load
[createPackageIdentifier] | Create a new PackageIdentifier instance

@@ -47,3 +48,3 @@

* [.loadPreset(module, \[meta\], \[options\])]
* [.loadConfigured(config)]
* [.loadConfigured(pluginConfig)]
* [.resolve(moduleName)]

@@ -110,3 +111,3 @@ * [.require(moduleName)]

### loader.loadConfigured(config)
### loader.loadConfigured(pluginConfig)

@@ -122,6 +123,3 @@ Loads presets and plugins as configured.

| --- | --- | --- |
| config | `object` | Presets and plugins to load |
| config.presets | `Array.<PresetName>` | Presets to load and add plugins from |
| config.add | `Array.<PluginName>` \| `Array.<module>` | Names of plugins to load |
| \[config.remove\] | `Array.<PluginName>` | Names of plugins to remove (from presets) |
| pluginConfig | [`PluginConfig`] | Presets and plugins to load |

@@ -535,2 +533,16 @@

## PluginConfig
Presets and plugins to load
**Kind**: global typedef
**Properties**
| Name | Type | Description |
| --- | --- | --- |
| presets | `Array.<PresetName>` | Presets to load and add plugins from |
| add | `Array.<PluginName>` \| `Array.<module>` | Names of plugins to load |
| \[remove\] | `Array.<PluginName>` | Names of plugins to remove (from presets) |
## createPackageIdentifier

@@ -600,2 +612,3 @@

[PresetInfo]:#presetinfo
[PluginConfig]:#pluginconfig
[createPackageIdentifier]:#createpackageidentifier

@@ -609,2 +622,3 @@ [`Resolver`]:#new-resolveroptions

[`PresetName`]:#presetname
[`PluginConfig`]:#pluginconfig
[.rawName]:#packageidentifierrawname

@@ -629,3 +643,3 @@ [.fullName]:#packageidentifierfullname

[.loadPreset(module, \[meta\], \[options\])]:#loaderloadpresetmodule-meta-options
[.loadConfigured(config)]:#loaderloadconfiguredconfig
[.loadConfigured(pluginConfig)]:#loaderloadconfiguredpluginconfig
[.resolve(moduleName)]:#resolverresolvemodulename

@@ -632,0 +646,0 @@ [.require(moduleName)]:#resolverrequiremodulename

{
"name": "@gasket/resolve",
"version": "6.29.0",
"version": "6.30.2",
"description": "Essential module resolution & configuration management for gasket plugins & presets.",

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

"devDependencies": {
"@gasket/engine": "^6.29.0",
"@gasket/engine": "^6.30.2",
"@godaddy/dmd": "^1.0.0",

@@ -77,3 +77,3 @@ "eslint": "^8.7.0",

},
"gitHead": "a8e682034b21c7057234122d54b3ff4e172f58b9"
"gitHead": "3d5341a774deb9fa54d5a082db96c538169cd6db"
}

@@ -123,3 +123,3 @@ import { Resolver } from './resolver';

*/
loadPreset(module: PresetName, meta?: object, { shallow: boolean }?): PresetInfo;
loadPreset(module: PresetName, meta?: object, options?: { shallow: boolean }): PresetInfo;

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