@datadog/webpack-plugin 2.3.1-dev-5 → 2.3.1-dev-7

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.
@@ -23519,15 +23519,16 @@ const defaultFilters = [
23519
23519
 
23520
23520
  const validateOptions$1 = (opts) => {
23521
23521
  const options = opts[CONFIG_KEY] || {};
23522
+ const endPoint = options.endPoint || "https://app.datadoghq.com";
23522
23523
  return {
23523
23524
  disabled: false,
23524
23525
  enableTracing: false,
23525
- endPoint: "app.datadoghq.com",
23526
23526
  filters: defaultFilters,
23527
23527
  output: false,
23528
23528
  prefix: "",
23529
23529
  tags: [],
23530
- ...options
23530
+ ...options,
23531
+ endPoint: endPoint.startsWith("http") ? endPoint : `https://${endPoint}`
23531
23532
  };
23532
23533
  };
23533
23534
  const getMetric = (metric, opts) => ({
@@ -36445,7 +36446,7 @@ const buildPluginFactory = ({
36445
36446
 
36446
36447
  var name = "@datadog/webpack-plugin";
36447
36448
  var packageManager = "yarn@4.0.2";
36448
- var version$1 = "2.3.1-dev-5";
36449
+ var version$1 = "2.3.1-dev-7";
36449
36450
  var license = "MIT";
36450
36451
  var author = "Datadog";
36451
36452
  var description = "Datadog Webpack Plugin";
@@ -36489,6 +36490,9 @@ var scripts = {
36489
36490
  typecheck: "tsc --noEmit",
36490
36491
  watch: "yarn clean && rollup --config rollup.config.mjs --watch"
36491
36492
  };
36493
+ var dependencies = {
36494
+ "webpack-sources": "3.2.3"
36495
+ };
36492
36496
  var devDependencies = {
36493
36497
  "@babel/core": "7.24.5",
36494
36498
  "@babel/preset-env": "7.24.5",
@@ -36508,7 +36512,13 @@ var devDependencies = {
36508
36512
  typescript: "5.4.3"
36509
36513
  };
36510
36514
  var peerDependencies = {
36511
- webpack: ">= 4.x < 6.x"
36515
+ webpack: ">= 4.x < 6.x",
36516
+ "webpack-sources": "^3"
36517
+ };
36518
+ var peerDependenciesMeta = {
36519
+ "webpack-sources": {
36520
+ optional: true
36521
+ }
36512
36522
  };
36513
36523
  var stableVersion = "2.3.0";
36514
36524
  var pkg = {
@@ -36527,8 +36537,10 @@ var pkg = {
36527
36537
  publishConfig: publishConfig,
36528
36538
  files: files,
36529
36539
  scripts: scripts,
36540
+ dependencies: dependencies,
36530
36541
  devDependencies: devDependencies,
36531
36542
  peerDependencies: peerDependencies,
36543
+ peerDependenciesMeta: peerDependenciesMeta,
36532
36544
  stableVersion: stableVersion
36533
36545
  };
36534
36546