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

raml-definition-system

Package Overview
Dependencies
Maintainers
1
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.3 to 0.0.4

15

dist/scripts/builder.js

@@ -21,4 +21,2 @@ var fs = require("fs");

fs.writeFileSync(jsonPath, JSON.stringify(arr, null, 2));
src = toModule(arr);
return src;
}

@@ -43,17 +41,4 @@ function toModulesCollection(mod, map, arr) {

}
function toModule(arr) {
var main = arr[0];
var map = {};
arr.forEach(function (x) { return map[x['name']] = x; });
arr.forEach(function (x) {
var imports = x['imports'];
Object.keys(imports).forEach(function (y) {
var name = imports[y];
imports[y] = map[name];
});
});
return main;
}
getDecl("RAML08");
getDecl("RAML10");
//# sourceMappingURL=builder.js.map

17

dist/src/index.js
exports.universeDumps = {
RAML08: require("../RAML08"),
RAML10: require("../RAML10")
RAML08: toModule(require("../RAML08")),
RAML10: toModule(require("../RAML10"))
};
function toModule(arr) {
var main = arr[0];
var map = {};
arr.forEach(function (x) { return map[x['name']] = x; });
arr.forEach(function (x) {
var imports = x['imports'];
Object.keys(imports).forEach(function (y) {
var name = imports[y];
imports[y] = map[name];
});
});
return main;
}
//# sourceMappingURL=index.js.map
{
"name": "raml-definition-system",
"version": "0.0.3",
"version": "0.0.4",
"private": false,

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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