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

raml-generator

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-generator - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

15

lib/context/resources.js

@@ -118,2 +118,3 @@ var sanitizeUri = require('./uri')

var uriParameters = Array.prototype.map.call(matches, getParamTag)
var relativeUri = toUriFormat(part, spec)

@@ -125,4 +126,8 @@ obj = obj.children[key] = {

children: {},
relativeUri: toUriFormat(part, spec),
uriParameters: uriParameters
absoluteUri: obj.absoluteUri + relativeUri,
relativeUri: relativeUri,
originalRelativeUri: part,
originalAbsoluteUri: obj.originalAbsoluteUri + part,
uriParameters: uriParameters,
absoluteUriParameters: obj.absoluteUriParameters.concat(uriParameters)
}

@@ -168,3 +173,7 @@ }

relativeUri: '',
uriParameters: []
absoluteUri: '',
originalRelativeUri: '',
originalAbsoluteUri: '',
uriParameters: [],
absoluteUriParameters: []
}

@@ -171,0 +180,0 @@

2

package.json
{
"name": "raml-generator",
"version": "0.1.2",
"version": "0.1.3",
"description": "Generate files from a RAML document and Handlebars templates",

@@ -5,0 +5,0 @@ "main": "raml-generator.js",

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