Upgrade the last stuff, fix errors.

This commit is contained in:
Manuel Friedli 2024-01-22 00:51:24 +01:00
parent 2e13a54919
commit 36dc27ecd6
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
6 changed files with 27 additions and 13 deletions

View file

@ -42,7 +42,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"aot": true, "aot": true,
"extractLicenses": true, "extractLicenses": true,
@ -127,7 +126,6 @@
} }
} }
}, },
"defaultProject": "converter",
"cli": { "cli": {
"analytics": false "analytics": false
} }

14
package-lock.json generated
View file

@ -31,6 +31,8 @@
"@types/jasmine": "^5.1.4", "@types/jasmine": "^5.1.4",
"@types/jasminewd2": "^2.0.13", "@types/jasminewd2": "^2.0.13",
"@types/node": "^20.11.5", "@types/node": "^20.11.5",
"@types/quoted-printable": "^1.0.2",
"@types/utf8": "^3.0.3",
"codelyzer": "^6.0.2", "codelyzer": "^6.0.2",
"jasmine-core": "^5.1.1", "jasmine-core": "^5.1.1",
"jasmine-spec-reporter": "^7.0.0", "jasmine-spec-reporter": "^7.0.0",
@ -3696,6 +3698,12 @@
"integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==", "integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==",
"dev": true "dev": true
}, },
"node_modules/@types/quoted-printable": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@types/quoted-printable/-/quoted-printable-1.0.2.tgz",
"integrity": "sha512-3B28oB1rRaZNb3N5dlxysm8lH1ujzvReDuYBiIO4jvpTIg9ksrILCNgPxSGVyTWE/qwuxzgHaVehwMK3CVqAtA==",
"dev": true
},
"node_modules/@types/range-parser": { "node_modules/@types/range-parser": {
"version": "1.2.7", "version": "1.2.7",
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
@ -3753,6 +3761,12 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"node_modules/@types/utf8": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/utf8/-/utf8-3.0.3.tgz",
"integrity": "sha512-+lqLGxWZsEe4Z6OrzBI7Ym4SMUTaMS5yOrHZ0/IL0bpIye1Qbs4PpobJL2mLDbftUXlPFZR7fu6d1yM+bHLX1w==",
"dev": true
},
"node_modules/@types/ws": { "node_modules/@types/ws": {
"version": "8.5.10", "version": "8.5.10",
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz",

View file

@ -22,8 +22,8 @@
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build --delete-output-path", "build": "ng build",
"build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer", "build-prod": "ng build --configuration production --build-optimizer",
"test": "ng test --code-coverage", "test": "ng test --code-coverage",
"test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false --code-coverage", "test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false --code-coverage",
"lint": "ng lint", "lint": "ng lint",
@ -53,6 +53,8 @@
"@types/jasmine": "^5.1.4", "@types/jasmine": "^5.1.4",
"@types/jasminewd2": "^2.0.13", "@types/jasminewd2": "^2.0.13",
"@types/node": "^20.11.5", "@types/node": "^20.11.5",
"@types/quoted-printable": "^1.0.2",
"@types/utf8": "^3.0.3",
"codelyzer": "^6.0.2", "codelyzer": "^6.0.2",
"jasmine-core": "^5.1.1", "jasmine-core": "^5.1.1",
"jasmine-spec-reporter": "^7.0.0", "jasmine-spec-reporter": "^7.0.0",

View file

@ -1,5 +1,5 @@
import {Injectable} from '@angular/core'; import {Injectable} from '@angular/core';
import * as NativePunycode from 'punycode'; import * as NativePunycode from 'punycode/';
import * as NativeQuotedPrintable from 'quoted-printable'; import * as NativeQuotedPrintable from 'quoted-printable';
import * as NativeUtf8 from 'utf8'; import * as NativeUtf8 from 'utf8';

View file

@ -38,14 +38,14 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`. // import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */ /** IE10 and IE11 requires the following for the Reflect API. */
import 'core-js/es6/reflect'; // import 'core-js/es6/reflect';
/** Evergreen browsers require these. **/ /** Evergreen browsers require these. **/
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. // Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
import 'core-js/es7/reflect'; // import 'core-js/es7/reflect';
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by default for Angular itself. * Zone JS is required by default for Angular itself.
*/ */
import 'zone.js/dist/zone'; // Included with Angular CLI. import 'zone.js'; // Included with Angular CLI.
/** /**

View file

@ -5,17 +5,17 @@
"outDir": "./dist/out-tsc", "outDir": "./dist/out-tsc",
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"module": "es2015", "module": "ES2022",
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es5", "target": "ES2022",
"typeRoots": [ "typeRoots": [
"node_modules/@types" "node_modules/@types"
], ],
"lib": [ "lib": [
"es2017", "ES2017",
"dom" "DOM"
] ]
} }
} }