Comparing version 0.0.6 to 0.0.7
@@ -1,2 +0,2 @@ | ||
var charm = require('charm')(process); | ||
var charm = require('../')(process); | ||
@@ -3,0 +3,0 @@ charm |
@@ -1,2 +0,2 @@ | ||
var charm = require('charm')(process); | ||
var charm = require('../')(process); | ||
@@ -3,0 +3,0 @@ charm.position(5, 10); |
var http = require('http'); | ||
var charmer = require('charm'); | ||
var charmer = require('../'); | ||
@@ -4,0 +4,0 @@ http.createServer(function (req, res) { |
@@ -1,2 +0,2 @@ | ||
var charm = require('charm')(process); | ||
var charm = require('../')(process); | ||
charm.reset(); | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var charm = require('charm')(process); | ||
var charm = require('../')(process); | ||
@@ -17,1 +17,4 @@ charm.write("Progress: 0 %"); | ||
var loop = setInterval(increment, 50); | ||
charm.on('^C',process.exit); | ||
@@ -1,2 +0,2 @@ | ||
var charm = require('charm')(process); | ||
var charm = require('../')(process); | ||
charm.reset(); | ||
@@ -3,0 +3,0 @@ |
@@ -43,3 +43,6 @@ var tty = require('tty'); | ||
if (input && typeof input.fd === 'number' && tty.isatty(input.fd)) { | ||
tty.setRawMode(true); | ||
if (process.stdin.setRawMode) { | ||
process.stdin.setRawMode(true); | ||
} | ||
else tty.setRawMode(true); | ||
input.resume(); | ||
@@ -46,0 +49,0 @@ } |
{ | ||
"name" : "charm", | ||
"version" : "0.0.6", | ||
"version" : "0.0.7", | ||
"description" : "ansi control sequences for terminal cursor hopping and colors", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15173
363
1