raml-definition-system
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var def = require("./definitionSystem"); | ||
@@ -2,0 +3,0 @@ var khttp = require("know-your-http-well"); |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var fs = require("fs"); | ||
@@ -2,0 +3,0 @@ var path = require("path"); |
export import rt = require("raml-typesystem"); | ||
import typeSystem = rt.nt; | ||
import typeSystem = rt.nominalTypes; | ||
export declare type IHighLevelNode = any; | ||
@@ -4,0 +4,0 @@ export declare type IParseResult = any; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
@@ -7,3 +8,3 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
exports.rt = require("raml-typesystem"); | ||
var typeSystem = exports.rt.nt; | ||
var typeSystem = exports.rt.nominalTypes; | ||
function registerAdapters(a) { | ||
@@ -29,3 +30,3 @@ if (a["isUnion"]) { | ||
return AbstractType; | ||
})(typeSystem.AbstractType); | ||
}(typeSystem.AbstractType)); | ||
exports.AbstractType = AbstractType; | ||
@@ -38,3 +39,3 @@ var ValueType = (function (_super) { | ||
return ValueType; | ||
})(typeSystem.ValueType); | ||
}(typeSystem.ValueType)); | ||
exports.ValueType = ValueType; | ||
@@ -48,3 +49,3 @@ var EnumType = (function (_super) { | ||
return EnumType; | ||
})(ValueType); | ||
}(ValueType)); | ||
exports.EnumType = EnumType; | ||
@@ -64,3 +65,3 @@ var ReferenceType = (function (_super) { | ||
return ReferenceType; | ||
})(ValueType); | ||
}(ValueType)); | ||
exports.ReferenceType = ReferenceType; | ||
@@ -78,3 +79,3 @@ var NodeClass = (function (_super) { | ||
return NodeClass; | ||
})(typeSystem.StructuredType); | ||
}(typeSystem.StructuredType)); | ||
exports.NodeClass = NodeClass; | ||
@@ -125,3 +126,3 @@ var UserDefinedClass = (function (_super) { | ||
return UserDefinedClass; | ||
})(NodeClass); | ||
}(NodeClass)); | ||
exports.UserDefinedClass = UserDefinedClass; | ||
@@ -153,3 +154,3 @@ var AnnotationType = (function (_super) { | ||
return AnnotationType; | ||
})(UserDefinedClass); | ||
}(UserDefinedClass)); | ||
exports.AnnotationType = AnnotationType; | ||
@@ -263,3 +264,3 @@ var Universe = (function (_super) { | ||
return Universe; | ||
})(typeSystem.Described); | ||
}(typeSystem.Described)); | ||
exports.Universe = Universe; | ||
@@ -277,3 +278,3 @@ function prop(name, desc, domain, range, custom) { | ||
return ChildValueConstraint; | ||
})(); | ||
}()); | ||
exports.ChildValueConstraint = ChildValueConstraint; | ||
@@ -492,3 +493,3 @@ var Property = (function (_super) { | ||
return Property; | ||
})(typeSystem.Property); | ||
}(typeSystem.Property)); | ||
exports.Property = Property; | ||
@@ -510,3 +511,3 @@ var UserDefinedProp = (function (_super) { | ||
return UserDefinedProp; | ||
})(Property); | ||
}(Property)); | ||
exports.UserDefinedProp = UserDefinedProp; | ||
@@ -541,3 +542,3 @@ var RAMLPropertyDocumentationService = (function () { | ||
return RAMLPropertyDocumentationService; | ||
})(); | ||
}()); | ||
exports.RAMLPropertyDocumentationService = RAMLPropertyDocumentationService; | ||
@@ -564,3 +565,3 @@ var RAMLPropertyParserService = (function (_super) { | ||
return RAMLPropertyParserService; | ||
})(RAMLPropertyDocumentationService); | ||
}(RAMLPropertyDocumentationService)); | ||
exports.RAMLPropertyParserService = RAMLPropertyParserService; | ||
@@ -647,3 +648,3 @@ var RAMLPropertyService = (function (_super) { | ||
return RAMLPropertyService; | ||
})(RAMLPropertyParserService); | ||
}(RAMLPropertyParserService)); | ||
exports.RAMLPropertyService = RAMLPropertyService; | ||
@@ -872,3 +873,3 @@ var RAMLService = (function () { | ||
return RAMLService; | ||
})(); | ||
}()); | ||
exports.RAMLService = RAMLService; | ||
@@ -875,0 +876,0 @@ var universes = {}; |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
exports.universeDumps = { | ||
@@ -2,0 +3,0 @@ RAML08: toModule(require("./RAML08")), |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
@@ -35,3 +36,3 @@ for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
return FieldWrapper; | ||
})(); | ||
}()); | ||
var FieldConstraint = (function () { | ||
@@ -49,3 +50,3 @@ function FieldConstraint(_field, _clazz) { | ||
return FieldConstraint; | ||
})(); | ||
}()); | ||
var ClassWrapper = (function () { | ||
@@ -132,3 +133,3 @@ function ClassWrapper(_clazz, mw) { | ||
return ClassWrapper; | ||
})(); | ||
}()); | ||
var AbstractSimpleWrapper = (function () { | ||
@@ -164,3 +165,3 @@ function AbstractSimpleWrapper() { | ||
return AbstractSimpleWrapper; | ||
})(); | ||
}()); | ||
var EnumWrapper = (function (_super) { | ||
@@ -183,3 +184,3 @@ __extends(EnumWrapper, _super); | ||
return EnumWrapper; | ||
})(AbstractSimpleWrapper); | ||
}(AbstractSimpleWrapper)); | ||
var UnionWrapper = (function (_super) { | ||
@@ -199,3 +200,3 @@ __extends(UnionWrapper, _super); | ||
return UnionWrapper; | ||
})(AbstractSimpleWrapper); | ||
}(AbstractSimpleWrapper)); | ||
var ModuleWrapper = (function () { | ||
@@ -293,3 +294,3 @@ function ModuleWrapper(_univers) { | ||
return ModuleWrapper; | ||
})(); | ||
}()); | ||
var wrapperToType = function (range, u) { | ||
@@ -296,0 +297,0 @@ if (range) { |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var Universes = { | ||
@@ -2,0 +3,0 @@ "Universe08": { |
{ | ||
"name": "raml-definition-system", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"private": false, | ||
@@ -8,3 +8,5 @@ "main": "dist/definitionSystem.js", | ||
"test-cov": " ./node_modules/.bin/istanbul cover _mocha tests/*Tests.js", | ||
"build": "rm -rf dist/ && ./node_modules/typescript/bin/tsc ", | ||
"compile": "rm -rf dist/ && ./node_modules/typescript/bin/tsc ", | ||
"generateJSON": "node dist/builder.js", | ||
"build": "npm run compile && npm run generateJSON", | ||
"build-browser": "./node_modules/.bin/webpack --entry ./src/browser.js --output-path ./browser --output-filename bundle.js --verbose --profile --display-modules " | ||
@@ -40,3 +42,4 @@ }, | ||
"typings": "^0.5.1", | ||
"webpack": "^1.3.7" | ||
"webpack": "^1.3.7", | ||
"json-loader":"^0.5.1" | ||
} | ||
@@ -43,0 +46,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
736679
4
20432
1