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

@travetto/manifest

Package Overview
Dependencies
Maintainers
0
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/manifest - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

package.json
{
"name": "@travetto/manifest",
"version": "5.0.2",
"version": "5.0.3",
"description": "Support for project indexing, manifesting, along with file watching",

@@ -5,0 +5,0 @@ "keywords": [

@@ -54,3 +54,3 @@ import { existsSync, readFileSync } from 'node:fs';

*/
function resolveWorkspace(base: string): Workspace {
function resolveWorkspace(base: string = process.cwd()): Workspace {
if (base in WS_ROOT) { return WS_ROOT[base]; }

@@ -101,3 +101,3 @@ let folder = base;

*/
function resolveModule(workspace: Workspace, folder: string): Pkg {
function resolveModule(workspace: Workspace, folder?: string): Pkg {
let mod;

@@ -134,4 +134,4 @@ if (!folder && process.env.TRV_MODULE) {

*/
export function getManifestContext(folder = process.cwd()): ManifestContext {
const workspace = resolveWorkspace(folder);
export function getManifestContext(folder?: string): ManifestContext {
const workspace = resolveWorkspace();
const mod = resolveModule(workspace, folder);

@@ -138,0 +138,0 @@ const build = workspace.travetto?.build ?? {};

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