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

genesys-cloud-client-logger

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

genesys-cloud-client-logger - npm Package Compare versions

Comparing version 4.2.10-develop.26 to 4.2.10

6

dist/deploy-info.json
{
"name": "genesys-cloud-client-logger",
"version": "develop",
"version": "4.2.10",
"ecosystem": "pc",

@@ -32,4 +32,4 @@ "team": "Genesys Client Media (WebRTC)",

],
"build": "26",
"buildDate": "2024-02-14T03:36:56.981051Z"
"build": "51",
"buildDate": "2024-02-16T15:39:34.321086Z"
}

@@ -156,6 +156,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const statusCode = (err === null || err === void 0 ? void 0 : err.status)
? err.status
: (_a = err === null || err === void 0 ? void 0 : err.response) === null || _a === void 0 ? void 0 : _a.status;
if ([401, 404, '401', '404'].includes(statusCode)) {
this.debug(`received a ${statusCode} from logUploader. stopping logging to server`);
? parseInt(err.status, 10)
: parseInt((_a = err === null || err === void 0 ? void 0 : err.response) === null || _a === void 0 ? void 0 : _a.status, 10);
if ([401, 403, 404].includes(statusCode)) {
this.logger.warn(`received a ${statusCode} from logUploader. stopping logging to server`);
this.logger.stopServerLogging();

@@ -162,0 +162,0 @@ }

{
"name": "genesys-cloud-client-logger",
"version": "develop",
"version": "4.2.10",
"indexFiles": [

@@ -5,0 +5,0 @@ {

@@ -201,6 +201,6 @@ "use strict";

statusCode = (err_1 === null || err_1 === void 0 ? void 0 : err_1.status)
? err_1.status
: (_a = err_1 === null || err_1 === void 0 ? void 0 : err_1.response) === null || _a === void 0 ? void 0 : _a.status;
if ([401, 404, '401', '404'].includes(statusCode)) {
this.debug("received a ".concat(statusCode, " from logUploader. stopping logging to server"));
? parseInt(err_1.status, 10)
: parseInt((_a = err_1 === null || err_1 === void 0 ? void 0 : err_1.response) === null || _a === void 0 ? void 0 : _a.status, 10);
if ([401, 403, 404].includes(statusCode)) {
this.logger.warn("received a ".concat(statusCode, " from logUploader. stopping logging to server"));
this.logger.stopServerLogging();

@@ -207,0 +207,0 @@ }

{
"name": "genesys-cloud-client-logger",
"version": "4.2.10-develop.26",
"description": "Common logger for genesys cloud client application to upload logs server",
"main": "dist/src/index.js",
"module": "dist/es/index.js",
"web": "dist/genesys-cloud-client-logger.min.js",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"clean": "rimraf dist",
"start": "npm run build:dev && npm run test:server",
"build": "ts-node scripts/build.ts",
"build:es": "tsc -p . --outDir ./dist/es --target es2015 --module es2015",
"build:cjs": "tsc -p .",
"build:dev": "npm run clean && tsc -p . && webpack",
"build:cdn": "webpack --env.development && webpack --env.production",
"build:manifest": "ts-node scripts/build-cdn-with-manifest.ts",
"lint": "eslint -c .eslintrc.js --ext .ts src",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest --collectCoverage",
"test:watch": "jest --watch --collectCoverage=false --runInBand",
"test:server": "stupid-server -s"
},
"files": [
"dist"
],
"pre-push": [
"test"
],
"author": "garrett.jensen@genesys.com",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@types/jest": "^29.5.8",
"@types/safe-json-stringify": "^1.1.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^8.1.0",
"eslint": "^7.32.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"flush-promises": "^1.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nock": "^13.0.11",
"pre-push": "^0.1.1",
"rimraf": "^3.0.2",
"stupid-server": "^0.2.5",
"ts-jest": "^29.1.1",
"ts-loader": "^8.4.0",
"ts-node": "^10.4.0",
"typescript": "^4.7.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"@babel/preset-typescript": "^7.17.12",
"@babel/runtime": "^7.9.2",
"axios": "^1.6.5",
"date-fns": "^2.29.3",
"exponential-backoff": "^3.1.0",
"safe-json-stringify": "^1.2.0",
"strict-event-emitter-types": "^2.0.0",
"uuid": "^9.0.1"
}
}
"name": "genesys-cloud-client-logger",
"version": "4.2.10",
"description": "Common logger for genesys cloud client application to upload logs server",
"main": "dist/src/index.js",
"module": "dist/es/index.js",
"web": "dist/genesys-cloud-client-logger.min.js",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"clean": "rimraf dist",
"start": "npm run build:dev && npm run test:server",
"build": "ts-node scripts/build.ts",
"build:es": "tsc -p . --outDir ./dist/es --target es2015 --module es2015",
"build:cjs": "tsc -p .",
"build:dev": "npm run clean && tsc -p . && webpack",
"build:cdn": "webpack --env.development && webpack --env.production",
"build:manifest": "ts-node scripts/build-cdn-with-manifest.ts",
"lint": "eslint -c .eslintrc.js --ext .ts src",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit",
"test:unit": "jest --collectCoverage",
"test:watch": "jest --watch --collectCoverage=false --runInBand",
"test:server": "stupid-server -s"
},
"files": [
"dist"
],
"pre-push": [
"test"
],
"author": "garrett.jensen@genesys.com",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@types/jest": "^29.5.8",
"@types/safe-json-stringify": "^1.1.0",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^8.1.0",
"eslint": "^7.32.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"flush-promises": "^1.0.2",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nock": "^13.0.11",
"pre-push": "^0.1.1",
"rimraf": "^3.0.2",
"stupid-server": "^0.2.5",
"ts-jest": "^29.1.1",
"ts-loader": "^8.4.0",
"ts-node": "^10.4.0",
"typescript": "^4.7.2",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"@babel/preset-typescript": "^7.17.12",
"@babel/runtime": "^7.9.2",
"axios": "^1.6.5",
"date-fns": "^2.29.3",
"exponential-backoff": "^3.1.0",
"safe-json-stringify": "^1.2.0",
"strict-event-emitter-types": "^2.0.0",
"uuid": "^9.0.1"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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