asma-doc-viewer 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/pnpm-lock.yaml +46 -67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asma-doc-viewer",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Document viewer",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -10,9 +10,9 @@
10
10
  "main": "build/index.js",
11
11
  "types": "build/index.d.ts",
12
12
  "dependencies": {
13
- "pdfjs-dist": "2.4.456",
13
+ "pdfjs-dist": "4.2.67",
14
14
  "print-js": "^1.6.0",
15
- "react-pdf": "9.1.0",
15
+ "react-pdf": "5.0.0",
16
16
  "styled-components": "^5.3.5"
17
17
  },
18
18
  "devDependencies": {
@@ -24,7 +24,7 @@
24
24
  "@types/pdfjs-dist": "^2.10.378",
25
25
  "@types/react": "^18.0.14",
26
26
  "@types/react-dom": "^17.0.2",
27
- "@types/react-pdf": "7.0.0",
27
+ "@types/react-pdf": "5.0.0",
28
28
  "@types/styled-components": "^5.1.25",
29
29
  "generate-changelog": "^1.8.0",
30
30
  "react": "^18.0.14",
package/pnpm-lock.yaml CHANGED
@@ -9,14 +9,14 @@ importers:
9
9
  .:
10
10
  dependencies:
11
11
  pdfjs-dist:
12
- specifier: 2.4.456
13
- version: 2.4.456
12
+ specifier: 4.2.67
13
+ version: 4.2.67
14
14
  print-js:
15
15
  specifier: ^1.6.0
16
16
  version: 1.6.0
17
17
  react-pdf:
18
- specifier: 9.1.0
19
- version: 9.1.0(@types/react@18.2.59)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
18
+ specifier: 5.0.0
19
+ version: 5.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(webpack@5.90.3)
20
20
  styled-components:
21
21
  specifier: ^5.3.5
22
22
  version: 5.3.11(@babel/core@7.23.9)(react-dom@18.2.0(react@18.2.0))(react-is@18.2.0)(react@18.2.0)
@@ -46,8 +46,8 @@ importers:
46
46
  specifier: ^17.0.2
47
47
  version: 17.0.25
48
48
  '@types/react-pdf':
49
- specifier: 7.0.0
50
- version: 7.0.0(@types/react@18.2.59)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
49
+ specifier: 5.0.0
50
+ version: 5.0.0
51
51
  '@types/styled-components':
52
52
  specifier: ^5.1.25
53
53
  version: 5.1.34
@@ -1369,9 +1369,8 @@ packages:
1369
1369
  '@types/react-dom@18.2.19':
1370
1370
  resolution: {integrity: sha512-aZvQL6uUbIJpjZk4U8JZGbau9KDeAwMfmhyWorxgBkqDIEf6ROjRozcmPIicqsUwPUjbkDfHKgGee1Lq65APcA==}
1371
1371
 
1372
- '@types/react-pdf@7.0.0':
1373
- resolution: {integrity: sha512-G0a+5UiKk3AvEauBP/Js7r9kGZNW3iBbS6kXkH0foGSaKWR6K3ElTe7Y4tlolc2VKbM9udmMxpkbxh/dtR2wXA==}
1374
- deprecated: This is a stub types definition. react-pdf provides its own type definitions, so you do not need this installed.
1372
+ '@types/react-pdf@5.0.0':
1373
+ resolution: {integrity: sha512-G5S6BzzRJIwFpLIjqfNUzm0e0MNxM4KpcHbKif4U/AF44MBiuWqsjw+t7xpI3poZdEtLF0fKd8kRnrMCJwH/iQ==}
1375
1374
 
1376
1375
  '@types/react@17.0.76':
1377
1376
  resolution: {integrity: sha512-w9Aq+qeszGYoQM0hgFcdsAODGJdogadBDiitPm+zjBFJ0mLymvn2qSXsDaLJUndFRqqXk1FQfa9avHUBk1JhJQ==}
@@ -1983,10 +1982,6 @@ packages:
1983
1982
  cliui@7.0.4:
1984
1983
  resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==}
1985
1984
 
1986
- clsx@2.1.1:
1987
- resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
1988
- engines: {node: '>=6'}
1989
-
1990
1985
  co@4.6.0:
1991
1986
  resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==}
1992
1987
  engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'}
@@ -3793,17 +3788,12 @@ packages:
3793
3788
  engines: {node: '>= 4.0.0'}
3794
3789
  deprecated: this will be v4
3795
3790
 
3791
+ merge-class-names@1.4.2:
3792
+ resolution: {integrity: sha512-bOl98VzwCGi25Gcn3xKxnR5p/WrhWFQB59MS/aGENcmUc6iSm96yrFDF0XSNurX9qN4LbJm0R9kfvsQ17i8zCw==}
3793
+
3796
3794
  merge-descriptors@1.0.1:
3797
3795
  resolution: {integrity: sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==}
3798
3796
 
