You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

dotcom-tool-kit

Package Overview
Dependencies
Maintainers
1
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotcom-tool-kit - npm Package Compare versions

Comparing version
5.1.0
to
5.2.0-beta.1
+1
-1
lib/rc-file.d.ts.map

@@ -1,1 +0,1 @@

{"version":3,"file":"rc-file.d.ts","sourceRoot":"","sources":["../src/rc-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AA0BrC,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AACtD,eAAO,MAAM,qBAAqB,2BAA2B,CAAA;AAoB7D,wBAAsB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAsEjF"}
{"version":3,"file":"rc-file.d.ts","sourceRoot":"","sources":["../src/rc-file.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AA0BrC,eAAO,MAAM,kBAAkB,uBAAuB,CAAA;AACtD,eAAO,MAAM,qBAAqB,2BAA2B,CAAA;AA6B7D,wBAAsB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAwEjF"}

@@ -39,2 +39,11 @@ "use strict";

};
const toolKitEnv = {
identify: () => false,
tag: '!toolkit/env',
// we return the value of the environment variable here, even if it's
// undefined. this undefined value will usually be handled during option
// validation (e.g., converting to a default value if one is specified in
// the Zod schema.)
resolve: (envVar) => process.env[envVar]
};
async function loadToolKitRC(logger, root) {

@@ -54,3 +63,5 @@ const configPath = path.join(root, '.toolkitrc.yml');

}
const configDoc = YAML.parseDocument(rawConfig, { customTags: [toolKitOption, toolKitIfDefined] });
const configDoc = YAML.parseDocument(rawConfig, {
customTags: [toolKitOption, toolKitIfDefined, toolKitEnv]
});
// go back and search for the parsed if-defined tag and include a string

@@ -57,0 +68,0 @@ // identifier so we can resolve all the tags in a JS object once we've loaded

{
"name": "dotcom-tool-kit",
"version": "5.1.0",
"version": "5.2.0-beta.1",
"description": "modern, maintainable, modular developer tooling for FT.com projects",

@@ -63,2 +63,2 @@ "author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",

}
}
}