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

docworks-model

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docworks-model - npm Package Compare versions

Comparing version 1.4.4 to 1.5.0

25

dist/index.js

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

exports.JsDocError = JsDocError;
function Service(name, memberOf, mixes, labels, properties, operations, callbacks, messages, location, docs, srcDocs, extra) {
function Service(name, memberOf, mixes, labels, properties, operations, callbacks, messages, location, docs, extra) {
return {

@@ -33,3 +33,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -58,11 +57,10 @@ };

function Return(type, doc, srcDoc) {
function Return(type, doc) {
return {
type: type,
doc: doc,
srcDoc: srcDoc
doc: doc
};
}
function Operation(name, labels, nameParams, params, ret, locations, docs, srcDocs, extra) {
function Operation(name, labels, nameParams, params, ret, locations, docs, extra) {
return {

@@ -76,3 +74,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -82,3 +79,3 @@ };

function Param(name, type, doc, srcDoc, optional, defaultValue, spread) {
function Param(name, type, doc, optional, defaultValue, spread) {
return {

@@ -88,3 +85,2 @@ name: name,

doc: doc,
srcDoc: srcDoc,
optional: optional,

@@ -96,3 +92,3 @@ defaultValue: defaultValue,

function Property(name, labels, isGet, isSet, type, defaultValue, locations, docs, srcDocs, extra) {
function Property(name, labels, isGet, isSet, type, defaultValue, locations, docs, extra) {
return {

@@ -107,3 +103,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -113,3 +108,3 @@ };

function Message(name, labels, members, locations, docs, srcDocs, extra) {
function Message(name, labels, members, locations, docs, extra) {
return {

@@ -121,3 +116,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -127,8 +121,7 @@ };

function MessageMember(name, type, docs, srcDocs) {
function MessageMember(name, type, doc) {
return {
name: name,
type: type,
docs: docs,
srcDocs: srcDocs
doc: doc
};

@@ -135,0 +128,0 @@ }

{
"name": "docworks-model",
"version": "1.4.4",
"version": "1.5.0",
"description": "The model objects for docworks json files",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

export function Service(name, memberOf, mixes, labels, properties, operations, callbacks, messages, location, docs, srcDocs, extra) {
export function Service(name, memberOf, mixes, labels, properties, operations, callbacks, messages, location, docs, extra) {
return {

@@ -15,3 +15,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -40,11 +39,10 @@ }

export function Return(type, doc, srcDoc) {
export function Return(type, doc) {
return {
type: type,
doc: doc,
srcDoc: srcDoc
doc: doc
}
}
export function Operation(name, labels, nameParams, params, ret, locations, docs, srcDocs, extra) {
export function Operation(name, labels, nameParams, params, ret, locations, docs, extra) {
return {

@@ -58,3 +56,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -64,3 +61,3 @@ }

export function Param(name, type, doc, srcDoc, optional, defaultValue, spread) {
export function Param(name, type, doc, optional, defaultValue, spread) {
return {

@@ -70,3 +67,2 @@ name: name,

doc: doc,
srcDoc: srcDoc,
optional: optional,

@@ -78,3 +74,3 @@ defaultValue: defaultValue,

export function Property(name, labels, isGet, isSet, type, defaultValue, locations, docs, srcDocs, extra) {
export function Property(name, labels, isGet, isSet, type, defaultValue, locations, docs, extra) {
return {

@@ -89,3 +85,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -95,3 +90,3 @@ }

export function Message(name, labels, members, locations, docs, srcDocs, extra) {
export function Message(name, labels, members, locations, docs, extra) {
return {

@@ -103,3 +98,2 @@ name: name,

docs: docs,
srcDocs: srcDocs,
extra: extra || {}

@@ -109,8 +103,7 @@ }

export function MessageMember(name, type, docs, srcDocs) {
export function MessageMember(name, type, doc) {
return {
name: name,
type: type,
docs: docs,
srcDocs: srcDocs
doc: doc
}

@@ -117,0 +110,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