3799
- merge-refs@1.3.0:
3800
- resolution: {integrity: sha512-nqXPXbso+1dcKDpPCXvwZyJILz+vSLqGGOnDrYHQYE+B8n9JTCekVLC65AfCpR4ggVyA/45Y0iR9LDyS2iI+zA==}
3801
- peerDependencies:
3802
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
3803
- peerDependenciesMeta:
3804
- '@types/react':
3805
- optional: true
3806
-
3807
3797
  merge-stream@2.0.0:
3808
3798
  resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
3809
3799
 
@@ -4146,8 +4136,8 @@ packages:
4146
4136
  pdfjs-dist@2.4.456:
4147
4137
  resolution: {integrity: sha512-yckJEHq3F48hcp6wStEpbN9McOj328Ib09UrBlGAKxvN2k+qYPN5iq6TH6jD1C0pso7zTep+g/CKsYgdrQd5QA==}
4148
4138
 
4149
- pdfjs-dist@4.4.168:
4150
- resolution: {integrity: sha512-MbkAjpwka/dMHaCfQ75RY1FXX3IewBVu6NGZOcxerRFlaBiIkZmUoR0jotX5VUzYZEXAGzSFtknWs5xRKliXPA==}
4139
+ pdfjs-dist@4.2.67:
4140
+ resolution: {integrity: sha512-rJmuBDFpD7cqC8WIkQUEClyB4UAH05K4AsyewToMTp2gSy3Rrx8c1ydAVqlJlGv3yZSOrhEERQU/4ScQQFlLHA==}
4151
4141
  engines: {node: '>=18'}
4152
4142
 
4153
4143
  performance-now@2.1.0:
@@ -4722,15 +4712,11 @@ packages:
4722
4712
  react-is@18.2.0:
4723
4713
  resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
4724
4714
 
4725
- react-pdf@9.1.0:
4726
- resolution: {integrity: sha512-KhPDQE3QshkLdS3b48S5Bldv0N5flob6qwvsiADWdZOS5TMDaIrkRtEs+Dyl6ubRf2jTf9jWmFb6RjWu46lSSg==}
4715
+ react-pdf@5.0.0:
4716
+ resolution: {integrity: sha512-VpqZjpZGEevmotLYl6acU6GYQeJ0dxn9+5sth5QjWLFhKu0xy3zSZgt3U3m97zW6UWzQ/scvw5drfPyun5l4eA==}
4727
4717
  peerDependencies:
4728
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4729
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4730
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4731
- peerDependenciesMeta:
4732
- '@types/react':
4733
- optional: true
4718
+ react: ^16.3.0
4719
+ react-dom: ^16.3.0
4734
4720
 
4735
4721
  react-refresh@0.11.0:
4736
4722
  resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==}
@@ -5324,9 +5310,6 @@ packages:
5324
5310
  thunky@1.1.0:
5325
5311
  resolution: {integrity: sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==}
5326
5312
 
5327
- tiny-invariant@1.3.3:
5328
- resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
5329
-
5330
5313
  tmpl@1.0.5:
5331
5314
  resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==}
5332
5315
 
@@ -5525,9 +5508,6 @@ packages:
5525
5508
  walker@1.0.8:
5526
5509
  resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
5527
5510
 
5528
- warning@4.0.3:
5529
- resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==}
5530
-
5531
5511
  watchpack@2.4.0:
5532
5512
  resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==}
5533
5513
  engines: {node: '>=10.13.0'}
@@ -5724,6 +5704,12 @@ packages:
5724
5704
  resolution: {integrity: sha512-wil4nwOY58nTdCvif/KEZjQ2NP8uk3gGeRNy2jPBbzypU4BT4D9L8xiwbmDBpZlSgJd2xsT9FvSNU0gsxV51JQ==}
5725
5705
  deprecated: this package has been deprecated
5726
5706
 
5707
+ worker-loader@3.0.8:
5708
+ resolution: {integrity: sha512-XQyQkIFeRVC7f7uRhFdNMe/iJOdO6zxAaR3EWbDp45v3mDhrTi+++oswKNxShUNjPC/1xUp5DB29YKLhFo129g==}
5709
+ engines: {node: '>= 10.13.0'}
5710
+ peerDependencies:
5711
+ webpack: ^4.0.0 || ^5.0.0
5712
+
5727
5713
  wrap-ansi@7.0.0:
5728
5714
  resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
5729
5715
  engines: {node: '>=10'}
@@ -7384,7 +7370,10 @@ snapshots:
7384
7370
 
7385
7371
  '@types/pdfjs-dist@2.10.378':
7386
7372
  dependencies:
7387
- pdfjs-dist: 2.4.456
7373
+ pdfjs-dist: 4.2.67
7374
+ transitivePeerDependencies:
7375
+ - encoding
7376
+ - supports-color
7388
7377
 
7389
7378
  '@types/prettier@2.7.3': {}
7390
7379
 
