New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@travetto/registry

Package Overview
Dependencies
Maintainers
1
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/registry - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

4

package.json
{
"name": "@travetto/registry",
"version": "4.0.1",
"version": "4.0.2",
"description": "Patterns and utilities for handling registration of metadata and functionality for run-time use",

@@ -33,3 +33,3 @@ "keywords": [

"peerDependencies": {
"@travetto/cli": "^4.0.1",
"@travetto/cli": "^4.0.2",
"@travetto/transformer": "^4.0.1"

@@ -36,0 +36,0 @@ },

@@ -45,6 +45,7 @@ import { Module } from 'node:module';

const fileName = Module._resolveFilename!(request, parent);
const file = Module._resolveFilename!(request, parent);
const src = RuntimeIndex.getEntry(file)?.sourceFile;
// Only proxy workspace modules
if (RuntimeIndex.getModuleFromSource(fileName)?.workspace) {
return proxyModuleLoad ? proxyModuleLoad(fileName, mod) : mod;
if (src && RuntimeIndex.getModuleFromSource(src)?.workspace) {
return proxyModuleLoad ? proxyModuleLoad(file, mod) : mod;
} else {

@@ -51,0 +52,0 @@ return mod;

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