Socket
Socket
Sign inDemoInstall

@gasket/resolve

Package Overview
Dependencies
Maintainers
6
Versions
83
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.17.0 to 6.20.2

types/identifiers.d.ts

8

lib/loader.js

@@ -12,4 +12,4 @@ const path = require('path');

* @property {string} name - Name of preset
* @property {string} module - Actual module content
* @property {string} [package] - Package.json contents
* @property {object} module - Actual module content
* @property {object} [package] - Package.json contents
* @property {string} [version] - Resolved version

@@ -59,3 +59,3 @@ * @property {string} [path] - Path to the root of package

*
* @param {string} module - Module content
* @param {object} module - Module content
* @param {string} moduleName - Name of module to load

@@ -176,3 +176,3 @@ * @param {object} [meta] - Additional meta data

* @param {PluginName[]|module[]} config.add - Names of plugins to load
* @param {string[]} config.remove - Names of plugins to remove (from presets)
* @param {PluginName[]} [config.remove] - Names of plugins to remove (from presets)
* @returns {{presets: PresetInfo[], plugins: PluginInfo[]}} results

@@ -179,0 +179,0 @@ */

@@ -27,3 +27,3 @@ const reScope = /(@[\w-.]+)(\/.+)?/;

* @param {string} [type] - Identifier type, defaults to 'plugin'
* @returns {{prefixed: prefixed}} expand
* @returns {{prefixed: string}} expand
* @private

@@ -65,3 +65,3 @@ */

* @param {string} [type] - Defaults to 'plugin'.
* @returns {function} function to make
* @returns {createPackageIdentifier} function to make
*/

@@ -245,3 +245,3 @@ function projectIdentifier(projectName, type = 'plugin') {

*
* @returns {string} fullName
* @returns {string|null} fullName
*/

@@ -248,0 +248,0 @@ get version() {

@@ -12,3 +12,3 @@ const debug = require('diagnostics')('gasket:resolver');

* @param {string|string[]} [options.resolveFrom] - Path(s) to resolve modules from
* @param {require} [options.require] - Require instance to use
* @param {function} [options.require] - Require instance to use
*/

@@ -15,0 +15,0 @@ constructor(options) {

{
"name": "@gasket/resolve",
"version": "6.17.0",
"version": "6.20.2",
"description": "Essential module resolution & configuration management for gasket plugins & presets.",
"main": "lib",
"types": "types",
"files": [
"lib",
"docs"
"docs",
"types"
],

@@ -72,3 +74,3 @@ "scripts": {

},
"gitHead": "4c6def3cdc22e351179b24aed0907b243616f9ae"
"gitHead": "0c34d84b6dd3010db139e90bbbda19b879a9396c"
}
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