@lwrjs/client-modules 0.13.0-alpha.13 → 0.13.0-alpha.15

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.
@@ -1,8 +1,4 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts-ignore
3
1
  import { BOOTSTRAP_END, INIT, INIT_MODULE } from 'lwr/metrics';
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
- // @ts-ignore
6
2
  import { logOperationStart, logOperationEnd } from 'lwr/profiler';
7
3
  // TODO: This is a temporal workaround until https://github.com/salesforce/lwc/pull/2083 is sorted - tmp
8
4
  import { createElement } from 'lwc';
@@ -77,8 +73,6 @@ export function init(rootModules, serverData = {}) {
77
73
  const propsId = element.dataset.lwrPropsId;
78
74
  // hydrate SSR'd components
79
75
  if (propsId) {
80
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
81
- // @ts-ignore
82
76
  hydrateComponentProxy(element, ctor, serverData[propsId] || {});
83
77
  logOperationEnd({
84
78
  id: INIT_MODULE,
@@ -1,4 +1,4 @@
1
- import type { LWRMetric } from '../metrics/metrics';
1
+ import type { LWRMetric } from '../metrics/metrics.js';
2
2
  declare const enum Phase {
3
3
  Start = 0,
4
4
  End = 1
@@ -1,8 +1,4 @@
1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts-ignore
3
1
  import { BOOTSTRAP_END, INIT, INIT_MODULE } from 'lwr/metrics';
4
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
5
- // @ts-ignore
6
2
  import { logOperationStart, logOperationEnd } from 'lwr/profiler';
7
3
 
8
4
  // TODO: This is a temporal workaround until https://github.com/salesforce/lwc/pull/2083 is sorted - tmp
@@ -100,8 +96,6 @@ export function init(rootModules, serverData = {}) {
100
96
 
101
97
  // hydrate SSR'd components
102
98
  if (propsId) {
103
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
104
- // @ts-ignore
105
99
  hydrateComponentProxy(element, ctor, serverData[propsId] || {});
106
100
  logOperationEnd({
107
101
  id: INIT_MODULE,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.13.0-alpha.13",
7
+ "version": "0.13.0-alpha.15",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@locker/sandbox": "0.22.2",
37
- "@lwrjs/shared-utils": "0.13.0-alpha.13"
37
+ "@lwrjs/shared-utils": "0.13.0-alpha.15"
38
38
  },
39
39
  "devDependencies": {
40
- "@lwrjs/types": "0.13.0-alpha.13",
40
+ "@lwrjs/types": "0.13.0-alpha.15",
41
41
  "@rollup/plugin-node-resolve": "^15.2.3",
42
42
  "@rollup/plugin-sucrase": "^5.0.2",
43
43
  "@rollup/plugin-terser": "^0.4.4",
@@ -70,5 +70,5 @@
70
70
  "volta": {
71
71
  "extends": "../../../package.json"
72
72
  },
73
- "gitHead": "7ef5235dbf1a8c5895fb8acdb212c50f715f0a03"
73
+ "gitHead": "d5eab85249493caf8766c4bc400b11d9c0a9909e"
74
74
  }
File without changes