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

@travetto/schema

Package Overview
Dependencies
Maintainers
1
Versions
329
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/schema - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

5

extension/rest.ts

@@ -42,3 +42,6 @@ import { ControllerRegistry, AppError, ParamConfig, Filter, EndpointDecorator, Response, Request } from '@travetto/rest';

const viewConf = SchemaRegistry.has(cls) && SchemaRegistry.getViewSchema(cls, view);
const schemaConf = viewConf ? viewConf.schema : SchemaRegistry.getPendingViewSchema(cls, view)!;
const schemaConf = viewConf && viewConf.schema;
if (!schemaConf) {
throw new Error(`Unknown class, not registered as a schema: ${cls.__id}`);
}
const params = Object.keys(schemaConf).reduce((acc, x) => {

@@ -45,0 +48,0 @@ const field = schemaConf[x];

6

package.json

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@travetto/test": "^0.5.4"
"@travetto/test": "^0.5.5"
},

@@ -36,4 +36,4 @@ "optionalExtensionDependencies": {

},
"version": "0.5.3",
"gitHead": "b7a89c8d7084e29502e4a2660c991338992eb773"
"version": "0.5.4",
"gitHead": "a6b165a87702eb29efcadfd1f27450b7daba2782"
}
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