@@ -7404,14 +7393,12 @@ snapshots:
7404
7393
  dependencies:
7405
7394
  '@types/react': 18.2.59
7406
7395
 
7407
- '@types/react-pdf@7.0.0(@types/react@18.2.59)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)':
7396
+ '@types/react-pdf@5.0.0':
7408
7397
  dependencies:
7409
- react-pdf: 9.1.0(@types/react@18.2.59)(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
7398
+ '@types/pdfjs-dist': 2.10.378
7399
+ '@types/react': 18.2.59
7410
7400
  transitivePeerDependencies:
7411
- - '@types/react'
7412
7401
  - encoding
7413
- - react
7414
- - react-dom
7415
7402
  - supports-color
7416
7403
 
7417
7404
  '@types/react@17.0.76':
@@ -8192,8 +8179,6 @@ snapshots:
8192
8179
  strip-ansi: 6.0.1
8193
8180
  wrap-ansi: 7.0.0
8194
8181
 
8195
- clsx@2.1.1: {}
8196
-
8197
8182
  co@4.6.0: {}
8198
8183
 
8199
8184
  coa@2.0.2:
@@ -10451,11 +10436,9 @@ snapshots:
10451
10436
  dependencies:
10452
10437
  fs-monkey: 1.0.5
10453
10438
 
10454
- merge-descriptors@1.0.1: {}
10439
+ merge-class-names@1.4.2: {}
10455
10440
 
10456
- merge-refs@1.3.0(@types/react@18.2.59):
10457
- optionalDependencies:
10458
- '@types/react': 18.2.59
10441
+ merge-descriptors@1.0.1: {}
10459
10442
 
10460
10443
  merge-stream@2.0.0: {}
10461
10444
 
@@ -10782,7 +10765,7 @@ snapshots:
10782
10765
 
10783
10766
  pdfjs-dist@2.4.456: {}
10784
10767
 
10785
- pdfjs-dist@4.4.168:
10768
+ pdfjs-dist@4.2.67:
10786
10769
  optionalDependencies:
10787
10770
  canvas: 2.11.2
10788
10771
  path2d: 0.2.1
@@ -11378,23 +11361,19 @@ snapshots:
11378
11361
 
11379
11362
  react-is@18.2.0: {}
11380
11363
 
11381
- react-pdf@9.1.0(@types/react@18.2.59)(react-dom@18.2.0(react@18.2.0))(react@18.2.0):
11364
+ react-pdf@5.0.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)(webpack@5.90.3):
11382
11365
  dependencies:
11383
- clsx: 2.1.1
11384
- dequal: 2.0.3
11366
+ '@babel/runtime': 7.23.9
11385
11367
  make-cancellable-promise: 1.3.2
11386
11368
  make-event-props: 1.6.2
11387
- merge-refs: 1.3.0(@types/react@18.2.59)
11388
- pdfjs-dist: 4.4.168
11369
+ merge-class-names: 1.4.2
11370
+ pdfjs-dist: 2.4.456
11371
+ prop-types: 15.8.1
11389
11372
  react: 18.2.0
11390
11373
  react-dom: 18.2.0(react@18.2.0)
11391
- tiny-invariant: 1.3.3
11392
- warning: 4.0.3
11393
- optionalDependencies:
11394
- '@types/react': 18.2.59
11374
+ worker-loader: 3.0.8(webpack@5.90.3)
11395
11375
  transitivePeerDependencies:
11396
- - encoding
11397
- - supports-color
11376
+ - webpack
11398
11377
 
11399
11378
  react-refresh@0.11.0: {}
11400
11379
 
@@ -12163,8 +12142,6 @@ snapshots:
12163
12142
 
12164
12143
  thunky@1.1.0: {}
12165
12144
 
12166
- tiny-invariant@1.3.3: {}
12167
-
12168
12145
  tmpl@1.0.5: {}
12169
12146
 
12170
12147
  to-fast-properties@2.0.0: {}
@@ -12358,10 +12335,6 @@ snapshots:
12358
12335
  dependencies:
12359
12336
  makeerror: 1.0.12
12360
12337
 
12361
- warning@4.0.3:
12362
- dependencies:
12363
- loose-envify: 1.4.0
12364
-
12365
12338
  watchpack@2.4.0:
12366
12339
  dependencies:
12367
12340
  glob-to-regexp: 0.4.1
@@ -12690,6 +12663,12 @@ snapshots:
12690
12663
  '@types/trusted-types': 2.0.7
12691
12664
  workbox-core: 6.6.1
12692
12665
 
12666
+ worker-loader@3.0.8(webpack@5.90.3):
12667
+ dependencies:
12668
+ loader-utils: 2.0.4
12669
+ schema-utils: 3.3.0
12670
+ webpack: 5.90.3
12671
+
12693
12672
  wrap-ansi@7.0.0:
12694
12673
  dependencies:
12695
12674
  ansi-styles: 4.3.0