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

raml-definition-system

Package Overview
Dependencies
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-definition-system - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

2

dist/annotationHandlers.js

@@ -258,3 +258,3 @@ "use strict";

if (a.arguments[0] == "statusCodes") {
f.withOftenKeys(khttp.statusCodes.map(function (x) { return x.code; }));
f.withOftenKeys(khttp.statusCodes.filter(function (statusCode) { return statusCode.code.indexOf("x") < 0; }).map(function (x) { return x.code; }));
f.setValueDocProvider(function (name) {

@@ -261,0 +261,0 @@ var s = _.find(khttp.statusCodes, function (x) { return x.code == name; });

{
"name": "raml-definition-system",
"version": "0.0.38",
"version": "0.0.39",
"main": "dist/definitionSystem.js",

@@ -17,3 +17,3 @@ "scripts": {

"know-your-http-well": "^0.2.0",
"raml-typesystem": "0.0.44",
"raml-typesystem": "0.0.45",
"ts-structure-parser": "0.0.10",

@@ -20,0 +20,0 @@ "underscore": "^1.8.3"

@@ -169,13 +169,3 @@ import MetaModel = require("../metamodel")

]
repeat:boolean
$repeat=[
MetaModel.requireValue("fieldOrParam",true),
MetaModel.description("The repeat attribute specifies that the parameter can be repeated. " +
"If the parameter can be used multiple times, the repeat parameter value MUST be set to 'true'. " +
"Otherwise, the default value is 'false' and the parameter may not be repeated."),
MetaModel.defaultBooleanValue(false),
MetaModel.hide()
]
required: boolean

@@ -351,8 +341,8 @@ $required=[

patternProperties:TypeDeclaration[];
$patternProperties=[
MetaModel.description("JSON schema style syntax for declaring key restricted maps"),
MetaModel.markdownDescription("JSON schema style syntax for declaring key restricted maps. See [[raml-10-spec-map-types|Map Types]]."),
MetaModel.valueDescription("An object whose properties map regular expressions (which are regarded as defining ranges for property names) to types of properties expressed as Inline type declaration or typename.")
]
// patternProperties:TypeDeclaration[];
// $patternProperties=[
// MetaModel.description("JSON schema style syntax for declaring key restricted maps"),
// MetaModel.markdownDescription("JSON schema style syntax for declaring key restricted maps. See [[raml-10-spec-map-types|Map Types]]."),
// MetaModel.valueDescription("An object whose properties map regular expressions (which are regarded as defining ranges for property names) to types of properties expressed as Inline type declaration or typename.")
// ]

@@ -359,0 +349,0 @@ discriminator:string

@@ -262,3 +262,3 @@ /// <reference path="../typings/main.d.ts" />

if (a.arguments[0]=="statusCodes"){
f.withOftenKeys(khttp.statusCodes.map(x=>x.code))
f.withOftenKeys(khttp.statusCodes.filter(statusCode => statusCode.code.indexOf("x") < 0).map(x=>x.code))
f.setValueDocProvider((name:string)=>{

@@ -265,0 +265,0 @@ var s= _.find(khttp.statusCodes,x=>x.code==name);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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