Socket
Socket
Sign inDemoInstall

@swagger-api/apidom-ast

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swagger-api/apidom-ast - npm Package Compare versions

Comparing version 0.98.0 to 0.99.0

7

CHANGELOG.md

@@ -6,2 +6,9 @@ # Change Log

# [0.99.0](https://github.com/swagger-api/apidom/compare/v0.98.3...v0.99.0) (2024-04-03)
### Features
- **ast:** introduce async version of visitor merging mechanism ([#3993](https://github.com/swagger-api/apidom/issues/3993)) ([7dd0bbd](https://github.com/swagger-api/apidom/commit/7dd0bbd650eeeee9244cae6dafdf94df9c9150e3)), closes [#3832](https://github.com/swagger-api/apidom/issues/3832)
- **core:** introduce async version of plugin dispatch mechanism ([#3994](https://github.com/swagger-api/apidom/issues/3994)) ([36011bc](https://github.com/swagger-api/apidom/commit/36011bc3b7e50e2d12c08b18b2d45aeb9aa6f594)), closes [#3993](https://github.com/swagger-api/apidom/issues/3993)
# [0.98.0](https://github.com/swagger-api/apidom/compare/v0.97.1...v0.98.0) (2024-03-21)

@@ -8,0 +15,0 @@

6

package.json
{
"name": "@swagger-api/apidom-ast",
"version": "0.98.0",
"version": "0.99.0",
"description": "Tools necessary for parsing stage of ApiDOM, specifically for syntactic analysis.",

@@ -45,3 +45,3 @@ "publishConfig": {

"@babel/runtime-corejs3": "^7.20.7",
"@swagger-api/apidom-error": "^0.98.0",
"@swagger-api/apidom-error": "^0.99.0",
"@types/ramda": "~0.29.6",

@@ -62,3 +62,3 @@ "ramda": "~0.29.1",

],
"gitHead": "1ab373182c91e23f960e01b8722d3381b2dfa936"
"gitHead": "e3c5ac3e738d561a0eb6d9d0f729e0d6bf20b00f"
}

@@ -356,13 +356,30 @@ import { ApiDOMStructuredError, ApiDOMErrorOptions } from '@swagger-api/apidom-error';

*/
declare const mergeAll: (visitors: any[], { visitFnGetter, nodeTypeGetter, breakSymbol, deleteNodeSymbol, skipVisitingNodeSymbol, exposeEdits, }?: {
visitFnGetter?: ((visitor: any, type: string, isLeaving: boolean) => any) | undefined;
nodeTypeGetter?: ((node: any) => any) | undefined;
breakSymbol?: {} | undefined;
deleteNodeSymbol?: null | undefined;
skipVisitingNodeSymbol?: boolean | undefined;
exposeEdits?: boolean | undefined;
}) => {
enter(node: any, ...rest: any[]): any;
leave(node: any, ...rest: any[]): any;
};
interface MergeAllSync {
(visitors: any[], options?: {
visitFnGetter?: typeof getVisitFn;
nodeTypeGetter?: typeof getNodeType;
breakSymbol?: typeof BREAK;
deleteNodeSymbol?: any;
skipVisitingNodeSymbol?: boolean;
exposeEdits?: boolean;
}): {
enter: (node: any, ...rest: any[]) => any;
leave: (node: any, ...rest: any[]) => any;
};
[key: symbol]: MergeAllAsync;
}
interface MergeAllAsync {
(visitors: any[], options?: {
visitFnGetter?: typeof getVisitFn;
nodeTypeGetter?: typeof getNodeType;
breakSymbol?: typeof BREAK;
deleteNodeSymbol?: any;
skipVisitingNodeSymbol?: boolean;
exposeEdits?: boolean;
}): {
enter: (node: any, ...rest: any[]) => Promise<any>;
leave: (node: any, ...rest: any[]) => Promise<any>;
};
}
declare const mergeAll: MergeAllSync;
/**

@@ -470,2 +487,2 @@ * visit() will walk through an AST using a preorder depth first traversal, calling

export { BREAK, Error, JsonArray, JsonDocument, JsonEscapeSequence, JsonFalse, JsonKey, JsonNode, JsonNull, JsonNumber, JsonObject, JsonProperty, JsonString, JsonStringContent, JsonTrue, JsonValue$1 as JsonValue, Literal, ParseResult, Point, Position, YamlAlias, YamlAnchor, YamlCollection, YamlComment, YamlDirective, YamlDocument, YamlError, FailsafeSchema as YamlFailsafeSchema, JsonSchema as YamlJsonSchema, YamlKeyValuePair, YamlMapping, YamlNode, YamlNodeKind, YamlReferenceError, ReferenceManager as YamlReferenceManager, YamlScalar, YamlSchemaError, YamlSequence, YamlStream, YamlStyle, YamlStyleGroup, YamlTag, YamlTagError, type YamlTagErrorOptions, cloneNode, getNodeType, getVisitFn, isArray as isJsonArray, isDocument$1 as isJsonDocument, isEscapeSequence as isJsonEscapeSequence, isFalse as isJsonFalse, isKey as isJsonKey, isNull as isJsonNull, isNumber as isJsonNumber, isObject as isJsonObject, isProperty as isJsonProperty, isString as isJsonString, isStringContent as isJsonStringContent, isTrue as isJsonTrue, isLiteral, isNode, isParseResult, isPoint, isPosition, isAlias as isYamlAlias, isAnchor as isYamlAnchor, isComment as isYamlComment, isDirective as isYamlDirective, isDocument as isYamlDocument, isKeyValuePair as isYamlKeyValuePair, isMapping as isYamlMapping, isScalar as isYamlScalar, isSequence as isYamlSequence, isStream as isYamlStream, isTag as isYamlTag, mergeAll as mergeAllVisitors, visit };
export { BREAK, Error, JsonArray, JsonDocument, JsonEscapeSequence, JsonFalse, JsonKey, JsonNode, JsonNull, JsonNumber, JsonObject, JsonProperty, JsonString, JsonStringContent, JsonTrue, JsonValue$1 as JsonValue, Literal, type MergeAllAsync, type MergeAllSync, ParseResult, Point, Position, YamlAlias, YamlAnchor, YamlCollection, YamlComment, YamlDirective, YamlDocument, YamlError, FailsafeSchema as YamlFailsafeSchema, JsonSchema as YamlJsonSchema, YamlKeyValuePair, YamlMapping, YamlNode, YamlNodeKind, YamlReferenceError, ReferenceManager as YamlReferenceManager, YamlScalar, YamlSchemaError, YamlSequence, YamlStream, YamlStyle, YamlStyleGroup, YamlTag, YamlTagError, type YamlTagErrorOptions, cloneNode, getNodeType, getVisitFn, isArray as isJsonArray, isDocument$1 as isJsonDocument, isEscapeSequence as isJsonEscapeSequence, isFalse as isJsonFalse, isKey as isJsonKey, isNull as isJsonNull, isNumber as isJsonNumber, isObject as isJsonObject, isProperty as isJsonProperty, isString as isJsonString, isStringContent as isJsonStringContent, isTrue as isJsonTrue, isLiteral, isNode, isParseResult, isPoint, isPosition, isAlias as isYamlAlias, isAnchor as isYamlAnchor, isComment as isYamlComment, isDirective as isYamlDirective, isDocument as isYamlDocument, isKeyValuePair as isYamlKeyValuePair, isMapping as isYamlMapping, isScalar as isYamlScalar, isSequence as isYamlSequence, isStream as isYamlStream, isTag as isYamlTag, mergeAll as mergeAllVisitors, visit };

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

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