feature/upgrade #12
6 changed files with 27 additions and 13 deletions
|
@ -42,7 +42,6 @@
|
|||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
|
@ -127,7 +126,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "converter",
|
||||
"cli": {
|
||||
"analytics": false
|
||||
}
|
||||
|
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -31,6 +31,8 @@
|
|||
"@types/jasmine": "^5.1.4",
|
||||
"@types/jasminewd2": "^2.0.13",
|
||||
"@types/node": "^20.11.5",
|
||||
"@types/quoted-printable": "^1.0.2",
|
||||
"@types/utf8": "^3.0.3",
|
||||
"codelyzer": "^6.0.2",
|
||||
"jasmine-core": "^5.1.1",
|
||||
"jasmine-spec-reporter": "^7.0.0",
|
||||
|
@ -3696,6 +3698,12 @@
|
|||
"integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==",
|
||||
"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": {
|
||||
"version": "1.2.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz",
|
||||
|
@ -3753,6 +3761,12 @@
|
|||
"@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": {
|
||||
"version": "8.5.10",
|
||||
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.10.tgz",
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"build": "ng build --delete-output-path",
|
||||
"build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer",
|
||||
"build": "ng build",
|
||||
"build-prod": "ng build --configuration production --build-optimizer",
|
||||
"test": "ng test --code-coverage",
|
||||
"test:ci": "ng test --browsers ChromeHeadlessNoSandbox --watch=false --code-coverage",
|
||||
"lint": "ng lint",
|
||||
|
@ -53,6 +53,8 @@
|
|||
"@types/jasmine": "^5.1.4",
|
||||
"@types/jasminewd2": "^2.0.13",
|
||||
"@types/node": "^20.11.5",
|
||||
"@types/quoted-printable": "^1.0.2",
|
||||
"@types/utf8": "^3.0.3",
|
||||
"codelyzer": "^6.0.2",
|
||||
"jasmine-core": "^5.1.1",
|
||||
"jasmine-spec-reporter": "^7.0.0",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import {Injectable} from '@angular/core';
|
||||
import * as NativePunycode from 'punycode';
|
||||
import * as NativePunycode from 'punycode/';
|
||||
import * as NativeQuotedPrintable from 'quoted-printable';
|
||||
import * as NativeUtf8 from 'utf8';
|
||||
|
||||
|
|
|
@ -38,14 +38,14 @@
|
|||
// import 'classlist.js'; // Run `npm install --save classlist.js`.
|
||||
|
||||
/** IE10 and IE11 requires the following for the Reflect API. */
|
||||
import 'core-js/es6/reflect';
|
||||
// import 'core-js/es6/reflect';
|
||||
/** Evergreen browsers require these. **/
|
||||
// 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.
|
||||
*/
|
||||
import 'zone.js/dist/zone'; // Included with Angular CLI.
|
||||
import 'zone.js'; // Included with Angular CLI.
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,17 +5,17 @@
|
|||
"outDir": "./dist/out-tsc",
|
||||
"sourceMap": true,
|
||||
"declaration": false,
|
||||
"module": "es2015",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"target": "es5",
|
||||
"target": "ES2022",
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
"lib": [
|
||||
"es2017",
|
||||
"dom"
|
||||
"ES2017",
|
||||
"DOM"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue