@axiomhq/pino
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -74,2 +74,4 @@ "use strict"; | ||
var js_1 = require("@axiomhq/js"); | ||
// The browsers don't have process.env, fake it | ||
var process = typeof window === 'undefined' ? global.process : { env: {} }; | ||
var AxiomEventLevel; | ||
@@ -76,0 +78,0 @@ (function (AxiomEventLevel) { |
import build from 'pino-abstract-transport'; | ||
import { Axiom } from '@axiomhq/js'; | ||
// The browsers don't have process.env, fake it | ||
const process = typeof window === 'undefined' ? global.process : { env: {} }; | ||
export var AxiomEventLevel; | ||
@@ -4,0 +6,0 @@ (function (AxiomEventLevel) { |
{ | ||
"name": "@axiomhq/pino", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "The official Axiom transport for Pino", | ||
@@ -30,7 +30,8 @@ "main": "dist/cjs/index.ts", | ||
"require": "./dist/cjs/index.js", | ||
"default": "./dist/cjs/index.js" | ||
"default": "./dist/cjs/index.js", | ||
"types": "./dist/types/index.d.ts" | ||
}, | ||
"dependencies": { | ||
"pino-abstract-transport": "^1.0.0", | ||
"@axiomhq/js": "0.1.1" | ||
"@axiomhq/js": "0.1.2" | ||
}, | ||
@@ -37,0 +38,0 @@ "scripts": { |
import build from 'pino-abstract-transport'; | ||
import { Axiom, ClientOptions } from '@axiomhq/js'; | ||
// The browsers don't have process.env, fake it | ||
const process: { env: Record<string, string | undefined> } = | ||
typeof window === 'undefined' ? global.process : { env: {} }; | ||
export enum AxiomEventLevel { | ||
@@ -5,0 +9,0 @@ Trace = 'trace', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71207
19
348
+ Added@axiomhq/js@0.1.2(transitive)
- Removed@axiomhq/js@0.1.1(transitive)
Updated@axiomhq/js@0.1.2