Skip to content

Commit f0b4494

Browse files
authored
Merge pull request #226 from sweting/master
Angular 16 upgrade
2 parents 6cc01b1 + 3f69595 commit f0b4494

17 files changed

+15332
-14725
lines changed
2.86 MB
Binary file not shown.

SampleApp/package-lock.json

Lines changed: 12749 additions & 10257 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SampleApp/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@
1111
},
1212
"private": true,
1313
"dependencies": {
14-
"@angular/animations": "^15.0.4",
15-
"@angular/cdk": "^13.2.2",
16-
"@angular/common": "^15.0.4",
17-
"@angular/compiler": "^15.0.4",
18-
"@angular/core": "^15.0.4",
19-
"@angular/forms": "^15.0.4",
20-
"@angular/material": "^13.2.2",
21-
"@angular/platform-browser": "^15.0.4",
22-
"@angular/platform-browser-dynamic": "^15.0.4",
23-
"@angular/router": "^15.0.4",
14+
"@angular/animations": "^16.0.4",
15+
"@angular/cdk": "^16.0.3",
16+
"@angular/common": "^16.0.4",
17+
"@angular/compiler": "^16.0.4",
18+
"@angular/core": "^16.0.4",
19+
"@angular/forms": "^16.0.4",
20+
"@angular/material": "^16.0.3",
21+
"@angular/platform-browser": "^16.0.4",
22+
"@angular/platform-browser-dynamic": "^16.0.4",
23+
"@angular/router": "^16.0.4",
2424
"core-js": "^3.21.0",
2525
"hammerjs": "^2.0.8",
26-
"ng2-pdfjs-viewer": "file:ng2-pdfjs-viewer-15.0.0.tgz",
26+
"ng2-pdfjs-viewer": "file:ng2-pdfjs-viewer-16.0.4.tgz",
2727
"rxjs": "^7.5.4",
28-
"zone.js": "~0.11.4"
28+
"zone.js": "~0.13.0"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "^15.0.5",
32-
"@angular/cli": "^15.0.5",
33-
"@angular/compiler-cli": "^15.0.4",
34-
"@angular/language-service": "^15.0.4",
31+
"@angular-devkit/build-angular": "^16.0.4",
32+
"@angular/cli": "^16.0.4",
33+
"@angular/compiler-cli": "^16.0.4",
34+
"@angular/language-service": "^16.0.4",
3535
"@types/jasmine": "^3.10.3",
3636
"@types/jasminewd2": "^2.0.10",
3737
"@types/node": "^17.0.18",
@@ -46,6 +46,6 @@
4646
"protractor": "~7.0.0",
4747
"ts-node": "^10.5.0",
4848
"tslint": "~5.20.1",
49-
"typescript": "^4.8.3"
49+
"typescript": "^5.0.4"
5050
}
5151
}

SampleApp/src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import { AppComponent } from './app.component';
88
import { PdfJsViewerModule } from 'ng2-pdfjs-viewer';
99
import { MatToolbarModule } from '@angular/material/toolbar';
1010
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
11-
import {MatButtonModule} from '@angular/material/button';
11+
import {MatLegacyButtonModule as MatButtonModule} from '@angular/material/legacy-button';
1212
import { InlineComponent } from './inline/inline.component';
1313
import { BigComponent } from './big/big.component';
1414
import { DynamicComponent } from './dynamic/dynamic.component';
1515
import {MatGridListModule} from '@angular/material/grid-list';
16-
import {MatTableModule} from '@angular/material/table';
16+
import {MatLegacyTableModule as MatTableModule} from '@angular/material/legacy-table';
1717

1818
const MATERIAL_IMPORTS = [
1919
BrowserAnimationsModule,

lib/auto_deploy.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ copy .\pdfjs\web\viewer.js ..\SampleApp\src\assets\pdfjs\web -Force
22
npm run build
33
cd dist
44
npm pack
5-
copy .\ng2-pdfjs-viewer-15.0.0.tgz ..\..\SampleApp\ -Force
5+
copy .\ng2-pdfjs-viewer-16.0.4.tgz ..\..\SampleApp\ -Force
66
cd ..\..\SampleApp\
77
npm uninstall ng2-pdfjs-viewer
8-
npm install .\ng2-pdfjs-viewer-15.0.0.tgz
8+
npm install .\ng2-pdfjs-viewer-16.0.4.tgz
99
npm start

lib/dist/esm2020/index.mjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/dist/esm2020/ng2-pdfjs-viewer.mjs

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)