nextjs-https-supertest 0.0.1-security → 1.0.14
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.
Potentially problematic release.
This version of nextjs-https-supertest might be problematic. Click here for more details.
- package/CONTRIBUTING.md +30 -0
- package/LICENSE +21 -0
- package/README.md +83 -3
- package/SECURITY.md +68 -0
- package/docs/api.md +1487 -0
- package/docs/asynchronous.md +40 -0
- package/docs/benchmarks.md +55 -0
- package/docs/browser.md +227 -0
- package/docs/bundling.md +40 -0
- package/docs/child-loggers.md +95 -0
- package/docs/ecosystem.md +84 -0
- package/docs/help.md +345 -0
- package/docs/lts.md +64 -0
- package/docs/pretty.md +35 -0
- package/docs/redaction.md +135 -0
- package/docs/transports.md +1238 -0
- package/docs/web.md +269 -0
- package/docsify/sidebar.md +26 -0
- package/favicon-16x16.png +0 -0
- package/favicon-32x32.png +0 -0
- package/favicon.ico +0 -0
- package/file.js +12 -0
- package/index.html +55 -0
- package/lib/caller.js +30 -0
- package/lib/constants.js +28 -0
- package/lib/deprecations.js +8 -0
- package/lib/levels.js +241 -0
- package/lib/meta.js +3 -0
- package/lib/multistream.js +188 -0
- package/lib/proto.js +234 -0
- package/lib/redaction.js +118 -0
- package/lib/symbols.js +74 -0
- package/lib/time.js +11 -0
- package/lib/tools.js +394 -0
- package/lib/transport-stream.js +56 -0
- package/lib/transport.js +167 -0
- package/lib/worker.js +194 -0
- package/lib/writer.js +44 -0
- package/package.json +35 -3
- package/pino-banner.png +0 -0
- package/pino-logo-hire.png +0 -0
- package/pino-tree.png +0 -0
- package/pino.d.ts +889 -0
- package/pino.js +38 -0
- package/pretty-demo.png +0 -0
- package/tsconfig.json +14 -0
package/pino.js
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
'use strict'
|
2
|
+
|
3
|
+
const writer = require('./lib/writer');
|
4
|
+
const { DEFAULT_LEVELS, SORTING_ORDER } = require('./lib/constants')
|
5
|
+
const { pid } = process
|
6
|
+
const defaultOptions = {
|
7
|
+
levelComparison: SORTING_ORDER.ASC,
|
8
|
+
levels: DEFAULT_LEVELS,
|
9
|
+
messageKey: 'msg',
|
10
|
+
errorKey: 'err',
|
11
|
+
nestedKey: null,
|
12
|
+
enabled: true,
|
13
|
+
base: { pid },
|
14
|
+
formatters: Object.assign(Object.create(null), {
|
15
|
+
bindings (bindings) {
|
16
|
+
return bindings
|
17
|
+
}
|
18
|
+
}),
|
19
|
+
hooks: {
|
20
|
+
logMethod: undefined,
|
21
|
+
streamWrite: undefined
|
22
|
+
},
|
23
|
+
name: undefined,
|
24
|
+
redact: null,
|
25
|
+
customLevels: null,
|
26
|
+
useOnlyCustomLevels: false,
|
27
|
+
depthLimit: 5,
|
28
|
+
edgeLimit: 100
|
29
|
+
}
|
30
|
+
|
31
|
+
function pino (...args) {
|
32
|
+
writer(defaultOptions, args);
|
33
|
+
}
|
34
|
+
|
35
|
+
module.exports = pino
|
36
|
+
// Enables default and name export with TypeScript and Babel
|
37
|
+
module.exports.default = pino
|
38
|
+
module.exports.pino = pino
|
package/pretty-demo.png
ADDED
Binary file
|
package/tsconfig.json
ADDED