shelljs-plugin-clear
Advanced tools
Comparing version 0.2.0 to 0.2.1
12
index.js
var plugin = require('shelljs/plugin'); | ||
var util = require('util'); | ||
var clearModule = require('clear'); | ||
// Newer versions of node use a symbol called util.inspect.custom. | ||
var inspectAttribute = util.inspect.custom || 'inspect'; | ||
function clear() { | ||
clearModule(); | ||
return { | ||
inspect: function () { | ||
return ''; | ||
}, | ||
var ret = {}; | ||
ret[inspectAttribute] = function () { | ||
return ''; | ||
}; | ||
return ret; | ||
} | ||
@@ -12,0 +16,0 @@ |
{ | ||
"name": "shelljs-plugin-clear", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A ShellJS plugin for the clear command.", | ||
@@ -30,17 +30,20 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "^3.1.1", | ||
"eslint-config-airbnb-base": "^4.0.2", | ||
"eslint-plugin-import": "^1.11.1", | ||
"mocha": "^2.5.3", | ||
"shelljs": "^0.8.1", | ||
"shelljs-changelog": "^0.2.2", | ||
"shelljs-release": "^0.2.0", | ||
"should": "^10.0.0" | ||
"eslint": "^4.19.1", | ||
"eslint-config-airbnb-base": "^13.1.0", | ||
"eslint-plugin-import": "^2.17.3", | ||
"mocha": "^5.2.0", | ||
"shelljs": "^0.8.5", | ||
"shelljs-changelog": "^0.2.6", | ||
"shelljs-release": "^0.5.2", | ||
"should": "^13.2.3" | ||
}, | ||
"peerDependencies": { | ||
"shelljs": "^0.8.0" | ||
"shelljs": "^0.8.5" | ||
}, | ||
"dependencies": { | ||
"clear": "0.0.1" | ||
}, | ||
"engines": { | ||
"node": ">=4" | ||
} | ||
} |
# shelljs-plugin-clear | ||
[![Travis](https://img.shields.io/travis/nfischer/shelljs-plugin-clear/master.svg?style=flat-square&label=unix)](https://travis-ci.org/nfischer/shelljs-plugin-clear) | ||
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fnfischer%2Fshelljs-plugin-clear%2Fbadge%3Fref%3Dmain&style=flat-square)](https://actions-badge.atrox.dev/nfischer/shelljs-plugin-clear/goto?ref=main) | ||
[![npm](https://img.shields.io/npm/v/shelljs-plugin-clear.svg?style=flat-square)](https://www.npmjs.com/package/shelljs-plugin-clear) | ||
@@ -5,0 +5,0 @@ [![shelljs-plugin](https://img.shields.io/badge/shelljs-plugin-brightgreen.svg?style=flat-square)](https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins) |
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
3897
18