mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
chore: bump dependencies
chore: bump ocp Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
1ffdb1336b
commit
4e2e8f0e00
4 changed files with 41 additions and 31 deletions
61
package-lock.json
generated
61
package-lock.json
generated
|
|
@ -10,7 +10,7 @@
|
|||
"license": "agpl",
|
||||
"dependencies": {
|
||||
"@fontsource/dancing-script": "^5.1.0",
|
||||
"@libresign/vue-pdf-editor": "^1.2.7",
|
||||
"@libresign/vue-pdf-editor": "^1.3.7",
|
||||
"@marionebl/option": "^1.0.8",
|
||||
"@nextcloud/auth": "^2.4.0",
|
||||
"@nextcloud/axios": "^2.5.1",
|
||||
|
|
@ -1953,14 +1953,15 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@cantoo/pdf-lib": {
|
||||
"version": "1.21.1",
|
||||
"resolved": "https://registry.npmjs.org/@cantoo/pdf-lib/-/pdf-lib-1.21.1.tgz",
|
||||
"integrity": "sha512-ggPKdexF9Aa2hpDLL57dmydcEG28JWYXVFij2Tc8WwlQVhcYw7Tr/uvNf8NcPNcjyt2yeuWfV+/nCtSf5HCSlA==",
|
||||
"version": "2.2.3",
|
||||
"resolved": "https://registry.npmjs.org/@cantoo/pdf-lib/-/pdf-lib-2.2.3.tgz",
|
||||
"integrity": "sha512-ZLTmpow57+PtiJkMACaw66WpcRz9X9l2i20CIYMyepo/Sgzu+qMgdvh8KLVgChHCoxDe4T8+vkI8v3ZfTFQKnQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pdf-lib/standard-fonts": "^1.0.0",
|
||||
"@pdf-lib/upng": "^1.0.1",
|
||||
"color": "^4.2.3",
|
||||
"crypto-js": "^4.2.0",
|
||||
"node-html-better-parser": "^1.4.0",
|
||||
"pako": "^1.0.11"
|
||||
}
|
||||
|
|
@ -2789,18 +2790,18 @@
|
|||
"peer": true
|
||||
},
|
||||
"node_modules/@libresign/vue-pdf-editor": {
|
||||
"version": "1.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@libresign/vue-pdf-editor/-/vue-pdf-editor-1.2.7.tgz",
|
||||
"integrity": "sha512-1g2rni0g/kGNqjIv8RgWMKznpNZK5qkWtvS9eVS5m/0cRDn7R+QVfx8LIi28HNpTZ10iC/a3lXi34OvYDI6tTg==",
|
||||
"version": "1.3.7",
|
||||
"resolved": "https://registry.npmjs.org/@libresign/vue-pdf-editor/-/vue-pdf-editor-1.3.7.tgz",
|
||||
"integrity": "sha512-5qxY53JZuTdbnOAUC6c/lz4wwih33fIQsETqbBx/3SeeLkEvU8aa4YwULVpAMtP3qj7SrKN20pA9X6TkgcPn0A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@cantoo/pdf-lib": "^1.20.2",
|
||||
"blob-stream-i2d": "^1.0.0",
|
||||
"core-js": "^3.35.1",
|
||||
"@cantoo/pdf-lib": "^2.2.3",
|
||||
"blob-stream-i2d": "^1.1.2",
|
||||
"core-js": "^3.38.1",
|
||||
"downloadjs": "^1.4.7",
|
||||
"pdfjs-dist": "^3.11.174",
|
||||
"pdfjs-dist": "^4.7.76",
|
||||
"pdfkit": "^0.15.0",
|
||||
"vue-material-design-icons": "^5.2.0"
|
||||
"vue-material-design-icons": "^5.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@linusborg/vue-simple-portal": {
|
||||
|
|
@ -12320,9 +12321,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/nan": {
|
||||
"version": "2.20.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz",
|
||||
"integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==",
|
||||
"version": "2.22.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.22.0.tgz",
|
||||
"integrity": "sha512-nbajikzWTMwsW+eSsNm3QwlOs7het9gGJU5dDZzRTQGk03vyBOauxgI4VakDzE0PtsGTmXPsXTbbjVhRwR5mpw==",
|
||||
"license": "MIT",
|
||||
"optional": true
|
||||
},
|
||||
|
|
@ -12436,9 +12437,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/node-html-better-parser": {
|
||||
"version": "1.4.4",
|
||||
"resolved": "https://registry.npmjs.org/node-html-better-parser/-/node-html-better-parser-1.4.4.tgz",
|
||||
"integrity": "sha512-uvlqL1uMU7m/aIY9WsGM0jDW7gVFIuFSWS6f2rlJeL7K1ZzKnA3B8cNbUGw9ywwYm9W7W2ooi0iQ7aI29aQmPw==",
|
||||
"version": "1.4.7",
|
||||
"resolved": "https://registry.npmjs.org/node-html-better-parser/-/node-html-better-parser-1.4.7.tgz",
|
||||
"integrity": "sha512-cJcBhlrn432XtbzPmzxxMLsHeSUnE5qFQtVbVlHXvUGt2ccqc0/wBsB43CFv39BIkLkP5rrPUN5Hg52CnheH+A==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"html-entities": "^2.3.2"
|
||||
|
|
@ -13017,14 +13018,14 @@
|
|||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/path2d-polyfill": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path2d-polyfill/-/path2d-polyfill-2.0.1.tgz",
|
||||
"integrity": "sha512-ad/3bsalbbWhmBo0D6FZ4RNMwsLsPpL6gnvhuSaU5Vm7b06Kr5ubSltQQ0T7YKsiJQO+g22zJ4dJKNTXIyOXtA==",
|
||||
"node_modules/path2d": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/path2d/-/path2d-0.2.1.tgz",
|
||||
"integrity": "sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==",
|
||||
"license": "MIT",
|
||||
"optional": true,
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
"node": ">=6"
|
||||
}
|
||||
},
|
||||
"node_modules/pbkdf2": {
|
||||
|
|
@ -13046,16 +13047,16 @@
|
|||
}
|
||||
},
|
||||
"node_modules/pdfjs-dist": {
|
||||
"version": "3.11.174",
|
||||
"resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-3.11.174.tgz",
|
||||
"integrity": "sha512-TdTZPf1trZ8/UFu5Cx/GXB7GZM30LT+wWUNfsi6Bq8ePLnb+woNKtDymI2mxZYBpMbonNFqKmiz684DIfnd8dA==",
|
||||
"version": "4.7.76",
|
||||
"resolved": "https://registry.npmjs.org/pdfjs-dist/-/pdfjs-dist-4.7.76.tgz",
|
||||
"integrity": "sha512-8y6wUgC/Em35IumlGjaJOCm3wV4aY/6sqnIT3fVW/67mXsOZ9HWBn8GDKmJUK0GSzpbmX3gQqwfoFayp78Mtqw==",
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"canvas": "^2.11.2",
|
||||
"path2d-polyfill": "^2.0.1"
|
||||
"path2d": "^0.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/pdfkit": {
|
||||
|
|
@ -16206,9 +16207,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/tslib": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
|
||||
"integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
|
||||
"version": "2.8.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.0.tgz",
|
||||
"integrity": "sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==",
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/tty-browserify": {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@fontsource/dancing-script": "^5.1.0",
|
||||
"@libresign/vue-pdf-editor": "^1.2.7",
|
||||
"@libresign/vue-pdf-editor": "^1.3.7",
|
||||
"@marionebl/option": "^1.0.8",
|
||||
"@nextcloud/auth": "^2.4.0",
|
||||
"@nextcloud/axios": "^2.5.1",
|
||||
|
|
|
|||
|
|
@ -38,6 +38,8 @@
|
|||
|
||||
<script>
|
||||
import VuePdfEditor from '@libresign/vue-pdf-editor'
|
||||
import { GlobalWorkerOptions } from 'pdfjs-dist'
|
||||
import pdfWorkerCode from 'pdfjs-dist/legacy/build/pdf.worker.min.mjs'
|
||||
|
||||
import Signature from './Signature.vue'
|
||||
|
||||
|
|
@ -58,6 +60,9 @@ export default {
|
|||
default: false,
|
||||
},
|
||||
},
|
||||
async mounted() {
|
||||
GlobalWorkerOptions.workerSrc = pdfWorkerCode
|
||||
},
|
||||
methods: {
|
||||
endInit(event) {
|
||||
this.$emit('pdf-editor:end-init', { ...event })
|
||||
|
|
|
|||
|
|
@ -63,6 +63,10 @@ module.exports = merge(nextcloudWebpackConfig, {
|
|||
resourceQuery: /raw/,
|
||||
type: 'asset/source',
|
||||
},
|
||||
{
|
||||
test: /pdf\.worker(\.min)?\.mjs$/,
|
||||
type: 'asset/resource'
|
||||
},
|
||||
],
|
||||
},
|
||||
cache: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue