Comparing version 1.0.0 to 1.0.1
var tty = require('tty'); | ||
var encode = require('./lib/encode'); | ||
var Stream = require('stream').Stream; | ||
var inherits = require('inherits') | ||
inherits(Charm, Stream) | ||
var exports = module.exports = function () { | ||
@@ -61,3 +64,3 @@ var input = null; | ||
var Charm = exports.Charm = function Charm () { | ||
function Charm () { | ||
this.writable = true; | ||
@@ -67,5 +70,4 @@ this.readable = true; | ||
} | ||
exports.Charm = Charm | ||
Charm.prototype = new Stream; | ||
Charm.prototype.write = function (buf) { | ||
@@ -72,0 +74,0 @@ var self = this; |
{ | ||
"name" : "charm", | ||
"version" : "1.0.0", | ||
"version" : "1.0.1", | ||
"description" : "ansi control sequences for terminal cursor hopping and colors", | ||
@@ -25,2 +25,5 @@ "main" : "index.js", | ||
], | ||
"dependencies": { | ||
"inherits": "^2.0.1" | ||
}, | ||
"author" : { | ||
@@ -27,0 +30,0 @@ "name" : "James Halliday", |
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
18082
1
12
443
+ Addedinherits@^2.0.1
+ Addedinherits@2.0.4(transitive)