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

metaschema

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metaschema - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

5

dist/lib/config.js

@@ -48,4 +48,5 @@ 'use strict';

if (ms.domains.has(name)) {
errors.push(new SchemaValidationError('duplicate', name, null, {
entity: 'domain'
errors.push(new SchemaValidationError('duplicate', domains.name, {
type: 'domain',
value: name
}));

@@ -52,0 +53,0 @@ } else {

16

dist/lib/decorators.js

@@ -1,3 +0,7 @@

'use strict'; // Field decorators
'use strict';
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }

@@ -17,2 +21,5 @@

var common = require('@metarhia/common'); // Field decorators
var ValuesDecorator = function ValuesDecorator(values) {

@@ -61,2 +68,9 @@ _classCallCheck(this, ValuesDecorator);

_createClass(Flags, [{
key: "parse",
value: function parse(value) {
return new common.Uint64(value);
}
}]);
return Flags;

@@ -63,0 +77,0 @@ }(ValuesDecorator);

@@ -23,4 +23,5 @@ 'use strict';

errors.push(
new SchemaValidationError('duplicate', name, null, {
entity: 'domain',
new SchemaValidationError('duplicate', domains.name, {
type: 'domain',
value: name,
})

@@ -27,0 +28,0 @@ );

'use strict';
const common = require('@metarhia/common');
// Field decorators

@@ -19,2 +21,6 @@

}
parse(value) {
return new common.Uint64(value);
}
}

@@ -21,0 +27,0 @@

{
"name": "metaschema",
"version": "0.3.2",
"version": "0.3.3",
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Metadata Schema and Interface Definition Language (IDL)",

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