@mimik/sumologic-winston-logger 1.6.13 → 1.6.15

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.
Files changed (2) hide show
  1. package/lib/common.js +4 -4
  2. package/package.json +16 -16
package/lib/common.js CHANGED
@@ -5,12 +5,12 @@ const DEFAULT_LEVEL = 'debug';
5
5
  const DEFAULT_ENV = ENV_LOCAL;
6
6
  const DEFAULT_FILTER_FILE = null;
7
7
 
8
+ const ALL = 'all'; // legacy support
9
+ const NONE = 'none';
8
10
  const AWS_S3 = 'awsS3';
9
11
  const SUMOLOGIC = 'sumologic';
10
12
  const AWS_KINESIS = 'awsKinesis';
11
- const DEFAULT_MODE = [SUMOLOGIC];
12
- const ALL = 'all'; // legacy support
13
- const NONE = 'none';
13
+ const DEFAULT_MODE = [NONE];
14
14
  const ALL_MODES = [AWS_S3, SUMOLOGIC, AWS_KINESIS, ALL, NONE];
15
15
 
16
16
  const S3_AWS_API_VERSION = '2006-03-01';
@@ -23,7 +23,7 @@ const DEFAULT_KINESIS_MAX_EVENTS = 1000; // max number of events before sending
23
23
  const DEFAULT_KINESIS_TIMEOUT = 1000; // max time before sending events to Kinesis, in ms
24
24
 
25
25
  const DEFAULT_EXIT_DELAY = 2000; // delay for flushing the transports and exiting, in ms
26
- const DEFAULT_NO_STACK = 'no';
26
+ const DEFAULT_NO_STACK = 'yes';
27
27
 
28
28
  const SPLAT = Symbol.for('splat');
29
29
  const LEVEL = Symbol.for('level');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mimik/sumologic-winston-logger",
3
- "version": "1.6.13",
3
+ "version": "1.6.15",
4
4
  "description": "Log wrapper for sumo, s3, kinesis and winston",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,33 +33,33 @@
33
33
  "url": "https://bitbucket.org/mimiktech/sumologic-winston-logger"
34
34
  },
35
35
  "dependencies": {
36
- "@mimik/lib-filters": "^1.4.5",
37
- "aws-sdk": "2.1266.0",
38
- "axios": "1.2.1",
36
+ "@mimik/lib-filters": "^1.4.6",
37
+ "aws-sdk": "2.1343.0",
38
+ "axios": "1.3.4",
39
39
  "bluebird": "3.7.2",
40
40
  "lodash": "4.17.21",
41
41
  "winston": "3.8.2",
42
42
  "winston-transport": "4.5.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@mimik/eslint-plugin-dependencies": "^2.4.4",
46
- "@mimik/eslint-plugin-document-env": "^1.0.4",
47
- "@mimik/request-helper": "^1.7.7",
48
- "body-parser": "1.20.1",
45
+ "@mimik/eslint-plugin-dependencies": "^2.4.5",
46
+ "@mimik/eslint-plugin-document-env": "^1.0.5",
47
+ "@mimik/request-helper": "^1.7.8",
48
+ "body-parser": "1.20.2",
49
49
  "chai": "4.3.7",
50
- "eslint": "8.28.0",
50
+ "eslint": "8.36.0",
51
51
  "eslint-config-airbnb": "19.0.4",
52
- "eslint-plugin-import": "2.26.0",
53
- "eslint-plugin-jsx-a11y": "6.6.1",
54
- "eslint-plugin-react": "7.31.11",
52
+ "eslint-plugin-import": "2.27.5",
53
+ "eslint-plugin-jsx-a11y": "6.7.1",
54
+ "eslint-plugin-react": "7.32.2",
55
55
  "eslint-plugin-react-hooks": "4.6.0",
56
56
  "express": "4.18.2",
57
- "husky": "8.0.2",
57
+ "husky": "8.0.3",
58
58
  "jsdoc-to-markdown": "8.0.0",
59
- "mocha": "10.1.0",
59
+ "mocha": "10.2.0",
60
60
  "mochawesome": "7.1.3",
61
61
  "nyc": "15.1.0",
62
- "sinon": "15.0.0",
63
- "supertest": "6.3.1"
62
+ "sinon": "15.0.3",
63
+ "supertest": "6.3.3"
64
64
  }
65
65
  }