@depup/firebase__performance-compat 0.2.23-depup.0

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.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # @depup/firebase__performance-compat
2
+
3
+ > Dependency-bumped version of [@firebase/performance-compat](https://www.npmjs.com/package/@firebase/performance-compat)
4
+
5
+ Generated by [DepUp](https://github.com/depup/npm) -- all production
6
+ dependencies bumped to latest versions.
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ npm install @depup/firebase__performance-compat
12
+ ```
13
+
14
+ | Field | Value |
15
+ |-------|-------|
16
+ | Original | [@firebase/performance-compat](https://www.npmjs.com/package/@firebase/performance-compat) @ 0.2.23 |
17
+ | Processed | 2026-03-17 |
18
+ | Smoke test | failed |
19
+ | Deps updated | 1 |
20
+
21
+ ## Dependency Changes
22
+
23
+ | Dependency | From | To |
24
+ |------------|------|-----|
25
+ | tslib | ^2.1.0 | ^2.8.1 |
26
+
27
+ ---
28
+
29
+ Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/@firebase/performance-compat
30
+
31
+ License inherited from the original package.
package/changes.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "bumped": {
3
+ "tslib": {
4
+ "from": "^2.1.0",
5
+ "to": "^2.8.1"
6
+ }
7
+ },
8
+ "timestamp": "2026-03-17T16:31:39.648Z",
9
+ "totalUpdated": 1
10
+ }
@@ -0,0 +1,73 @@
1
+ import firebase from '@firebase/app-compat';
2
+ import { Component } from '@firebase/component';
3
+ import { trace } from '@firebase/performance';
4
+
5
+ /**
6
+ * @license
7
+ * Copyright 2020 Google LLC
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License");
10
+ * you may not use this file except in compliance with the License.
11
+ * You may obtain a copy of the License at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * Unless required by applicable law or agreed to in writing, software
16
+ * distributed under the License is distributed on an "AS IS" BASIS,
17
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ * See the License for the specific language governing permissions and
19
+ * limitations under the License.
20
+ */
21
+ class PerformanceCompatImpl {
22
+ constructor(app, _delegate) {
23
+ this.app = app;
24
+ this._delegate = _delegate;
25
+ }
26
+ get instrumentationEnabled() {
27
+ return this._delegate.instrumentationEnabled;
28
+ }
29
+ set instrumentationEnabled(val) {
30
+ this._delegate.instrumentationEnabled = val;
31
+ }
32
+ get dataCollectionEnabled() {
33
+ return this._delegate.dataCollectionEnabled;
34
+ }
35
+ set dataCollectionEnabled(val) {
36
+ this._delegate.dataCollectionEnabled = val;
37
+ }
38
+ trace(traceName) {
39
+ return trace(this._delegate, traceName);
40
+ }
41
+ }
42
+
43
+ const name = "@firebase/performance-compat";
44
+ const version = "0.2.23";
45
+
46
+ /**
47
+ * @license
48
+ * Copyright 2020 Google LLC
49
+ *
50
+ * Licensed under the Apache License, Version 2.0 (the "License");
51
+ * you may not use this file except in compliance with the License.
52
+ * You may obtain a copy of the License at
53
+ *
54
+ * http://www.apache.org/licenses/LICENSE-2.0
55
+ *
56
+ * Unless required by applicable law or agreed to in writing, software
57
+ * distributed under the License is distributed on an "AS IS" BASIS,
58
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
59
+ * See the License for the specific language governing permissions and
60
+ * limitations under the License.
61
+ */
62
+ function registerPerformanceCompat(firebaseInstance) {
63
+ firebaseInstance.INTERNAL.registerComponent(new Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
64
+ firebaseInstance.registerVersion(name, version);
65
+ }
66
+ function performanceFactory(container) {
67
+ const app = container.getProvider('app-compat').getImmediate();
68
+ // The following call will always succeed.
69
+ const performance = container.getProvider('performance').getImmediate();
70
+ return new PerformanceCompatImpl(app, performance);
71
+ }
72
+ registerPerformanceCompat(firebase);
73
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../../src/performance.ts","../../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["packageName"],"mappings":";;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAI,SAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACA,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAAC,QAA8B,CAAC"}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
18
+ declare module '@firebase/app-compat' {
19
+ interface FirebaseNamespace {
20
+ performance: {
21
+ (app?: FirebaseApp): FirebasePerformanceCompat;
22
+ };
23
+ }
24
+ interface FirebaseApp {
25
+ performance(): FirebasePerformanceCompat;
26
+ }
27
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
18
+ import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
19
+ import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
20
+ export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
21
+ app: FirebaseApp;
22
+ readonly _delegate: FirebasePerformance;
23
+ constructor(app: FirebaseApp, _delegate: FirebasePerformance);
24
+ get instrumentationEnabled(): boolean;
25
+ set instrumentationEnabled(val: boolean);
26
+ get dataCollectionEnabled(): boolean;
27
+ set dataCollectionEnabled(val: boolean);
28
+ trace(traceName: string): PerformanceTrace;
29
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import '../test/setup';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebaseApp } from '@firebase/app-compat';
18
+ import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
19
+ export declare function getFakeApp(): FirebaseApp;
20
+ export declare function getFakeModularPerformance(): FirebasePerformance;
21
+ export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
@@ -0,0 +1,79 @@
1
+ 'use strict';
2
+
3
+ var firebase = require('@firebase/app-compat');
4
+ var component = require('@firebase/component');
5
+ var performance = require('@firebase/performance');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
10
+
11
+ /**
12
+ * @license
13
+ * Copyright 2020 Google LLC
14
+ *
15
+ * Licensed under the Apache License, Version 2.0 (the "License");
16
+ * you may not use this file except in compliance with the License.
17
+ * You may obtain a copy of the License at
18
+ *
19
+ * http://www.apache.org/licenses/LICENSE-2.0
20
+ *
21
+ * Unless required by applicable law or agreed to in writing, software
22
+ * distributed under the License is distributed on an "AS IS" BASIS,
23
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
+ * See the License for the specific language governing permissions and
25
+ * limitations under the License.
26
+ */
27
+ class PerformanceCompatImpl {
28
+ constructor(app, _delegate) {
29
+ this.app = app;
30
+ this._delegate = _delegate;
31
+ }
32
+ get instrumentationEnabled() {
33
+ return this._delegate.instrumentationEnabled;
34
+ }
35
+ set instrumentationEnabled(val) {
36
+ this._delegate.instrumentationEnabled = val;
37
+ }
38
+ get dataCollectionEnabled() {
39
+ return this._delegate.dataCollectionEnabled;
40
+ }
41
+ set dataCollectionEnabled(val) {
42
+ this._delegate.dataCollectionEnabled = val;
43
+ }
44
+ trace(traceName) {
45
+ return performance.trace(this._delegate, traceName);
46
+ }
47
+ }
48
+
49
+ const name = "@firebase/performance-compat";
50
+ const version = "0.2.23";
51
+
52
+ /**
53
+ * @license
54
+ * Copyright 2020 Google LLC
55
+ *
56
+ * Licensed under the Apache License, Version 2.0 (the "License");
57
+ * you may not use this file except in compliance with the License.
58
+ * You may obtain a copy of the License at
59
+ *
60
+ * http://www.apache.org/licenses/LICENSE-2.0
61
+ *
62
+ * Unless required by applicable law or agreed to in writing, software
63
+ * distributed under the License is distributed on an "AS IS" BASIS,
64
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
65
+ * See the License for the specific language governing permissions and
66
+ * limitations under the License.
67
+ */
68
+ function registerPerformanceCompat(firebaseInstance) {
69
+ firebaseInstance.INTERNAL.registerComponent(new component.Component('performance-compat', performanceFactory, "PUBLIC" /* ComponentType.PUBLIC */));
70
+ firebaseInstance.registerVersion(name, version);
71
+ }
72
+ function performanceFactory(container) {
73
+ const app = container.getProvider('app-compat').getImmediate();
74
+ // The following call will always succeed.
75
+ const performance = container.getProvider('performance').getImmediate();
76
+ return new PerformanceCompatImpl(app, performance);
77
+ }
78
+ registerPerformanceCompat(firebase__default["default"]);
79
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/performance.ts","../src/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n trace,\n FirebasePerformance,\n // The PerformanceTrace type has not changed between modular and non-modular packages.\n PerformanceTrace\n} from '@firebase/performance';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\nimport { FirebaseApp, _FirebaseService } from '@firebase/app-compat';\n\nexport class PerformanceCompatImpl\n implements FirebasePerformanceCompat, _FirebaseService\n{\n constructor(\n public app: FirebaseApp,\n readonly _delegate: FirebasePerformance\n ) {}\n\n get instrumentationEnabled(): boolean {\n return this._delegate.instrumentationEnabled;\n }\n\n set instrumentationEnabled(val: boolean) {\n this._delegate.instrumentationEnabled = val;\n }\n\n get dataCollectionEnabled(): boolean {\n return this._delegate.dataCollectionEnabled;\n }\n\n set dataCollectionEnabled(val: boolean) {\n this._delegate.dataCollectionEnabled = val;\n }\n\n trace(traceName: string): PerformanceTrace {\n return trace(this._delegate, traceName);\n }\n}\n","/**\n * @license\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport firebase, { _FirebaseNamespace } from '@firebase/app-compat';\nimport {\n Component,\n ComponentContainer,\n ComponentType\n} from '@firebase/component';\nimport { PerformanceCompatImpl } from './performance';\nimport { name as packageName, version } from '../package.json';\nimport { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';\n\nfunction registerPerformanceCompat(firebaseInstance: _FirebaseNamespace): void {\n firebaseInstance.INTERNAL.registerComponent(\n new Component(\n 'performance-compat',\n performanceFactory,\n ComponentType.PUBLIC\n )\n );\n\n firebaseInstance.registerVersion(packageName, version);\n}\n\nfunction performanceFactory(\n container: ComponentContainer\n): PerformanceCompatImpl {\n const app = container.getProvider('app-compat').getImmediate();\n // The following call will always succeed.\n const performance = container.getProvider('performance').getImmediate();\n\n return new PerformanceCompatImpl(app, performance);\n}\n\nregisterPerformanceCompat(firebase as _FirebaseNamespace);\n\ndeclare module '@firebase/app-compat' {\n interface FirebaseNamespace {\n performance: {\n (app?: FirebaseApp): FirebasePerformanceCompat;\n };\n }\n interface FirebaseApp {\n performance(): FirebasePerformanceCompat;\n }\n}\n"],"names":["trace","Component","packageName","firebase"],"mappings":";;;;;;;;;;AAAA;;;;;;;;;;;;;;;AAeG;MAWU,qBAAqB,CAAA;IAGhC,WACS,CAAA,GAAgB,EACd,SAA8B,EAAA;QADhC,IAAG,CAAA,GAAA,GAAH,GAAG,CAAa;QACd,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;KACrC;AAEJ,IAAA,IAAI,sBAAsB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,sBAAsB,CAAC;KAC9C;IAED,IAAI,sBAAsB,CAAC,GAAY,EAAA;AACrC,QAAA,IAAI,CAAC,SAAS,CAAC,sBAAsB,GAAG,GAAG,CAAC;KAC7C;AAED,IAAA,IAAI,qBAAqB,GAAA;AACvB,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,qBAAqB,CAAC;KAC7C;IAED,IAAI,qBAAqB,CAAC,GAAY,EAAA;AACpC,QAAA,IAAI,CAAC,SAAS,CAAC,qBAAqB,GAAG,GAAG,CAAC;KAC5C;AAED,IAAA,KAAK,CAAC,SAAiB,EAAA;QACrB,OAAOA,iBAAK,CAAC,IAAI,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;KACzC;AACF;;;;;ACrDD;;;;;;;;;;;;;;;AAeG;AAYH,SAAS,yBAAyB,CAAC,gBAAoC,EAAA;AACrE,IAAA,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CACzC,IAAIC,mBAAS,CACX,oBAAoB,EACpB,kBAAkB,EAAA,QAAA,4BAEnB,CACF,CAAC;AAEF,IAAA,gBAAgB,CAAC,eAAe,CAACC,IAAW,EAAE,OAAO,CAAC,CAAC;AACzD,CAAC;AAED,SAAS,kBAAkB,CACzB,SAA6B,EAAA;IAE7B,MAAM,GAAG,GAAG,SAAS,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,YAAY,EAAE,CAAC;;IAE/D,MAAM,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,YAAY,EAAE,CAAC;AAExE,IAAA,OAAO,IAAI,qBAAqB,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC;AACrD,CAAC;AAED,yBAAyB,CAACC,4BAA8B,CAAC;;"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
18
+ declare module '@firebase/app-compat' {
19
+ interface FirebaseNamespace {
20
+ performance: {
21
+ (app?: FirebaseApp): FirebasePerformanceCompat;
22
+ };
23
+ }
24
+ interface FirebaseApp {
25
+ performance(): FirebasePerformanceCompat;
26
+ }
27
+ }
28
+
29
+ import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
30
+ import { type FirebasePerformance, type PerformanceSettings, type PerformanceTrace } from "@firebase/performance";
31
+ declare module "@firebase/performance" {
32
+ function getPerformance(app?: FirebaseAppCompat): FirebasePerformance;
33
+ function initializePerformance(app: FirebaseAppCompat, settings?: PerformanceSettings): FirebasePerformance;
34
+ function trace(performance: FirebasePerformanceCompat, name: string): PerformanceTrace;
35
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
18
+ import { FirebasePerformance as FirebasePerformanceCompat } from '@firebase/performance-types';
19
+ import { FirebaseApp, _FirebaseService } from '@firebase/app-compat';
20
+ export declare class PerformanceCompatImpl implements FirebasePerformanceCompat, _FirebaseService {
21
+ app: FirebaseApp;
22
+ readonly _delegate: FirebasePerformance;
23
+ constructor(app: FirebaseApp, _delegate: FirebasePerformance);
24
+ get instrumentationEnabled(): boolean;
25
+ set instrumentationEnabled(val: boolean);
26
+ get dataCollectionEnabled(): boolean;
27
+ set dataCollectionEnabled(val: boolean);
28
+ trace(traceName: string): PerformanceTrace;
29
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import '../test/setup';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ export {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2019 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { FirebaseApp } from '@firebase/app-compat';
18
+ import { FirebasePerformance, PerformanceTrace } from '@firebase/performance';
19
+ export declare function getFakeApp(): FirebaseApp;
20
+ export declare function getFakeModularPerformance(): FirebasePerformance;
21
+ export declare function getFakeModularPerformanceTrace(): PerformanceTrace;
package/package.json ADDED
@@ -0,0 +1,92 @@
1
+ {
2
+ "name": "@depup/firebase__performance-compat",
3
+ "version": "0.2.23-depup.0",
4
+ "description": "[DepUp] The compatibility package of Firebase Performance",
5
+ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
+ "main": "dist/index.cjs.js",
7
+ "browser": "dist/esm/index.esm.js",
8
+ "module": "dist/esm/index.esm.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/src/index.d.ts",
12
+ "require": "./dist/index.cjs.js",
13
+ "default": "./dist/esm/index.esm.js"
14
+ },
15
+ "./package.json": "./package.json"
16
+ },
17
+ "files": [
18
+ "dist",
19
+ "changes.json",
20
+ "README.md"
21
+ ],
22
+ "scripts": {
23
+ "lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
24
+ "lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
25
+ "build": "rollup -c",
26
+ "build:release": "rollup -c rollup.config.release.js && yarn add-compat-overloads",
27
+ "build:deps": "lerna run --scope @firebase/performance-compat --include-dependencies build",
28
+ "dev": "rollup -c -w",
29
+ "test": "run-p --npm-path npm lint test:all",
30
+ "test:all": "run-p --npm-path npm test:browser",
31
+ "test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
32
+ "test:browser": "karma start",
33
+ "test:browser:debug": "karma start --browsers Chrome --auto-watch",
34
+ "trusted-type-check": "tsec -p tsconfig.json --noEmit",
35
+ "prettier": "prettier --write '{src,test}/**/*.{js,ts}'",
36
+ "add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../performance/dist/src/index.d.ts -o dist/src/index.d.ts -a -r FirebasePerformance:FirebasePerformanceCompat -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/performance"
37
+ },
38
+ "license": "Apache-2.0",
39
+ "peerDependencies": {
40
+ "@firebase/app-compat": "0.x"
41
+ },
42
+ "dependencies": {
43
+ "@firebase/performance": "0.7.10",
44
+ "@firebase/performance-types": "0.2.3",
45
+ "@firebase/util": "1.14.0",
46
+ "@firebase/logger": "0.5.0",
47
+ "@firebase/component": "0.7.1",
48
+ "tslib": "^2.8.1"
49
+ },
50
+ "devDependencies": {
51
+ "rollup": "2.79.2",
52
+ "@rollup/plugin-json": "6.1.0",
53
+ "rollup-plugin-replace": "2.2.0",
54
+ "rollup-plugin-typescript2": "0.36.0",
55
+ "typescript": "5.5.4",
56
+ "@firebase/app-compat": "0.5.9"
57
+ },
58
+ "repository": {
59
+ "directory": "packages/performance-compat",
60
+ "type": "git",
61
+ "url": "git+https://github.com/firebase/firebase-js-sdk.git"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/firebase/firebase-js-sdk/issues"
65
+ },
66
+ "typings": "dist/src/index.d.ts",
67
+ "nyc": {
68
+ "extension": [
69
+ ".ts"
70
+ ],
71
+ "reportDir": "./coverage/node"
72
+ },
73
+ "keywords": [
74
+ "depup",
75
+ "dependency-bumped",
76
+ "updated-deps",
77
+ "@firebase/performance-compat"
78
+ ],
79
+ "depup": {
80
+ "changes": {
81
+ "tslib": {
82
+ "from": "^2.1.0",
83
+ "to": "^2.8.1"
84
+ }
85
+ },
86
+ "depsUpdated": 1,
87
+ "originalPackage": "@firebase/performance-compat",
88
+ "originalVersion": "0.2.23",
89
+ "processedAt": "2026-03-17T16:31:43.739Z",
90
+ "smokeTest": "failed"
91
+ }
92
+ }