@datadog/webpack-plugin 2.0.2-dev-8 → 2.1.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/dist/src/index.d.ts +22 -23
- package/dist/src/index.js +3 -5
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +3 -5
- package/dist/src/index.mjs.map +1 -1
- package/package.json +1 -2
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as webpack from 'webpack';
|
|
2
|
-
import * as src from 'src';
|
|
3
2
|
|
|
4
3
|
declare const CONFIG_KEY$1: "rum";
|
|
5
4
|
|
|
@@ -27,27 +26,6 @@ type types$1 = {
|
|
|
27
26
|
|
|
28
27
|
declare const CONFIG_KEY: "telemetry";
|
|
29
28
|
|
|
30
|
-
type types = {
|
|
31
|
-
Filter: Filter;
|
|
32
|
-
Metric: Metric;
|
|
33
|
-
TelemetryOptions: TelemetryOptions;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
|
|
37
|
-
type AuthOptions = {
|
|
38
|
-
apiKey?: string;
|
|
39
|
-
endPoint?: string;
|
|
40
|
-
};
|
|
41
|
-
interface GetPluginsOptions {
|
|
42
|
-
auth?: AuthOptions;
|
|
43
|
-
disableGit?: boolean;
|
|
44
|
-
logLevel?: LogLevel;
|
|
45
|
-
}
|
|
46
|
-
interface Options extends GetPluginsOptions {
|
|
47
|
-
[CONFIG_KEY$1]?: RumOptions;
|
|
48
|
-
[CONFIG_KEY]?: TelemetryOptions;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
29
|
interface Metric {
|
|
52
30
|
metric: string;
|
|
53
31
|
type: 'count' | 'size' | 'duration';
|
|
@@ -72,6 +50,27 @@ type TelemetryOptions = {
|
|
|
72
50
|
filters?: Filter[];
|
|
73
51
|
};
|
|
74
52
|
|
|
53
|
+
type types = {
|
|
54
|
+
Filter: Filter;
|
|
55
|
+
Metric: Metric;
|
|
56
|
+
TelemetryOptions: TelemetryOptions;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'none';
|
|
60
|
+
type AuthOptions = {
|
|
61
|
+
apiKey?: string;
|
|
62
|
+
endPoint?: string;
|
|
63
|
+
};
|
|
64
|
+
interface GetPluginsOptions {
|
|
65
|
+
auth?: AuthOptions;
|
|
66
|
+
disableGit?: boolean;
|
|
67
|
+
logLevel?: LogLevel;
|
|
68
|
+
}
|
|
69
|
+
interface Options extends GetPluginsOptions {
|
|
70
|
+
[CONFIG_KEY$1]?: RumOptions;
|
|
71
|
+
[CONFIG_KEY]?: TelemetryOptions;
|
|
72
|
+
}
|
|
73
|
+
|
|
75
74
|
declare const helpers: {
|
|
76
75
|
rum: {};
|
|
77
76
|
telemetry: {
|
|
@@ -79,7 +78,7 @@ declare const helpers: {
|
|
|
79
78
|
};
|
|
80
79
|
};
|
|
81
80
|
|
|
82
|
-
declare const datadogWebpackPlugin: (options:
|
|
81
|
+
declare const datadogWebpackPlugin: (options: Options) => webpack.WebpackPluginInstance;
|
|
83
82
|
|
|
84
83
|
export { type types$1 as RumTypes, type types as TelemetryTypes, type Options as WebpackPluginOptions, datadogWebpackPlugin, helpers };
|
|
85
84
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.js
CHANGED
|
@@ -24990,7 +24990,7 @@ var lib = VirtualModulesPlugin;
|
|
|
24990
24990
|
|
|
24991
24991
|
var VirtualModulesPlugin$1 = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
24992
24992
|
|
|
24993
|
-
// node_modules/.pnpm/tsup@8.0.2_typescript@5.4.
|
|
24993
|
+
// node_modules/.pnpm/tsup@8.0.2_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js
|
|
24994
24994
|
var getFilename = () => url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.js', document.baseURI).href)));
|
|
24995
24995
|
var getDirname = () => require$$1$1.dirname(getFilename());
|
|
24996
24996
|
var __dirname$1 = /* @__PURE__ */ getDirname();
|
|
@@ -26876,7 +26876,7 @@ const buildPluginFactory = ({
|
|
|
26876
26876
|
|
|
26877
26877
|
var name = "@datadog/webpack-plugin";
|
|
26878
26878
|
var packageManager = "yarn@4.0.2";
|
|
26879
|
-
var version = "2.0
|
|
26879
|
+
var version = "2.1.0";
|
|
26880
26880
|
var license = "MIT";
|
|
26881
26881
|
var author = "Datadog";
|
|
26882
26882
|
var description = "Datadog Webpack Plugin";
|
|
@@ -26941,7 +26941,6 @@ var devDependencies = {
|
|
|
26941
26941
|
var peerDependencies = {
|
|
26942
26942
|
webpack: ">= 4.x < 6.x"
|
|
26943
26943
|
};
|
|
26944
|
-
var stableVersion = "2.0.1";
|
|
26945
26944
|
var pkg = {
|
|
26946
26945
|
name: name,
|
|
26947
26946
|
packageManager: packageManager,
|
|
@@ -26959,8 +26958,7 @@ var pkg = {
|
|
|
26959
26958
|
files: files,
|
|
26960
26959
|
scripts: scripts,
|
|
26961
26960
|
devDependencies: devDependencies,
|
|
26962
|
-
peerDependencies: peerDependencies
|
|
26963
|
-
stableVersion: stableVersion
|
|
26961
|
+
peerDependencies: peerDependencies
|
|
26964
26962
|
};
|
|
26965
26963
|
|
|
26966
26964
|
const datadogWebpackPlugin = buildPluginFactory({
|