Skip to content

Commit b7d50da

Browse files
author
Sascha Goldhofer
committed
release: bump version to v7.4.8
1 parent 0555148 commit b7d50da

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

dist/jsonSchemaLibrary.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module/lib/step.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ const stepType = {
9999
// we resolve the schema here and add the original schema to `oneOfSchema`
100100
let resolvedSchema = core.resolveOneOf(data[key], targetSchema, `${pointer}/${key}`);
101101
const oneOfIndex = targetSchema.oneOf.findIndex((s) => s === resolvedSchema);
102-
resolvedSchema = JSON.parse(JSON.stringify(resolvedSchema));
103102
resolvedSchema.variableSchema = true;
104103
resolvedSchema.oneOfIndex = oneOfIndex;
105104
resolvedSchema.oneOfSchema = targetSchema;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "json-schema-library",
3-
"version": "7.4.7",
3+
"version": "7.4.8",
44
"description": "Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation",
55
"module": "dist/module/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)