Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplication/plugin-observability-opentelemetry

Package Overview
Dependencies
Maintainers
8
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplication/plugin-observability-opentelemetry - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

6

dist/index.js

@@ -22,3 +22,3 @@ /******/ (() => { // webpackBootstrap

dependencies: {
"@amplication/opentelemetry-nestjs": "^4.3.7",
"@amplication/opentelemetry-nestjs": "^4.4.0",
},

@@ -140,3 +140,3 @@ };

(0, ast_1.importNames)([OTLP_TRACE_EXPORTER], "@opentelemetry/exporter-trace-otlp-grpc"),
(0, ast_1.importNames)([BATCH_SPAN_PROCESSOR], "@opentelemetry/sdk-trace-base"),
(0, ast_1.importNames)([BATCH_SPAN_PROCESSOR], "@opentelemetry/sdk-trace-node"),
];

@@ -507,3 +507,3 @@ };

module.exports = JSON.parse('{"name":"@amplication/plugin-observability-opentelemetry","version":"1.0.0","description":"This plugin is created to add integrate opentelemetry to the amplication app","main":"dist/index.js","scripts":{"prepublishOnly":"npm run build","dev":"webpack --watch","build":"webpack","prebuild":"rimraf dist","format:write":"prettier --write \\"**/*.{js,ts}\\"","lint:fix":"eslint \'./src/**/*.{ts, tsx}\' --fix --c .eslintrc","lint":"eslint \'./src/**/*.{ts, tsx}\' --c .eslintrc","test":"jest"},"author":"Ashish Padhy","license":"Apache-2.0","devDependencies":{"@amplication/code-gen-types":"^2.0.8","@amplication/code-gen-utils":"^0.0.5","@babel/parser":"^7.20.7","@babel/types":"^7.20.7","@types/jest":"^29.5.3","@types/lodash":"^4.14.197","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","copy-webpack-plugin":"^11.0.0","eslint":"^8.46.0","jest-mock-extended":"^3.0.1","lodash":"^4.17.21","prettier":"^2.8.7","rimraf":"^4.4.1","ts-jest":"^29.1.1","ts-loader":"^9.4.2","ts-node":"^10.9.1","tsconfig-paths-webpack-plugin":"^4.1.0","typescript":"^4.9.3","webpack":"^5.76.0","webpack-cli":"^5.0.1","webpack-node-externals":"^3.0.0"}}');
module.exports = JSON.parse('{"name":"@amplication/plugin-observability-opentelemetry","version":"2.0.0","description":"This plugin is created to add integrate opentelemetry to the amplication app","main":"dist/index.js","scripts":{"prepublishOnly":"npm run build","dev":"webpack --watch","build":"webpack","prebuild":"rimraf dist","format:write":"prettier --write \\"**/*.{js,ts}\\"","lint:fix":"eslint \'./src/**/*.{ts, tsx}\' --fix --c .eslintrc","lint":"eslint \'./src/**/*.{ts, tsx}\' --c .eslintrc","test":"jest"},"author":"Ashish Padhy","license":"Apache-2.0","devDependencies":{"@amplication/code-gen-types":"^2.0.8","@amplication/code-gen-utils":"^0.0.5","@babel/parser":"^7.20.7","@babel/types":"^7.20.7","@types/jest":"^29.5.3","@types/lodash":"^4.14.197","@typescript-eslint/eslint-plugin":"^6.2.1","@typescript-eslint/parser":"^6.2.1","copy-webpack-plugin":"^11.0.0","eslint":"^8.46.0","jest-mock-extended":"^3.0.1","lodash":"^4.17.21","prettier":"^2.8.7","rimraf":"^4.4.1","ts-jest":"^29.1.1","ts-loader":"^9.4.2","ts-node":"^10.9.1","tsconfig-paths-webpack-plugin":"^4.1.0","typescript":"^4.9.3","webpack":"^5.76.0","webpack-cli":"^5.0.1","webpack-node-externals":"^3.0.0"}}');

@@ -510,0 +510,0 @@ /***/ })

{
"name": "@amplication/plugin-observability-opentelemetry",
"version": "1.0.0",
"version": "2.0.0",
"description": "This plugin is created to add integrate opentelemetry to the amplication app",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -15,3 +15,3 @@ import { builders } from "ast-types";

dependencies: {
"@amplication/opentelemetry-nestjs": "^4.3.7",
"@amplication/opentelemetry-nestjs": "^4.4.0",
},

@@ -18,0 +18,0 @@ };

@@ -71,3 +71,3 @@ import {

),
importNames([BATCH_SPAN_PROCESSOR], "@opentelemetry/sdk-trace-base"),
importNames([BATCH_SPAN_PROCESSOR], "@opentelemetry/sdk-trace-node"),
];

@@ -74,0 +74,0 @@ };

@@ -51,4 +51,4 @@ import { CreateServerDockerComposeParams, DsgContext } from "@amplication/code-gen-types";

],
volumes: ["./otel-config.yaml:/etc/otel-config.yaml"],
command: ["--config=/etc/otel-config.yaml"],
volumes: ["./otel-config.yml:/etc/otel-config.yml"],
command: ["--config=/etc/otel-config.yml"],
depends_on: ["jaeger"],

@@ -55,0 +55,0 @@ },

@@ -41,4 +41,4 @@ import { CreateServerDockerComposeDBParams, DsgContext } from "@amplication/code-gen-types";

],
volumes: ["./otel-config.yaml:/etc/otel-config.yaml"],
command: ["--config=/etc/otel-config.yaml"],
volumes: ["./otel-config.yml:/etc/otel-config.yml"],
command: ["--config=/etc/otel-config.yml"],
depends_on: ["jaeger"],

@@ -45,0 +45,0 @@ },

@@ -1,2 +0,5 @@

import { CreateServerPackageJsonParams, DsgContext } from "@amplication/code-gen-types";
import {
CreateServerPackageJsonParams,
DsgContext,
} from "@amplication/code-gen-types";
import { beforeCreateServerPackageJson } from "@/events/createPackageJson";

@@ -11,3 +14,5 @@ import { mock } from "jest-mock-extended";

context = mock<DsgContext>({
pluginInstallations: [{ npm: "@amplication/plugin-observability-opentelemetry" }],
pluginInstallations: [
{ npm: "@amplication/plugin-observability-opentelemetry" },
],
});

@@ -18,6 +23,9 @@ eventParams = {

};
});
});
it("should add required dependencies to package.json", () => {
const { updateProperties } = beforeCreateServerPackageJson(context, eventParams);
const { updateProperties } = beforeCreateServerPackageJson(
context,
eventParams
);

@@ -27,7 +35,7 @@ expect(updateProperties).toStrictEqual([

dependencies: {
"@amplication/opentelemetry-nestjs": "^4.3.7",
"@amplication/opentelemetry-nestjs": "^4.4.0",
},
}
},
]);
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc