New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

andlog

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

andlog - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

12

andlog.js
// follow @HenrikJoreteg and @andyet if you like this ;)
(function (window) {
var ls = window.localStorage,
out = {},
inNode = typeof process !== 'undefined';
(function () {
var inNode = typeof window === 'undefined',
ls = !inNode && window.localStorage,
out = {};

@@ -18,3 +18,3 @@ if (inNode) {

fn = function () {};
while (l--) {

@@ -29,2 +29,2 @@ out[methods[l]] = fn;

}
})(this);
})();

@@ -1,5 +0,5 @@

var logger = require("./&log");
var logger = require("./andlog");
logger.log("hellow");
logger.log("hello");
console.log(logger);
console.log(logger);
{
"name": "andlog",
"version": "0.0.3",
"version": "0.0.4",
"author": "Henrik Joreteg <henrik@andyet.net>",
"description": "Super-simple, client-side CommonJS logging thingy",
"contributors": [
{
"name": "Philip Roberts",
"email": "phil@latentflip.com"
}
],
"main": "andlog.js",

@@ -11,2 +17,2 @@ "repository": {

}
}
}

@@ -45,6 +45,6 @@ # &log

If you're using this on the client but your project is in node.js you can install this with: https://github.com/henrikjoreteg/clientmodules and npm.
If you're using this on the client but your project is in node.js you can install this with: [browserify](https://github.com/substack/node-browserify/) and npm.
```javascript
var logger = require('&log');
var logger = require('andlog');

@@ -63,3 +63,3 @@ logger.log('hello');

```javascript
var console = require('&log');
var console = require('andlog');

@@ -73,2 +73,2 @@ console.log('hello');

If you like this, follow [@HenrikJoreteg](http://twitter.com/henrikjoreteg) on the twitterwebz.
If you like this, follow [@HenrikJoreteg](http://twitter.com/henrikjoreteg) on the twitterwebz.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc