@swagger-api/apidom-core
Advanced tools
Comparing version 0.69.0 to 0.69.1
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.69.1](https://github.com/swagger-api/apidom/compare/v0.69.0...v0.69.1) (2023-03-28) | ||
### Bug Fixes | ||
- **ls:** serialize dereferenced ApiDOM to proper format ([#2663](https://github.com/swagger-api/apidom/issues/2663)) ([813b114](https://github.com/swagger-api/apidom/commit/813b114f7e6727efe43f94ba4b0fd65bcc177bbc)), closes [#2662](https://github.com/swagger-api/apidom/issues/2662) | ||
# [0.69.0](https://github.com/swagger-api/apidom/compare/v0.68.1...v0.69.0) (2023-02-28) | ||
@@ -8,0 +14,0 @@ |
import serializeValue from "./value/index.js"; | ||
const serializer = element => JSON.stringify(serializeValue(element)); | ||
const serializer = (element, replacer, space) => JSON.stringify(serializeValue(element), replacer, space); | ||
export default serializer; |
{ | ||
"name": "@swagger-api/apidom-core", | ||
"version": "0.69.0", | ||
"version": "0.69.1", | ||
"description": "Tools for manipulating ApiDOM structures.", | ||
@@ -64,3 +64,3 @@ "publishConfig": { | ||
], | ||
"gitHead": "88ec22a4e4721fc8a3aeb1942b6da32fa2ef512b" | ||
"gitHead": "977837b2e93c600fe09ded688cd67c5ee2a782d5" | ||
} |
@@ -245,7 +245,7 @@ /// <reference path="./minim.d.ts" /> | ||
*/ | ||
declare const toJSON: (element: Element) => string; | ||
declare const toJSON: (element: Element, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined) => string; | ||
/** | ||
* Transforms the ApiDOM into YAML string. | ||
*/ | ||
declare const toYAML: (element: Element) => any; | ||
declare const toYAML: (element: Element) => string; | ||
/** | ||
@@ -255,3 +255,3 @@ * Creates a refract representation of an Element. | ||
*/ | ||
declare const dehydrate: (element: Element, namespace?: Namespace$1) => Record<string, any>; | ||
declare const dehydrate: (element: Element, namespace?: Namespace$1) => any; | ||
/** | ||
@@ -258,0 +258,0 @@ * Create a refracted string representation of an Element. |
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
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
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
1312940