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

duh-schema

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duh-schema - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

docs/bus-interfaces.md

14

lib/component.js

@@ -5,2 +5,3 @@ 'use strict';

const register = require('./register.js');
const registerFile = require('./registerFile.js');
const busInterface = require('./busInterface');

@@ -30,3 +31,5 @@

},
analog: { enum: ['in', 'out', 'inout'] }
analog: { enum: ['in', 'out', 'inout'] },
displayName: { type: 'string' },
description: { type: 'string' }
}

@@ -36,2 +39,3 @@ }]

// Each port element describes a single external port on the component.
const ports = {

@@ -51,4 +55,4 @@ oneOf: [{

properties: {
name,
wire: wire
name, // unique name within the containing ports element
wire
}

@@ -114,2 +118,6 @@ }

items: register
},
registerFiles: {
type: 'array',
items: registerFile
}

@@ -116,0 +124,0 @@ }

@@ -23,3 +23,3 @@ 'use strict';

maxLength: 256,
pattern: '^[a-zA-Z][a-zA-Z0-9_.]*$'
pattern: '^[a-zA-Z][a-zA-Z0-9_.-]*$'
};

@@ -26,0 +26,0 @@

'use strict';
const {id, uint, int, access, expression} = require('./primitive.js');
const field = require('./field.js');

@@ -17,17 +18,5 @@ const register = {

type: 'array',
items: {
type: 'object',
required: ['bitOffset', 'bitWidth'],
properties: {
// bits: uint,
bitOffset: {oneOf: [expression, uint]}, // base % regWidth in bits
bitWidth: {oneOf: [expression, uint]}, // in bits
name: id,
desc: { type: 'string' },
attr: { type: 'string' },
access: access,
resetValue: int
}
}
}
items: field
},
resetValue: int // spiritual
}

@@ -34,0 +23,0 @@ };

{
"name": "duh-schema",
"version": "0.8.0",
"description": "",
"version": "0.9.0",
"description": "DUH Schema",
"main": "lib/index.js",

@@ -21,7 +21,7 @@ "scripts": {

"@drom/eslint-config": "0.10.0",
"ajv": "^6.10.2",
"ajv": "^6.12.0",
"chai": "^4.2.0",
"eslint": "^5.16.0",
"mocha": "^6.2.2",
"nyc": "^14.0.0"
"eslint": "^6.8.0",
"mocha": "^7.1.0",
"nyc": "^15.0.0"
},

@@ -28,0 +28,0 @@ "eslintConfig": {

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