@datadog/esbuild-plugin 2.0.0 → 2.0.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.
@@ -1,4 +1,5 @@
1
1
  import * as esbuild from 'esbuild';
2
+ import * as src from 'src';
2
3
 
3
4
  type LogLevel = 'debug' | 'warn' | 'error' | 'none';
4
5
  interface GetPluginsOptions {
@@ -59,7 +60,7 @@ declare const helpers: {
59
60
  };
60
61
  };
61
62
 
62
- declare const datadogEsbuildPlugin: (options: Options) => esbuild.Plugin;
63
+ declare const datadogEsbuildPlugin: (options: src.EsbuildPluginOptions) => esbuild.Plugin;
63
64
 
64
65
  export { type Options as EsbuildPluginOptions, type types as TelemetryTypes, datadogEsbuildPlugin, helpers };
65
66
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@datadog/esbuild-plugin",
3
3
  "packageManager": "yarn@4.0.2",
4
- "version": "2.0.0",
4
+ "version": "2.0.1-0",
5
5
  "license": "MIT",
6
6
  "author": "Datadog",
7
7
  "description": "Datadog ESBuild Plugin",
@@ -50,21 +50,19 @@
50
50
  "typecheck": "tsc --noEmit",
51
51
  "watch": "yarn clean && rollup --config rollup.config.mjs --watch"
52
52
  },
53
- "dependencies": {
54
- "@dd/factory": "0.0.0",
55
- "@dd/tools": "0.0.0",
56
- "esbuild": "0.20.2"
57
- },
58
53
  "devDependencies": {
59
54
  "@babel/core": "7.24.5",
60
55
  "@babel/preset-env": "7.24.5",
61
56
  "@babel/preset-typescript": "7.24.1",
57
+ "@dd/factory": "0.0.0",
58
+ "@dd/tools": "0.0.0",
62
59
  "@rollup/plugin-babel": "6.0.4",
63
60
  "@rollup/plugin-commonjs": "25.0.7",
64
61
  "@rollup/plugin-json": "6.1.0",
65
62
  "@rollup/plugin-node-resolve": "15.2.3",
66
63
  "@types/babel__core": "^7",
67
64
  "@types/babel__preset-env": "^7",
65
+ "esbuild": "0.20.2",
68
66
  "rollup": "4.17.1",
69
67
  "rollup-plugin-dts": "6.1.0",
70
68
  "rollup-plugin-esbuild": "6.1.1",
@@ -73,5 +71,6 @@
73
71
  "peerDependencies": {
74
72
  "esbuild": ">=0.x"
75
73
  },
74
+ "stableVersion": "2.0.0",
76
75
  "types": "./dist/src/index.d.ts"
77
76
  }