asma-doc-viewer 1.0.12 → 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 +3 -3
  2. package/pnpm-lock.yaml +48 -67
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asma-doc-viewer",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Document viewer",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
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: 4.4.168
13
- version: 4.4.168
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
 
@@ -4143,8 +4133,11 @@ packages:
4143
4133
  resolution: {integrity: sha512-Fl2z/BHvkTNvkuBzYTpTuirHZg6wW9z8+4SND/3mDTEcYbbNKWAy21dz9D3ePNNwrrK8pqZO5vLPZ1hLF6T7XA==}
4144
4134
  engines: {node: '>=6'}
4145
4135
 
4146
- pdfjs-dist@4.4.168:
4147
- resolution: {integrity: sha512-MbkAjpwka/dMHaCfQ75RY1FXX3IewBVu6NGZOcxerRFlaBiIkZmUoR0jotX5VUzYZEXAGzSFtknWs5xRKliXPA==}
4136
+ pdfjs-dist@2.4.456:
4137
+ resolution: {integrity: sha512-yckJEHq3F48hcp6wStEpbN9McOj328Ib09UrBlGAKxvN2k+qYPN5iq6TH6jD1C0pso7zTep+g/CKsYgdrQd5QA==}
4138
+
4139
+ pdfjs-dist@4.2.67:
4140
+ resolution: {integrity: sha512-rJmuBDFpD7cqC8WIkQUEClyB4UAH05K4AsyewToMTp2gSy3Rrx8c1ydAVqlJlGv3yZSOrhEERQU/4ScQQFlLHA==}
4148
4141
  engines: {node: '>=18'}
4149
4142
 
4150
4143
  performance-now@2.1.0:
@@ -4719,15 +4712,11 @@ packages:
4719
4712
  react-is@18.2.0:
4720
4713
  resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
4721
4714
 
4722
- react-pdf@9.1.0:
4723
- resolution: {integrity: sha512-KhPDQE3QshkLdS3b48S5Bldv0N5flob6qwvsiADWdZOS5TMDaIrkRtEs+Dyl6ubRf2jTf9jWmFb6RjWu46lSSg==}
4715
+ react-pdf@5.0.0:
4716
+ resolution: {integrity: sha512-VpqZjpZGEevmotLYl6acU6GYQeJ0dxn9+5sth5QjWLFhKu0xy3zSZgt3U3m97zW6UWzQ/scvw5drfPyun5l4eA==}
4724
4717
  peerDependencies:
4725
- '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4726
- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4727
- react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
4728
- peerDependenciesMeta:
4729
- '@types/react':
4730
- optional: true
4718
+ react: ^16.3.0
4719
+ react-dom: ^16.3.0
4731
4720
 
4732
4721
  react-refresh@0.11.0:
4733
4722
  resolution: {integrity: sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==}
@@ -5321,9 +5310,6 @@ packages:
5321
5310
  thunky@1.1.0:
5322
5311
  resolution: {integrity: sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==}
5323
5312
 
5324
- tiny-invariant@1.3.3:
5325
- resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
5326
-
5327
5313
  tmpl@1.0.5:
5328
5314
  resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==}
5329
5315
 
@@ -5522,9 +5508,6 @@ packages:
5522
5508
  walker@1.0.8:
5523
5509
  resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==}
5524
5510
 
5525
- warning@4.0.3:
5526
- resolution: {integrity: sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==}
5527
-
5528
5511
  watchpack@2.4.0:
5529
5512
  resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==}
5530
5513
  engines: {node: '>=10.13.0'}
@@ -5721,6 +5704,12 @@ packages:
5721
5704
  resolution: {integrity: sha512-wil4nwOY58nTdCvif/KEZjQ2NP8uk3gGeRNy2jPBbzypU4BT4D9L8xiwbmDBpZlSgJd2xsT9FvSNU0gsxV51JQ==}
5722
5705
  deprecated: this package has been deprecated
5723
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
+
5724
5713
  wrap-ansi@7.0.0:
5725
5714
  resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
5726
5715
  engines: {node: '>=10'}
@@ -7381,7 +7370,7 @@ snapshots:
7381
7370
 
7382
7371
  '@types/pdfjs-dist@2.10.378':
7383
7372
  dependencies:
7384
- pdfjs-dist: 4.4.168
7373
+ pdfjs-dist: 4.2.67
7385
7374
  transitivePeerDependencies:
7386
7375
  - encoding
7387
7376
  - supports-color
@@ -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
 
@@ -10780,7 +10763,9 @@ snapshots:
10780
10763
  path2d@0.2.1:
10781
10764
  optional: true
10782
10765
 
10783
- pdfjs-dist@4.4.168:
10766
+ pdfjs-dist@2.4.456: {}
10767
+
10768
+ pdfjs-dist@4.2.67:
10784
10769
  optionalDependencies:
10785
10770
  canvas: 2.11.2
10786
10771
  path2d: 0.2.1
@@ -11376,23 +11361,19 @@ snapshots:
11376
11361
 
11377
11362
  react-is@18.2.0: {}
11378
11363
 
11379
- 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):
11380
11365
  dependencies:
11381
- clsx: 2.1.1
11382
- dequal: 2.0.3
11366
+ '@babel/runtime': 7.23.9
11383
11367
  make-cancellable-promise: 1.3.2
11384
11368
  make-event-props: 1.6.2
11385
- merge-refs: 1.3.0(@types/react@18.2.59)
11386
- pdfjs-dist: 4.4.168
11369
+ merge-class-names: 1.4.2
11370
+ pdfjs-dist: 2.4.456
11371
+ prop-types: 15.8.1
11387
11372
  react: 18.2.0
11388
11373
  react-dom: 18.2.0(react@18.2.0)
11389
- tiny-invariant: 1.3.3
11390
- warning: 4.0.3
11391
- optionalDependencies:
11392
- '@types/react': 18.2.59
11374
+ worker-loader: 3.0.8(webpack@5.90.3)
11393
11375
  transitivePeerDependencies:
11394
- - encoding
11395
- - supports-color
11376
+ - webpack
11396
11377
 
11397
11378
  react-refresh@0.11.0: {}
11398
11379
 
@@ -12161,8 +12142,6 @@ snapshots:
12161
12142
 
12162
12143
  thunky@1.1.0: {}
12163
12144
 
12164
- tiny-invariant@1.3.3: {}
12165
-
12166
12145
  tmpl@1.0.5: {}
12167
12146
 
12168
12147
  to-fast-properties@2.0.0: {}
@@ -12356,10 +12335,6 @@ snapshots:
12356
12335
  dependencies:
12357
12336
  makeerror: 1.0.12
12358
12337
 
12359
- warning@4.0.3:
12360
- dependencies:
12361
- loose-envify: 1.4.0
12362
-
12363
12338
  watchpack@2.4.0:
12364
12339
  dependencies:
12365
12340
  glob-to-regexp: 0.4.1
@@ -12688,6 +12663,12 @@ snapshots:
12688
12663
  '@types/trusted-types': 2.0.7
12689
12664
  workbox-core: 6.6.1
12690
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
+
12691
12672
  wrap-ansi@7.0.0:
12692
12673
  dependencies:
12693
12674
  ansi-styles: 4.3.0