From ff1b6c002a9f5291fede88d12a5cf5d041e4e9cd Mon Sep 17 00:00:00 2001 From: Mariela Tihova Date: Mon, 19 Aug 2024 19:10:45 +0300 Subject: [PATCH 1/2] Updating lit version to v3 --- editor-templates/WebComponents/main-template/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor-templates/WebComponents/main-template/package.json b/editor-templates/WebComponents/main-template/package.json index 0f9561b3a..8894b93b7 100644 --- a/editor-templates/WebComponents/main-template/package.json +++ b/editor-templates/WebComponents/main-template/package.json @@ -58,7 +58,7 @@ "igniteui-webcomponents-spreadsheet": "4.8.1", "igniteui-webcomponents-spreadsheet-chart-adapter": "4.8.1", //endifdef spreadsheet - "lit-html": "^2.2.0", + "lit-html": "^3.2.0", "tslib": "^2.0.0" }, "devDependencies": { From af2cf4c0458fc5780bff892da3e4380c6897ed82 Mon Sep 17 00:00:00 2001 From: Mariela Tihova Date: Mon, 26 Aug 2024 10:53:58 +0300 Subject: [PATCH 2/2] Removed obsolete polyfills --- code-gen-tools/package.json | 1 - editor-templates/Angular/main-template/package.json | 1 - editor-templates/Angular/main-template/src/polyfills.ts | 3 --- editor-templates/WebComponents/main-template/package.json | 3 --- editor-templates/WebComponents/main-template/webpack.config.js | 2 -- 5 files changed, 10 deletions(-) diff --git a/code-gen-tools/package.json b/code-gen-tools/package.json index 2b4268bb5..3c4bd4366 100644 --- a/code-gen-tools/package.json +++ b/code-gen-tools/package.json @@ -11,7 +11,6 @@ }, "dependencies": { "babel-runtime": "^6.26.0", - "core-js": "^3.6.5", "lit-html": "^2.2.0", "tslib": "^2.0.0" }, diff --git a/editor-templates/Angular/main-template/package.json b/editor-templates/Angular/main-template/package.json index a9c84a419..f51ebb7de 100644 --- a/editor-templates/Angular/main-template/package.json +++ b/editor-templates/Angular/main-template/package.json @@ -16,7 +16,6 @@ "@angular/platform-browser-dynamic": "18.0.2", "@types/hammerjs": "2.0.40", "classlist.js": "1.1.20150312", - "core-js": "3.21.0", "hammerjs": "2.0.8", //ifdef charts, maps "igniteui-angular-charts": "17.3.1-alpha.0", diff --git a/editor-templates/Angular/main-template/src/polyfills.ts b/editor-templates/Angular/main-template/src/polyfills.ts index d583cff9c..78489a4cd 100644 --- a/editor-templates/Angular/main-template/src/polyfills.ts +++ b/editor-templates/Angular/main-template/src/polyfills.ts @@ -18,17 +18,14 @@ * BROWSER POLYFILLS */ -// import "core-js/es7/object"; /** IE10 and IE11 requires the following for NgClass support on SVG elements */ //import "classlist.js"; // run `npm install --save classlist.js`. /** IE10 and IE11 requires the following for the Reflect API. */ -// 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"; /* * Required to support Web Animations `@angular/platform-browser/animations`. diff --git a/editor-templates/WebComponents/main-template/package.json b/editor-templates/WebComponents/main-template/package.json index 8894b93b7..0e2ccd48f 100644 --- a/editor-templates/WebComponents/main-template/package.json +++ b/editor-templates/WebComponents/main-template/package.json @@ -22,10 +22,7 @@ "start:legacy": "npm run serve:dev:legacy" }, "dependencies": { - "@webcomponents/custom-elements": "^1.4.1", - "@webcomponents/template": "^1.4.2", "babel-runtime": "^6.26.0", - "core-js": "^3.6.5", //ifdef editor, webinputs "igniteui-webcomponents": "4.11.1", //endifdef editor, webinputs diff --git a/editor-templates/WebComponents/main-template/webpack.config.js b/editor-templates/WebComponents/main-template/webpack.config.js index 9d11a6155..1de7f0827 100644 --- a/editor-templates/WebComponents/main-template/webpack.config.js +++ b/editor-templates/WebComponents/main-template/webpack.config.js @@ -29,8 +29,6 @@ module.exports = env => { return { entry: isLegacy ? [ - path.resolve(__dirname, 'node_modules/@webcomponents/custom-elements'), - path.resolve(__dirname, 'node_modules/@webcomponents/template'), path.resolve(__dirname, 'src') ] : path.resolve(__dirname, 'src'), devtool: isProd ? false : 'source-map',