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

raml-1-parser

Package Overview
Dependencies
Maintainers
4
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raml-1-parser - npm Package Compare versions

Comparing version 1.1.66 to 1.1.67

1

dist/expanderStub.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.expandTraitsAndResourceTypes = void 0;
var ex = require("./parser/ast.core/expanderLL");

@@ -4,0 +5,0 @@ function expandTraitsAndResourceTypes(api) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.universes = exports.asFragment = exports.isFragment = exports.getLanguageElementByRuntimeType = exports.loadRAML = exports.loadApi = exports.parseRAML = exports.parseRAMLSync = exports.loadRAMLSync = exports.loadApiSync = exports.parseSync = exports.parse = exports.loadSync = exports.load = void 0;
var apiLoader = require("./parser/apiLoader");

@@ -4,0 +5,0 @@ exports.jsonTypings = require("./typings-new-format/raml");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.virtualFilePath = exports.virtualFSResolver = exports.loadOptionsForContent = exports.optionsForContent = exports.loadApis1 = exports.toError = exports.getLanguageElementByRuntimeType = exports.loadRAMLAsyncHL = exports.loadRAMLAsync = exports.loadApiAsync = exports.loadRAMLHL = exports.loadRAML = exports.loadApi = exports.parseSync = exports.parse = exports.loadSync = exports.load = void 0;
var RamlWrapper1Impl = require("../parser/artifacts/raml10parser");

@@ -4,0 +5,0 @@ var path = require("path");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildWrapperNode = void 0;
var RamlWrapper = require("./raml08parser");

@@ -4,0 +5,0 @@ function getWrapperConstructor(definition) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isResource = exports.isDocumentationItem = exports.isRAMLSimpleElement = exports.isGlobalSchema = exports.isRelativeUriString = exports.isMimeType = exports.isCustomSecurityScheme = exports.isDigestSecurityScheme = exports.isBasicSecurityScheme = exports.isOAuth1SecurityScheme = exports.isOAuth2SecurityScheme = exports.isOAuth2SecuritySchemeSettings = exports.isFixedUri = exports.isOAuth1SecuritySchemeSettings = exports.isSecuritySchemeSettings = exports.isTrait = exports.isTraitRef = exports.isSecuritySchemePart = exports.isAbstractSecurityScheme = exports.isSecuritySchemeRef = exports.isJSONBody = exports.isXMLBody = exports.isXMLExample = exports.isJSONExample = exports.isExampleString = exports.isXMLSchemaString = exports.isJSonSchemaString = exports.isSchemaString = exports.isBodyLike = exports.isFileTypeDeclaration = exports.isDateTypeDeclaration = exports.isIntegerTypeDeclaration = exports.isNumberTypeDeclaration = exports.isBooleanTypeDeclaration = exports.isStringTypeDeclaration = exports.isMarkdownString = exports.isParameterLocation = exports.isParameter = exports.isStatusCodeString = exports.isResponse = exports.isMethodBase = exports.isMethod = exports.isResourceType = exports.isResourceTypeRef = exports.isReference = exports.isBooleanType = exports.isNumberType = exports.isAnyType = exports.isValueType = exports.isStringType = exports.isUriTemplate = exports.isFullUriTemplateString = exports.isApi = void 0;
/**

@@ -4,0 +5,0 @@ * Custom type guard for Api. Returns true if node is instance of Api. Returns false otherwise.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildWrapperNode = void 0;
var RamlWrapper = require("./raml10parser");

@@ -4,0 +5,0 @@ function getWrapperConstructor(definition) {

@@ -30,2 +30,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.asFragment = exports.isFragment = exports.isExtension = exports.isOverlay = exports.isLibrary = exports.isDocumentationItem = exports.isResource = exports.isResourceBase = exports.isResourceType = exports.isResourceTypeRef = exports.isMethod = exports.isCustomSecurityScheme = exports.isDigestSecurityScheme = exports.isBasicSecurityScheme = exports.isPassThroughSecurityScheme = exports.isOAuth1SecurityScheme = exports.isOAuth2SecurityScheme = exports.isOAuth2SecuritySchemeSettings = exports.isOAuth1SecuritySchemeSettings = exports.isSecuritySchemeSettings = exports.isAbstractSecurityScheme = exports.isSecuritySchemeRef = exports.isSecuritySchemePart = exports.isResponse = exports.isFileTypeDeclaration = exports.isDateTimeTypeDeclaration = exports.isDateTimeOnlyTypeDeclaration = exports.isTimeOnlyTypeDeclaration = exports.isDateOnlyTypeDeclaration = exports.isIntegerTypeDeclaration = exports.isNumberTypeDeclaration = exports.isBooleanTypeDeclaration = exports.isStringTypeDeclaration = exports.isObjectTypeDeclaration = exports.isUnionTypeDeclaration = exports.isArrayTypeDeclaration = exports.isXMLFacetInfo = exports.isUsesDeclaration = exports.isExampleSpec = exports.isLocationKind = exports.isModelLocation = exports.isTypeDeclaration = exports.isOperation = exports.isMethodBase = exports.isTrait = exports.isTraitRef = exports.isAnnotationTarget = exports.isBooleanType = exports.isFileType = exports.isDateTimeType = exports.isDateTimeOnlyType = exports.isDateOnlyType = exports.isTimeOnlyType = exports.isNullType = exports.isIntegerType = exports.isNumberType = exports.isAnyType = exports.isMimeType = exports.isSchemaString = exports.isMarkdownString = exports.isContentType = exports.isFixedUriString = exports.isStatusCodeString = exports.isFullUriTemplateString = exports.isRelativeUriString = exports.isUriTemplate = exports.isStringType = exports.isValueType = exports.isReference = exports.isAnnotationRef = exports.isAnnotable = exports.isLibraryBase = exports.isApi = void 0;
/**

@@ -32,0 +33,0 @@ * Custom type guard for Api. Returns true if node is instance of Api. Returns false otherwise.

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.parseMediaType = exports.isPossibleMethodName = exports.DefaultTransformer = exports.ValueTransformer = exports.getTransformersForOccurence = exports.getTransformNames = exports.toUnits = exports.LibraryExpander = exports.TraitsAndResourceTypesExpander = exports.mergeAPIs = exports.expandLibraryHL = exports.expandLibrariesHL = exports.expandLibrary = exports.expandLibraries = exports.expandTraitsAndResourceTypesHL = exports.expandTraitsAndResourceTypes = void 0;
var jsyaml = require("../jsyaml/jsyaml2lowLevel");

@@ -18,0 +19,0 @@ var hlimpl = require("../highLevelImpl");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.isLowLevelProxyNode = exports.LowLevelValueTransformingNode = exports.LowLevelCompositeNode = exports.LowLevelProxyNode = void 0;
var yaml = require("yaml-ast-parser");

@@ -18,0 +19,0 @@ var json = require("../jsyaml/json2lowLevel");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addToNode = exports.createAttr = exports.setKey = exports.setValues = exports.removeAttr = exports.addStructuredValue = exports.addStringValue = exports.setValue = exports.initEmptyRAMLFile = exports.removeNodeFrom = void 0;
var jsyaml = require("../jsyaml/jsyaml2lowLevel");

@@ -4,0 +5,0 @@ var defs = require("raml-definition-system");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLibraryBaseDescendant = exports.initUnitModel = exports.extendedUnit = exports.NamespaceResolverActionsAndConditionsFactory = exports.TemplateModel = exports.UnitModel = exports.ElementsCollection = exports.UsesInfo = exports.NamespaceResolver = void 0;
var ll = require("../lowLevelAST");

@@ -4,0 +5,0 @@ var path = require("path");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.typeUnit = exports.isCompoundValue = exports.getDeclaration = exports.instanceOfPatchedReference = exports.PatchedReference = exports.toOriginal = exports.prepareTraitRefNode = exports.patchMethodIs = exports.checkExpression = exports.unescapeTemplateParameters = exports.escapeTemplateParameters = exports.ParametersEscapingStatus = exports.PatchMode = void 0;
var hlimpl = require("../highLevelImpl");

@@ -4,0 +5,0 @@ var yaml = require("yaml-ast-parser");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toOriginal = exports.ReferencePatcher = exports.ReferencePatcherActionsAndConditionsFactory = exports.State = exports.Transition = exports.TransitionKind = exports.Scope = exports.transitions = void 0;
var ll = require("../lowLevelAST");

@@ -4,0 +5,0 @@ var hlimpl = require("../highLevelImpl");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.convertType = exports.typeFromNode = void 0;
var defs = require("raml-definition-system");

@@ -18,0 +19,0 @@ var ramlTypes = defs.rt;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNodeAnnotationValidationPlugins = exports.getNodeValidationPlugins = exports.IssueCode = exports.isParseResult = exports.RAMLVersion = exports.NodeKind = void 0;
var NodeKind;

@@ -4,0 +5,0 @@ (function (NodeKind) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.completeReference = exports.resolve = exports.resolveContents = exports.getIncludeReferenceResolvers = exports.getIncludeReference = exports.getIncludePath = void 0;
var _ = require("underscore");

@@ -4,0 +5,0 @@ var DOMParser = require('xmldom-alpha').DOMParser;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.serialize = exports.serialize2 = exports.AstNode = exports.CompilationUnit = void 0;
/**

@@ -4,0 +5,0 @@ * Created by kor on 05/05/15.

"use strict";
/// <reference path="../../../typings/main.d.ts" />
Object.defineProperty(exports, "__esModule", { value: true });
exports.get = exports.set = exports.isWaitingFor = exports.removeNotity = exports.addNotify = exports.addLoadCallback = exports.hasAsyncRequests = void 0;
var HttpResponse = require('http-response-object');

@@ -5,0 +6,0 @@ var lru = require("lrucache");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.readFromCacheOrGet = void 0;
var cache = {};

@@ -4,0 +5,0 @@ function doRequest(method, url, options) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isLowLevelNode = exports.isWebPath = exports.toAbsolutePath = exports.buildPath = exports.LineMapperImpl = exports.initRamlFile = exports.insertNode = exports.removeNode = exports.setKey = exports.setAttrStructured = exports.setAttr = exports.ASTChangeCommand = exports.InsertionPointType = exports.CompositeCommand = exports.TextChangeCommand = exports.CommandKind = exports.ASTDelta = void 0;
var path = require("path");

@@ -4,0 +5,0 @@ var URL = require("url");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createStubNode = exports.createAttr = exports.createQueryParameterStub = exports.createUriParameterStub = exports.createBodyStub = exports.createResponseStub = exports.createMethodStub = exports.createResourceStub = exports.createStub = exports.genStructuredValue = exports.createStub0 = void 0;
var jsyaml = require("./jsyaml/jsyaml2lowLevel");

@@ -4,0 +5,0 @@ var hlimpl = require("./highLevelImpl");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.composeGrammar = void 0;
var def = require("raml-definition-system");

@@ -4,0 +5,0 @@ var services = def;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.composeGrammar = void 0;
var def = require("raml-definition-system");

@@ -4,0 +5,0 @@ var services = def;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ModelToSchemaGenerator = exports.SchemaToModelGenerator = void 0;
var _ = require("underscore");

@@ -4,0 +5,0 @@ var textutil = require("../../util/textutil");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServerGenerator = void 0;
var fs = require("fs");

@@ -4,0 +5,0 @@ var path = require("path");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.canBeFragment = exports.isParametersProperty = exports.isRAML10Attribute = exports.isRAML10Node = exports.isRAML08Attribute = exports.isRAML08Node = exports.isRAML10Type = exports.isRAML08Type = exports.isMediaTypeProperty = exports.isSecuritySchemePartType = exports.isMethodBaseSibling = exports.isTypeDeclarationSibling = exports.isStringTypeDescendant = exports.isStringTypeDeclarationDescendant = exports.isParameterDescendant = exports.isTypeDeclarationDescendant = exports.isArrayTypeDeclarationSibling = exports.isObjectTypeDeclarationSibling = exports.isResourceBaseSibling = exports.isLibraryBaseSibling = exports.isApiSibling = exports.isAnnotationRefTypeOrDescendant = exports.isDocumentationType = exports.isTypeDeclarationTypeOrDescendant = exports.isExtensionType = exports.isExampleSpecType = exports.isAnyTypeType = exports.isStringTypeType = exports.isLibraryType = exports.isMethodBaseType = exports.isSchemaStringType = exports.isResourceTypeType = exports.isAnnotationTypeType = exports.isOverlayType = exports.isBodyLikeType = exports.isResponseType = exports.isTypeDeclarationType = exports.isSecuritySchemeRefType = exports.isSecuritySchemaTypeDescendant = exports.isSecuritySchemaType = exports.isGlobalSchemaType = exports.isResourceTypeRefType = exports.isTraitRefType = exports.isTraitType = exports.isResourceType = exports.isMarkdownStringType = exports.isBooleanTypeType = exports.isApiType = exports.isMethodType = exports.isAnnotationTypesProperty = exports.isUsesProperty = exports.isRAMLVersionProperty = exports.isBaseUriParametersProperty = exports.isUriParametersProperty = exports.isValueProperty = exports.isExamplesProperty = exports.isEnumProperty = exports.isExampleProperty = exports.isTypesProperty = exports.isMethodsProperty = exports.isResourcesProperty = exports.isSchemasProperty = exports.isFacetsProperty = exports.isResourceTypeProperty = exports.isResourceTypesProperty = exports.isTraitProperty = exports.isTraitsProperty = exports.isSchemaProperty = exports.isDefaultValue = exports.isBodyProperty = exports.isNameProperty = exports.isProtocolsProperty = exports.isResponsesProperty = exports.isPropertiesProperty = exports.isStructuredItemsProperty = exports.isItemsProperty = exports.isTypeProperty = exports.isTypeOrSchemaProperty = exports.isSecuritySchemeProperty = exports.isSecuritySchemesProperty = exports.isSecuredByProperty = exports.isIsProperty = exports.isAnnotationProperty = exports.isAnnotationsProperty = exports.isQueryParametersPropertyName = exports.isQueryParametersProperty = exports.isFormParametersPropertyName = exports.isFormParametersProperty = exports.isHeadersPropertyName = exports.isHeadersProperty = exports.isTitleProperty = exports.isTitlePropertyName = exports.isRequiredProperty = exports.isDisplayNameProperty = exports.isDisplayNamePropertyName = exports.isRequiredPropertyName = exports.isDescriptionProperty = exports.isDescriptionPropertyName = exports.isMasterRefProperty = exports.isUsageProperty = exports.isUsagePropertyName = exports.isDocumentationProperty = void 0;
var universe = require("./universe");

@@ -4,0 +5,0 @@ /////////////////////// properties

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InsertionKind = exports.AttributeDefaultsCalculator = void 0;
var def = require("raml-definition-system");

@@ -4,0 +5,0 @@ var universes = require("../tools/universe");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.typeFixedFacets = exports.getTemplateParametrizedProperties = exports.schemaContent08Internal = exports.schemaContent08 = exports.allResourceTypes = exports.allTraits = exports.dumpExpandableExample = exports.typeExamples = exports.typeExample = exports.absoluteUri = exports.completeRelativeUri = exports.baseUriParameters = exports.uriParameters = void 0;
var hl = require("../highLevelAST");

@@ -4,0 +5,0 @@ var hlimpl = require("../highLevelImpl");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.basicError = exports.filterErrors = exports.errors = exports.attributesToValues = exports.fillElementMeta = exports.NodeMetadataImpl = exports.ValueMetadataImpl = exports.TypeInstancePropertyImpl = exports.TypeInstanceImpl = exports.toStructuredValue = exports.AttributeNodeImpl = exports.BasicNodeImpl = void 0;
var hlImpl = require("../highLevelImpl");

@@ -18,0 +19,0 @@ var jsyaml = require("../jsyaml/jsyaml2lowLevel");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.ExampleSpecImpl = exports.ParamValue = exports.SchemaDef = exports.getTemplateParametrizedProperties = exports.findComponentTypeDeclaration = exports.getItems = exports.referencedNode = exports.itemsStructuredValue = exports.typeStructuredValue = exports.schemaValue = exports.typeValue = exports.typeFixedFacets = exports.getTypeExamples = exports.getTypeExample = exports.examplesFromNominal = exports.referencedResourceType = exports.referencedAnnotation = exports.referencedTrait = exports.referenceName = exports.structuredValue = exports.RAMLVersion = exports.securityScheme = exports.securitySchemeName = exports.allSecuredBy = exports.securedByPrimary = exports.allProtocols = exports.protocolsPrimary = exports.absoluteUriParameters = exports.baseUriParameters = exports.baseUriParametersPrimary = exports.uriParameters = exports.uriParametersPrimary = exports.matchUri = exports.allResources = exports.isOkRange = exports.methodId = exports.ownerApi = exports.getMethod = exports.childMethod = exports.getResource = exports.childResource = exports.parent = exports.parentResource = exports.relativeUriSegments = exports.allResourceTypes = exports.resourceTypesPrimary = exports.allTraits = exports.traitsPrimary = exports.validateInstanceWithDetailedStatuses = exports.validateInstance = exports.absoluteUri = exports.expandLibraries = exports.expandTraitsAndResourceTypes = exports.expandSpec = exports.expandLibrarySpec = exports.completeRelativeUri = exports.load = exports.runtimeType = exports.resolveType = void 0;
/// <reference path="../../../typings/main.d.ts" />

@@ -18,0 +19,0 @@ var RamlWrapper = require("../artifacts/raml10parserapi");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTemplateParametrizedProperties = exports.schemaContent = exports.referencedResourceType = exports.referencedTrait = exports.referenceName = exports.structuredValue = exports.RAMLVersion = exports.securityScheme = exports.securitySchemeName = exports.allSecuredBy = exports.securedByPrimary = exports.allProtocols = exports.protocolsPrimary = exports.absoluteUriParameters = exports.baseUriParameters = exports.baseUriParametersPrimary = exports.uriParameters = exports.uriParametersPrimary = exports.allResources = exports.isOkRange = exports.methodId = exports.ownerApi = exports.getMethod = exports.childMethod = exports.getResource = exports.childResource = exports.parent = exports.parentResource = exports.relativeUriSegments = exports.allResourceTypes = exports.resourceTypesPrimary = exports.allTraits = exports.traitsPrimary = exports.qName = exports.absoluteUri = exports.completeRelativeUri = exports.expandTraitsAndResourceTypes = exports.load = void 0;
var RamlWrapperImpl = require("../artifacts/raml08parser");

@@ -4,0 +5,0 @@ var factory = require("../artifacts/raml08factory");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addChild = exports.setTypeDeclarationExample = exports.setTypeDeclarationSchema = exports.createObjectTypeDeclaration = exports.createTypeDeclaration = void 0;
var parser10impl = require("./parser/artifacts/raml10parser");

@@ -4,0 +5,0 @@ var defSys = require("raml-definition-system");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createProject = void 0;
var limpl = require("./parser/jsyaml/jsyaml2lowLevel");

@@ -4,0 +5,0 @@ function createProject(path, r, h) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createModelToSchemaGenerator = exports.createSchemaModelGenerator = exports.getIncludeReference = exports.getIncludePath = exports.completeReference = exports.getJSONSchema = exports.getXMLSchema = exports.createSchema = exports.dereference = void 0;
var def = require("raml-definition-system");

@@ -4,0 +5,0 @@ var refResolvers = require("./parser/jsyaml/includeRefResolvers");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.refFinder = exports.allChildren = exports.findAllSubTypes = exports.nodesDeclaringType = exports.schemasWithName = exports.subTypesWithName = exports.subTypesWithLocals = exports.resolveReference = exports.LocationKind = exports.determineCompletionKind = exports.isExampleNodeContent = exports.isExampleNode = exports.parseStructuredExample = exports.parseDocumentationContent = exports.findExampleContentType = exports.findDeclaration = exports.findDeclarationByNode = exports.enumValues = exports.referenceTargets = exports.findUsages = exports.extractName = exports.deepFindNode = exports.findDeclarations = exports.globalDeclarations = exports.declRoot = void 0;
var defs = require("raml-definition-system");

@@ -4,0 +5,0 @@ var hl = require("../parser/highLevelAST");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.allChildren = exports.deepFindNode = exports.declRoot = exports.findAllSubTypes = exports.getNominalTypeSource = exports.referenceTargets = exports.isExampleNode = exports.parseStructuredExample = exports.parseDocumentationContent = exports.findExampleContentType = exports.isExampleNodeContent = exports.nodesDeclaringType = exports.subTypesWithLocals = exports.qName = exports.enumValues = exports.determineCompletionKind = exports.LocationKind = exports.findDeclarationByNode = exports.refFinder = exports.globalDeclarations = exports.findUsages = exports.findDeclaration = void 0;
var searchImpl = require("./search-implementation");

@@ -4,0 +5,0 @@ var hlimpl = require("../parser/highLevelImpl");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNominalPropertySource2 = exports.getNominalPropertySource = exports.getNominalTypeSource = exports.findRTypeByNominal = exports.getRTypeSource = exports.getExtraProviderSource = void 0;
var def = require("raml-definition-system");

@@ -4,0 +5,0 @@ var ramlTypes = def.rt;

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createAttr = exports.createMap = exports.createMapping = exports.createVirtualNodeImpl = exports.createVirtualASTPropImpl = exports.createASTNodeImpl = exports.createASTPropImpl = exports.createQueryParameterStub = exports.createUriParameterStub = exports.createBodyStub = exports.createResponseStub = exports.createMethodStub = exports.createResourceStub = exports.createStubNoParentPatch = exports.createStub = exports.createStubNode = void 0;
var hlimpl = require("./parser/highLevelImpl");

@@ -18,0 +19,0 @@ var jsyaml = require("./parser/jsyaml/jsyaml2lowLevel");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentProvider = void 0;
var path = require("path");

@@ -4,0 +5,0 @@ var ll = require("../parser/lowLevelAST");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildHamlStyleTag = exports.childrenOf = void 0;
var Opt = require("../Opt");

@@ -4,0 +5,0 @@ function childrenOf(elm) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.copyFileSync = exports.removeDirSyncRecursive = exports.copyDirSyncRecursive = void 0;
var fs = require("fs");

@@ -4,0 +5,0 @@ var mkdirp = require("mkdirp");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deepCopy = exports.replace = exports.replaceMap = exports.updateObject = exports.firstToUpper = exports.isEssential = exports.serial = exports.getAllRequiredExternalModulesFromCode = exports.isRAMLUrl = exports.iff = exports.lazyprops = exports.lazypropkeyfilter = exports.stringStartsWith = exports.stringEndsWith = exports.indexed = exports.kv = exports.tap = exports.takeWhile = exports.flatten = exports.flatMap = exports.shallowCopy = exports.asArray = exports.collectInstancesOfInMap = exports.collectInstancesOf = exports.fromTuples = exports.toTuples = exports.ifInstanceOf = exports.isInstance = exports.find = exports.flattenArrayOfObjects = exports.defined = void 0;
var _ = require("underscore");

@@ -4,0 +5,0 @@ var Opt = require("../Opt");

@@ -16,2 +16,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.isEmpty = exports.JsonSerializer = exports.dump = void 0;
var universe = require("../parser/tools/universe");

@@ -18,0 +19,0 @@ var core = require("../parser/wrapped-ast/parserCore");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Map = exports.KeyValuePair = void 0;
var KeyValuePair = /** @class */ (function () {

@@ -4,0 +5,0 @@ function KeyValuePair() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.watch = exports.File = void 0;
var File = /** @class */ (function () {

@@ -4,0 +5,0 @@ function File(path) {

"use strict";
/// <reference path="../../typings/main.d.ts" />
Object.defineProperty(exports, "__esModule", { value: true });
exports.ramlPathMatch = void 0;
var ramlSanitize = require("./raml-sanitize");

@@ -5,0 +6,0 @@ var ramlValidate = require("./raml-validate");

"use strict";
/// <reference path="../../typings/main.d.ts" />
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitize = void 0;
function isEmpty(value) {

@@ -5,0 +6,0 @@ return value == null;

"use strict";
/// <reference path="../../typings/main.d.ts" />
Object.defineProperty(exports, "__esModule", { value: true });
exports.validate = void 0;
var _toString = Object.prototype.toString;

@@ -5,0 +6,0 @@ function isDateType(check) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.saveToJson = void 0;
var apiLoader = require("../parser/apiLoader");

@@ -4,0 +5,0 @@ var fs = require("fs");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getReferences = exports.startDownloadingReferencesAsync = exports.isScheme = void 0;
var xmlutil = require("./xmlutil");

@@ -4,0 +5,0 @@ var contentprovider = require("./contentprovider");

@@ -6,2 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.generateSchema = exports.JsonSchemaGenerator = void 0;
var JsonSchemaGenerator = /** @class */ (function () {

@@ -8,0 +9,0 @@ function JsonSchemaGenerator() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TextRange = exports.capitalize = exports.endsWith = exports.startsWith = exports.splitOnLines = exports.trim = exports.trimEnd = exports.replaceNewlines = exports.print = exports.indent = exports.trimStart = exports.fromMutiLine = exports.makeMutiLine = exports.isMultiLineValue = exports.isMultiLine = void 0;
function isMultiLine(s) {

@@ -4,0 +5,0 @@ return s && s.indexOf('\n') >= 0;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.javaReservedWords = exports.tsToJavaTypeMap = exports.escapeToJavaIdentifier = exports.ramlType2TSType = exports.format = exports.escapeToIdentifier = exports.isValidTypescriptIdentifier = exports.escapeTypescriptPropertyName = void 0;
var ts = require("typescript");

@@ -4,0 +5,0 @@ // https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MarkdownString = void 0;
var messageRegistry = require("../../resources/errorMessages");

@@ -4,0 +5,0 @@ var MarkdownString = /** @class */ (function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseXML = exports.isXmlScheme = void 0;
var DomParser = require("xmldom-alpha");

@@ -4,0 +5,0 @@ var util = require("./index");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PointOfViewValidationAcceptorImpl = exports.UnitLink = exports.parseUrl = exports.genStructuredValue = exports.getFragmentDefenitionName = exports.updateType = exports.getTransformerNames = exports.addLoadCallback = exports.hasAsyncRequests = void 0;
var rs = require("./parser/jsyaml/resourceRegistry");

@@ -4,0 +5,0 @@ var hlimpl = require("./parser/highLevelImpl");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.completeRelativeUri = void 0;
var wh = require("./parser/wrapped-ast/wrapperHelper");

@@ -4,0 +5,0 @@ function completeRelativeUri(res) {

18

package.json
{
"name": "raml-1-parser",
"version": "1.1.66",
"version": "1.1.67",
"main": "dist/index.js",

@@ -75,11 +75,11 @@ "engines": {

"@types/fs-extra": "^8.1.0",
"@types/invariant": "^2.2.31",
"@types/marked": "^0.7.3",
"@types/invariant": "^2.2.33",
"@types/marked": "^1.1.0",
"@types/mkdirp": "^1.0.0",
"@types/mocha": "^7.0.2",
"@types/node": "^13.9.1",
"@types/node": "^14.0.20",
"@types/pluralize": "0.0.29",
"@types/q": "1.5.2",
"@types/underscore": "^1.9.4",
"ajv": "^6.12.0",
"@types/q": "^1.5.4",
"@types/underscore": "^1.10.5",
"ajv": "^6.12.3",
"atom-text-typer": "0.0.1",

@@ -93,3 +93,3 @@ "chai": "4.2.0",

"json-loader": "0.5.7",
"marked": "^1.0.0",
"marked": "^1.1.0",
"mocha": "^6.2.2",

@@ -99,3 +99,3 @@ "raml-1-parser-test-utils": "1.0.10",

"ts-structure-parser": "0.0.19",
"typescript": "^3.8.3",
"typescript": "^3.9.6",
"typescript-compiler": "1.4.1-2",

@@ -102,0 +102,0 @@ "webpack": "^4.42.1"

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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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