Skip to content

Commit 8f2d3f8

Browse files
chore: remove named export override (#45)
1 parent 17e0222 commit 8f2d3f8

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

lib/2020.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ export class Ajv2020 extends AjvCore {
3737
}
3838
}
3939

40-
module.exports = exports = Ajv2020
4140
module.exports.Ajv2020 = Ajv2020
4241
Object.defineProperty(exports, "__esModule", {value: true})
4342

lib/draft4.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export class Ajv extends AjvCore {
4040
}
4141
}
4242

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

4645
export default Ajv

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@redocly/ajv",
3-
"version": "8.18.1",
3+
"version": "8.18.2",
44
"description": "Another JSON Schema Validator",
55
"main": "dist/ajv.js",
66
"types": "dist/ajv.d.ts",

spec/ajv2020.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type Ajv2020 from "../dist/2019"
22
const AjvClass: typeof Ajv2020 =
3-
typeof window == "object" ? (window as any).ajv2020 : require("" + "../dist/2020")
3+
typeof window == "object" ? (window as any).ajv2020 : require("" + "../dist/2020").Ajv2020
44

55
export default AjvClass
66
module.exports = AjvClass

0 commit comments

Comments
 (0)