Merge pull request #16693 from Snuffleupagus/update-packages
Update packages and translations
This commit is contained in:
commit
22c0bf4ec2
@ -191,6 +191,8 @@ editor_free_text2.title = Testo
|
||||
editor_free_text2_label = Testo
|
||||
editor_ink2.title = Disegno
|
||||
editor_ink2_label = Disegno
|
||||
editor_stamp.title = Aggiungi un’immagine
|
||||
editor_stamp_label = Aggiungi un’immagine
|
||||
|
||||
free_text2_default_content = Inizia a digitare…
|
||||
|
||||
|
1763
package-lock.json
generated
1763
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
36
package.json
36
package.json
@ -1,20 +1,20 @@
|
||||
{
|
||||
"name": "pdf.js",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.22.5",
|
||||
"@babel/core": "^7.22.9",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.22.5",
|
||||
"@babel/preset-env": "^7.22.5",
|
||||
"@babel/runtime": "^7.22.5",
|
||||
"@babel/preset-env": "^7.22.9",
|
||||
"@babel/runtime": "^7.22.6",
|
||||
"@javascript-obfuscator/escodegen": "2.3.0",
|
||||
"acorn": "^8.9.0",
|
||||
"acorn": "^8.10.0",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"babel-loader": "^9.1.2",
|
||||
"caniuse-lite": "^1.0.30001507",
|
||||
"babel-loader": "^9.1.3",
|
||||
"caniuse-lite": "^1.0.30001516",
|
||||
"canvas": "^2.11.2",
|
||||
"core-js": "^3.31.0",
|
||||
"core-js": "^3.31.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"es-module-shims": "1.4.7",
|
||||
"eslint": "^8.43.0",
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-plugin-fetch-options": "^0.0.5",
|
||||
"eslint-plugin-html": "^7.1.0",
|
||||
@ -22,7 +22,7 @@
|
||||
"eslint-plugin-json": "^3.1.0",
|
||||
"eslint-plugin-mozilla": "^3.1.0",
|
||||
"eslint-plugin-no-unsanitized": "^4.0.2",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-prettier": "^5.0.0",
|
||||
"eslint-plugin-sort-exports": "^0.8.0",
|
||||
"eslint-plugin-unicorn": "^47.0.0",
|
||||
"globals": "^13.20.0",
|
||||
@ -39,22 +39,22 @@
|
||||
"needle": "^3.2.0",
|
||||
"path2d-polyfill": "^2.0.1",
|
||||
"pngjs": "^7.0.0",
|
||||
"postcss": "^8.4.24",
|
||||
"postcss-dir-pseudo-class": "^7.0.2",
|
||||
"prettier": "^2.8.8",
|
||||
"puppeteer": "^20.7.3",
|
||||
"postcss": "^8.4.26",
|
||||
"postcss-dir-pseudo-class": "^8.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"puppeteer": "^20.8.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"streamqueue": "^1.1.2",
|
||||
"stylelint": "^15.9.0",
|
||||
"stylelint-prettier": "^3.0.0",
|
||||
"terser": "^5.18.1",
|
||||
"stylelint": "15.10.0",
|
||||
"stylelint-prettier": "^4.0.0",
|
||||
"terser": "^5.19.0",
|
||||
"through2": "^4.0.2",
|
||||
"ttest": "^4.0.0",
|
||||
"typescript": "^5.1.3",
|
||||
"typescript": "^5.1.6",
|
||||
"typogr": "^0.6.8",
|
||||
"vinyl": "^3.0.0",
|
||||
"vinyl-fs": "^3.0.3",
|
||||
"webpack": "^5.88.0",
|
||||
"webpack": "^5.88.1",
|
||||
"webpack-stream": "^7.0.0",
|
||||
"wintersmith": "^2.5.0",
|
||||
"yargs": "^17.7.2"
|
||||
|
@ -755,13 +755,13 @@ const getGlyphMapForStandardFonts = getLookupTableFactory(function (t) {
|
||||
// The glyph map for ArialBlack differs slightly from the glyph map used for
|
||||
// other well-known standard fonts. Hence we use this (incomplete) CID to GID
|
||||
// mapping to adjust the glyph map for non-embedded ArialBlack fonts.
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(function (
|
||||
t
|
||||
) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
});
|
||||
const getSupplementalGlyphMapForArialBlack = getLookupTableFactory(
|
||||
function (t) {
|
||||
t[227] = 322;
|
||||
t[264] = 261;
|
||||
t[291] = 346;
|
||||
}
|
||||
);
|
||||
|
||||
// The glyph map for Calibri (a Windows font) differs from the glyph map used
|
||||
// in the standard fonts. Hence we use this (incomplete) CID to GID mapping to
|
||||
|
@ -217,9 +217,12 @@ describe("FreeText Editor", () => {
|
||||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
let length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
let length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(2);
|
||||
|
||||
for (let i = 0; i < 2; i++) {
|
||||
@ -229,9 +232,12 @@ describe("FreeText Editor", () => {
|
||||
await page.waitForTimeout(10);
|
||||
}
|
||||
|
||||
length = await page.evaluate(sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
}, `${getEditorSelector(5)}, ${getEditorSelector(6)}`);
|
||||
length = await page.evaluate(
|
||||
sel => {
|
||||
return document.querySelectorAll(sel).length;
|
||||
},
|
||||
`${getEditorSelector(5)}, ${getEditorSelector(6)}`
|
||||
);
|
||||
expect(length).withContext(`In ${browserName}`).toEqual(0);
|
||||
}
|
||||
});
|
||||
|
@ -2427,13 +2427,13 @@ describe("api", function () {
|
||||
docBaseUrl: "http://www.example.com/test/pdfs/qwerty.pdf",
|
||||
})
|
||||
);
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(function (
|
||||
pdfDoc
|
||||
) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
});
|
||||
const docBaseUrlPromise = docBaseUrlLoadingTask.promise.then(
|
||||
function (pdfDoc) {
|
||||
return pdfDoc.getPage(1).then(function (pdfPage) {
|
||||
return pdfPage.getAnnotations();
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
const invalidDocBaseUrlLoadingTask = getDocument(
|
||||
buildGetDocumentParams(filename, {
|
||||
|
@ -586,7 +586,8 @@ body {
|
||||
.doorHanger,
|
||||
.doorHangerRight {
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 1px 5px var(--doorhanger-border-color),
|
||||
box-shadow:
|
||||
0 1px 5px var(--doorhanger-border-color),
|
||||
0 0 0 1px var(--doorhanger-border-color);
|
||||
border: var(--doorhanger-border-color-whcm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user