Skip to content

Commit

Permalink
Update moduleAPIVersion to 3.39.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edi9999 committed Mar 29, 2024
1 parent d7d715d commit 473439b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion es6/docxtemplater.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const {
throwApiVersionError,
} = require("./errors.js");

const currentModuleApiVersion = [3, 38, 0];
const currentModuleApiVersion = [3, 39, 0];

function dropUnsupportedFileTypesModules(dx) {
dx.modules = dx.modules.filter((module) => {
Expand Down
14 changes: 7 additions & 7 deletions es6/tests/__snapshots.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ exports[`Api versioning should fail with invalid versions-1`] = {
],
"currentModuleApiVersion": [
3,
38,
39,
0
],
"explanation": "moduleAPIVersionMismatch : needed=5.6.0, current=3.38.0"
"explanation": "moduleAPIVersionMismatch : needed=5.6.0, current=3.39.0"
}
}

Expand All @@ -53,10 +53,10 @@ exports[`Api versioning should fail with invalid versions-2`] = {
],
"currentModuleApiVersion": [
3,
38,
39,
0
],
"explanation": "moduleAPIVersionMismatch : needed=3.44.0, current=3.38.0"
"explanation": "moduleAPIVersionMismatch : needed=3.44.0, current=3.39.0"
}
}

Expand All @@ -68,15 +68,15 @@ exports[`Api versioning should fail with invalid versions-3`] = {
"id": "api_version_error",
"neededVersion": [
3,
38,
39,
100
],
"currentModuleApiVersion": [
3,
38,
39,
0
],
"explanation": "moduleAPIVersionMismatch : needed=3.38.100, current=3.38.0"
"explanation": "moduleAPIVersionMismatch : needed=3.39.100, current=3.39.0"
}
}

Expand Down
2 changes: 1 addition & 1 deletion es6/tests/e2e/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("Api versioning", function () {
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "5.0"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "5.6.0"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.44.0"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.38.100"));
expectToThrowSnapshot(doc.verifyApiVersion.bind(null, "3.39.100"));
});
});

Expand Down
2 changes: 1 addition & 1 deletion es6/tests/e2e/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("Verify apiversion", function () {
name: "APIVersionError",
properties: {
id: "api_version_error",
currentModuleApiVersion: [3, 38, 0],
currentModuleApiVersion: [3, 39, 0],
neededVersion: [3, 92, 0],
},
});
Expand Down

0 comments on commit 473439b

Please sign in to comment.