Comparing version 0.1.1 to 0.1.2
11
index.js
@@ -1,3 +0,8 @@ | ||
export * from './lib/core'; | ||
export * from './lib/logger' | ||
export * from './lib/transports'; | ||
module.exports = require('./lib/core'); | ||
const transports = require('./lib/transports'); | ||
Object.entries(transports).forEach(entry => { | ||
module.exports[entry[0]] = entry[1]; | ||
}); | ||
module.exports.Ariane = module.exports.Logger = require('./lib/logger'); |
const BaseTransport = require('./base'); | ||
module.exports.StreamTransport = class StreamTransport extends BaseTransport { | ||
module.exports = class StreamTransport extends BaseTransport { | ||
constructor(opts = {}, writableStream) { | ||
@@ -24,3 +24,3 @@ super(opts); | ||
this.stream.write(`${level}: ${msg}\n`, this.encoding); | ||
this.stream.write(`${msg}\n`, this.encoding); | ||
@@ -27,0 +27,0 @@ return true; |
{ | ||
"name": "ariane", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Helps you find your way out of the labyrinth", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"license": "ISC", | ||
"repository": "git@github.com:jberube/ariadne.git", | ||
"repository": "git@github.com:jberube/ariane.git", | ||
"devDependencies": { | ||
@@ -19,0 +19,0 @@ "nodemon": "^1.17.5", |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
10638
277
0