Comparing version 0.1.6 to 0.2.0
@@ -1,58 +0,25 @@ | ||
{ "name": "ax" | ||
, "version": "0.1.6" | ||
, "description": "A simple logger" | ||
, "keywords": [ "log", "logger" ] | ||
, "licenses": [ | ||
{ "type": "MIT" | ||
, "url": "https://github.com/spire-io/ax/blob/master/ReadMe.md" | ||
} | ||
] | ||
, "homepage": "https://github.com/spire-io/ax" | ||
, "bugs": { "url": "https://github.com/spire-io/ax/issues" } | ||
, "author": { "name": "Dan Yoder" | ||
, "email": "dyoder@spire.io" | ||
{ | ||
"name": "ax", | ||
"version": "0.2.0", | ||
"description": "A simple logging library", | ||
"main": "logger.coffee", | ||
"directories": { | ||
"example": "examples" | ||
}, | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/automatthew/ax.git" | ||
}, | ||
"keywords": [ | ||
"logging", | ||
"logger" | ||
], | ||
"author": "Dan Yoder", | ||
"license": "BSD", | ||
"dependencies": { | ||
"sprintf": "0.1.x" | ||
} | ||
, "maintainers": [ | ||
{ "name": "Dan Yoder" | ||
, "email": "dyoder@spire.io" | ||
} | ||
, { "name": "Jason Campbell" | ||
, "email": "jason@spire.io" | ||
} | ||
] | ||
, "contributors": [ | ||
{ "name": "Dan Yoder" | ||
, "email": "dyoder@spire.io" | ||
} | ||
, { "name": "Jason Campbell" | ||
, "email": "jason@spire.io" | ||
} | ||
, { "name": "Aaveg Mittal" | ||
, "email": "amittal@spire.io" | ||
} | ||
, { "name": "Nikhil Ratan" | ||
, "email": "nratan@spire.io" | ||
} | ||
, { "name": "Matthew King" | ||
, "email": "mking@spire.io" | ||
} | ||
] | ||
, "main" : "./lib/ax.js" | ||
, "repository": { "type": "git" | ||
, "url": "git://github.com/spire-io/ax.git" | ||
} | ||
, "directories": | ||
{ "lib" : "./lib" | ||
, "examples": "./examples" | ||
} | ||
, "dependencies": { | ||
"underscore": "1.3.0" | ||
} | ||
, "devDependencies": { "docco": "0.3.0" | ||
, "vows": "0.6.1" | ||
, "express": "2.5.6" | ||
, "browserify": "1.9.2" | ||
, "uglify-js": "1.2.5" | ||
} | ||
, "engine": "node >= 0.4.10" | ||
} |
@@ -5,36 +5,12 @@ ## Ax: Simple Logging Servce | ||
var Ax = require("ax"); | ||
var logger = new Ax({level: "debug" }); | ||
Ax = require "ax" | ||
logger = new Ax level: "debug" | ||
logger.info "Greetings, Professor Falken" | ||
logger.warn "Warning, Will Robinson!" | ||
logger.error "If I may say so, sir, I noticed earlier the hyperdrive | ||
motivator has been damaged. It's impossible to go to lightspeed." | ||
logger.debug "Instruments register only those things they're designed | ||
to register. Space still contains infinite unknowns." | ||
logger.info("Greetings, Professor Falken."); | ||
logger.warn("Warning, Will Robinson!"); | ||
logger.error("If I may say so, sir, I noticed earlier the hyperdrive" + | ||
" motivator has been damaged. It's impossible to go to lightspeed."); | ||
logger.debug("Instruments register only those things they're designed to" + | ||
" register. Space still contains infinite unknowns."); | ||
You can also pass a `file` option to log to a file instead of `stdout` and `stderr`. | ||
# License | ||
(The MIT License) | ||
Copyright (c) 2011 Border Stylo | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the 'Software'), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
You can also pass a `stream` option to log to a stream instead of `stdout`. |
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
0
0
1997
4
1
1
0
2
15
1
+ Addedsprintf@0.1.x
+ Addedsprintf@0.1.5(transitive)
- Removedunderscore@1.3.0
- Removedunderscore@1.3.0(transitive)