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

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base - npm Package Compare versions

Comparing version 0.0.80 to 0.0.81

2

package.json

@@ -22,3 +22,3 @@ {

"scripts": {},
"version": "0.0.80"
"version": "0.0.81"
}

@@ -16,10 +16,15 @@ import { bulkRequire } from './scan-fs';

load(priority?: number) {
this.initializers = bulkRequire<{ init: Initializer }>([
new RegExp(`^node_modules\/@travetto\/.*\/phase[.]${this.scope}[.]ts$`),
new RegExp(`^phase[.]${this.scope}[.]ts$`)
])
.map(x => x.init)
.map(x => ({ priority: PhaseManager.DEFAULT_PRIORITY, ...x }))
.filter(x => priority === undefined || x.priority <= priority)
.sort((a, b) => a.priority - b.priority);
this.initializers =
bulkRequire<{ init: Initializer }>([
new RegExp(`phase[.]${this.scope}[.]ts$`)],
`${process.cwd()}/node_modules/@travetto`
).concat(
bulkRequire<{ init: Initializer }>([
new RegExp(`phase[.]${this.scope}[.]ts$`)
], `${process.cwd()}/phase`)
)
.map(x => x.init)
.map(x => ({ priority: PhaseManager.DEFAULT_PRIORITY, ...x }))
.filter(x => priority === undefined || x.priority <= priority)
.sort((a, b) => a.priority - b.priority);
}

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