@aircall/logger
Advanced tools
Comparing version 2.8.3 to 2.8.4
@@ -6,2 +6,6 @@ # Change Log | ||
## [2.8.4](https://gitlab.com/aircall/shared/front-end-modules/compare/@aircall/logger@2.8.3...@aircall/logger@2.8.4) (2023-01-27) | ||
**Note:** Version bump only for package @aircall/logger | ||
## [2.8.3](https://gitlab.com/aircall/shared/front-end-modules/compare/@aircall/logger@2.8.2...@aircall/logger@2.8.3) (2023-01-13) | ||
@@ -8,0 +12,0 @@ |
@@ -0,0 +0,0 @@ import { Action } from 'redux'; |
export declare const DEBUG_MODE_LIMIT_STORED_ACTIONS = 20; | ||
export declare const SENSITIVE_KEYS: string[]; | ||
export declare const DEFAULT_SENSITIVE_TEXT = "<sensitive>"; |
export * from './actions'; | ||
export * from './middleware'; | ||
export * from './Logger'; |
@@ -1,4 +0,8 @@ | ||
export * from './actions'; | ||
export * from './middleware'; | ||
export * from './Logger'; | ||
//# sourceMappingURL=index.js.map | ||
'use strict' | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./logger.cjs.production.min.js') | ||
} else { | ||
module.exports = require('./logger.cjs.development.js') | ||
} |
@@ -0,0 +0,0 @@ import { StatusType, LogsEvent } from '@datadog/browser-logs'; |
@@ -0,0 +0,0 @@ import { Action, Dispatch } from 'redux'; |
@@ -0,0 +0,0 @@ declare type ObjectRecord = Record<string, any>; |
{ | ||
"name": "@aircall/logger", | ||
"version": "2.8.3", | ||
"version": "2.8.4", | ||
"main": "dist/index.js", | ||
"module": "dist/logger.esm.js", | ||
"types": "dist/index.d.ts", | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -10,5 +12,5 @@ "compile:schema:validation": "rm -rf src/validate-schema.js && ts-node scripts/validations/build-validate-schema.mjs", | ||
"prebuild": "yarn compile:schema:validation", | ||
"start": "tsc -w", | ||
"start": "npx tsdx watch", | ||
"clean": "rm -rf dist", | ||
"build": "tsc" | ||
"build": "npx tsdx build" | ||
}, | ||
@@ -18,3 +20,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "8b834c28bfd294b3c6094b1b3103f033cd57f227", | ||
"gitHead": "f059e6e4b1680327760f83292a1c8735f118bed4", | ||
"dependencies": { | ||
@@ -21,0 +23,0 @@ "@datadog/browser-logs": "4.23.3", |
@@ -20,14 +20,2 @@ import { datadogLogs as sdk, StatusType, HandlerType, LogsEvent } from '@datadog/browser-logs'; | ||
// Corresponds to the required properties for all logs across Aircall services and apps | ||
interface MandatoryFields { | ||
version: string; | ||
env: string; | ||
service: string; | ||
host: string; | ||
timestamp: string; // date-time format | ||
level: StatusType; | ||
message: string; | ||
user?: User; | ||
} | ||
export declare interface User extends Context { | ||
@@ -34,0 +22,0 @@ id?: number; |
@@ -6,10 +6,10 @@ { | ||
"baseUrl": ".", | ||
"rootDir": "./src", | ||
"outDir": "./dist", | ||
"rootDir": "./src", | ||
"paths": { | ||
"@aircall/*": ["../../node_modules/@aircall/*/src"] | ||
}, | ||
} | ||
}, | ||
"include": ["**/*.ts"], | ||
"exclude": ["node_modules", "dist", "**/*.spec.ts"] | ||
"exclude": ["node_modules", "dist", "scripts", "**/*.spec.ts"] | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
788921
6743
30
2
3
1