Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/2020.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export class Ajv2020 extends AjvCore {
}
}

module.exports = exports = Ajv2020
Comment thread
tatomyr marked this conversation as resolved.
module.exports.Ajv2020 = Ajv2020
Object.defineProperty(exports, "__esModule", {value: true})

Expand Down
1 change: 0 additions & 1 deletion lib/draft4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export class Ajv extends AjvCore {
}
}

module.exports = exports = Ajv
Object.defineProperty(exports, "__esModule", {value: true})

export default Ajv
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redocly/ajv",
"version": "8.18.1",
"version": "8.18.2",
"description": "Another JSON Schema Validator",
"main": "dist/ajv.js",
"types": "dist/ajv.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion spec/ajv2020.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type Ajv2020 from "../dist/2019"
const AjvClass: typeof Ajv2020 =
typeof window == "object" ? (window as any).ajv2020 : require("" + "../dist/2020")
typeof window == "object" ? (window as any).ajv2020 : require("" + "../dist/2020").Ajv2020

export default AjvClass
module.exports = AjvClass
Expand Down
Loading