@opentelemetry/plugin-react-load 0.23.0 → 0.26.1
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/CHANGELOG.md +16 -0
- package/README.md +4 -0
- package/build/esm/version.d.ts +1 -1
- package/build/esm/version.js +1 -1
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/package.json +22 -20
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
### [0.26.1](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/plugin-react-load-v0.26.0...plugin-react-load-v0.26.1) (2022-01-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix CI by forcing colors@1.4.0 ([#825](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/825)) ([0ec9f08](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/0ec9f080520fe0f146a915a656300ef53a151ace))
|
|
9
|
+
* rename lerna's --include-filtered-dependencies option ([#817](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/817)) ([cf268e7](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/cf268e7a92b7800ad6dbec9ca77466f9ee03ee1a))
|
|
10
|
+
|
|
11
|
+
## [0.26.0](https://www.github.com/open-telemetry/opentelemetry-js-contrib/compare/plugin-react-load-v0.25.0...plugin-react-load-v0.26.0) (2021-10-22)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* support API and SDK 1.0 ([#706](https://www.github.com/open-telemetry/opentelemetry-js-contrib/issues/706)) ([096b694](https://www.github.com/open-telemetry/opentelemetry-js-contrib/commit/096b694bbc3079f0ab4ee0462869b10eb8185202))
|
package/README.md
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
This module provides *automated instrumentation for React lifecycles* for Web applications.
|
|
10
10
|
|
|
11
|
+
Compatible with OpenTelemetry JS API and SDK `1.0+`.
|
|
12
|
+
|
|
11
13
|
## Installation
|
|
12
14
|
|
|
13
15
|
```bash
|
|
@@ -25,6 +27,7 @@ BaseOpenTelemetryComponent.setTracer('name', 'version');
|
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
To instrument components, extend `BaseOpenTelemetryComponent`:
|
|
30
|
+
|
|
28
31
|
```js
|
|
29
32
|
import { BaseOpenTelemetryComponent } from '@opentelemetry/plugin-react-load';
|
|
30
33
|
|
|
@@ -34,6 +37,7 @@ export class Component1 extends BaseOpenTelemetryComponent { ... }
|
|
|
34
37
|
See [/examples/react-load](https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/examples/react-load) for a short example.
|
|
35
38
|
|
|
36
39
|
## Useful links
|
|
40
|
+
|
|
37
41
|
- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>
|
|
38
42
|
- For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>
|
|
39
43
|
- For help or feedback on this project, join us in [GitHub Discussions][discussions-url]
|
package/build/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.26.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/esm/version.js
CHANGED
package/build/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.26.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/src/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/plugin-react-load",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "OpenTelemetry React loading automatic instrumentation package.",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"module": "build/esm/index.js",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"lint": "eslint . --ext .ts",
|
|
12
12
|
"lint:fix": "eslint . --ext .ts --fix",
|
|
13
13
|
"codecov:browser": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../../",
|
|
14
|
-
"precompile": "tsc --version",
|
|
14
|
+
"precompile": "tsc --version && lerna run version --scope @opentelemetry/plugin-react-load --include-dependencies",
|
|
15
|
+
"prewatch": "npm run precompile",
|
|
15
16
|
"version:update": "node ../../../scripts/version-update.js",
|
|
16
17
|
"compile": "npm run version:update && tsc --build tsconfig.json tsconfig.esm.json",
|
|
17
18
|
"prepare": "npm run compile",
|
|
@@ -47,19 +48,20 @@
|
|
|
47
48
|
"access": "public"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "7.
|
|
51
|
-
"@opentelemetry/api": "1.0.
|
|
52
|
-
"@opentelemetry/propagator-b3": "0.
|
|
51
|
+
"@babel/core": "7.15.0",
|
|
52
|
+
"@opentelemetry/api": "1.0.2",
|
|
53
|
+
"@opentelemetry/propagator-b3": "1.0.1",
|
|
53
54
|
"@types/mocha": "7.0.2",
|
|
54
|
-
"@types/node": "14.17.
|
|
55
|
-
"@types/react": "17.0.
|
|
56
|
-
"@types/react-addons-test-utils": "0.14.
|
|
57
|
-
"@types/react-dom": "17.0.
|
|
58
|
-
"@types/shimmer": "1.0.
|
|
55
|
+
"@types/node": "14.17.9",
|
|
56
|
+
"@types/react": "17.0.16",
|
|
57
|
+
"@types/react-addons-test-utils": "0.14.26",
|
|
58
|
+
"@types/react-dom": "17.0.9",
|
|
59
|
+
"@types/shimmer": "1.0.2",
|
|
59
60
|
"@types/sinon": "10.0.2",
|
|
60
|
-
"@types/webpack-env": "1.16.
|
|
61
|
+
"@types/webpack-env": "1.16.2",
|
|
61
62
|
"babel-loader": "8.2.2",
|
|
62
|
-
"codecov": "3.8.
|
|
63
|
+
"codecov": "3.8.3",
|
|
64
|
+
"colors": "1.4.0",
|
|
63
65
|
"gts": "3.1.0",
|
|
64
66
|
"istanbul-instrumenter-loader": "3.0.1",
|
|
65
67
|
"karma": "5.2.3",
|
|
@@ -73,7 +75,7 @@
|
|
|
73
75
|
"react": "17.0.2",
|
|
74
76
|
"react-dom": "17.0.2",
|
|
75
77
|
"rimraf": "3.0.2",
|
|
76
|
-
"sinon": "
|
|
78
|
+
"sinon": "12.0.1",
|
|
77
79
|
"ts-loader": "8.3.0",
|
|
78
80
|
"ts-mocha": "8.0.0",
|
|
79
81
|
"typescript": "4.3.5",
|
|
@@ -82,16 +84,16 @@
|
|
|
82
84
|
"webpack-merge": "5.8.0"
|
|
83
85
|
},
|
|
84
86
|
"peerDependencies": {
|
|
85
|
-
"@opentelemetry/api": "^1.0.
|
|
87
|
+
"@opentelemetry/api": "^1.0.2",
|
|
86
88
|
"react": "^16.13.1 || ^17.0.0"
|
|
87
89
|
},
|
|
88
90
|
"dependencies": {
|
|
89
|
-
"@opentelemetry/context-zone": "^0.
|
|
90
|
-
"@opentelemetry/core": "^0.
|
|
91
|
-
"@opentelemetry/
|
|
92
|
-
"@opentelemetry/
|
|
93
|
-
"@opentelemetry/
|
|
91
|
+
"@opentelemetry/context-zone": "^1.0.0",
|
|
92
|
+
"@opentelemetry/core": "^1.0.0",
|
|
93
|
+
"@opentelemetry/sdk-trace-base": "^1.0.0",
|
|
94
|
+
"@opentelemetry/sdk-trace-web": "^1.0.0",
|
|
95
|
+
"@opentelemetry/semantic-conventions": "^1.0.0",
|
|
94
96
|
"shimmer": "^1.2.1"
|
|
95
97
|
},
|
|
96
|
-
"gitHead": "
|
|
98
|
+
"gitHead": "edfc04cbe3e7faaa365724ddc26bf702b68cc008"
|
|
97
99
|
}
|