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

model-attributes

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

model-attributes - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

8

lib/attributes.js

@@ -56,7 +56,7 @@ /* jslint node: true, esnext: true */

Object.keys(definitions).forEach(name => {
const d = definitions[name];
d.name = name;
d.type = types.getType(d.type);
});
const d = definitions[name];
d.name = name;
d.type = types.getType(d.type) || types.getType('base');
});
return definitions;
};

@@ -51,3 +51,3 @@ /* jslint node: true, esnext: true */

DeclareType('hostname', {
parent: 'base',
parent: 'string',
description: 'fully qualified host name'

@@ -57,3 +57,3 @@ });

DeclareType('duration', {
parent: 'base',
parent: 'string',
description: 'time duration in seconds',

@@ -60,0 +60,0 @@ toString(value) {

{
"name": "model-attributes",
"version": "1.5.0",
"version": "1.5.1",
"description": "attribute meta description",

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

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