🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@types/shelljs

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/shelljs - npm Package Compare versions

Comparing version
0.8.17
to
0.10.0
+35
shelljs/global.d.ts
import shelljs = require("./index");
declare global {
const cat: typeof shelljs.cat;
const cd: typeof shelljs.cd;
const chmod: typeof shelljs.chmod;
const cmd: typeof shelljs.cmd;
const config: typeof shelljs.config;
const cp: typeof shelljs.cp;
const dirs: typeof shelljs.dirs;
const echo: typeof shelljs.echo;
const env: typeof shelljs.env;
const error: typeof shelljs.error;
const exec: typeof shelljs.exec;
const exit: typeof shelljs.exit;
const find: typeof shelljs.find;
const grep: typeof shelljs.grep;
const head: typeof shelljs.head;
const ln: typeof shelljs.ln;
const ls: typeof shelljs.ls;
const mkdir: typeof shelljs.mkdir;
const mv: typeof shelljs.mv;
const popd: typeof shelljs.popd;
const pushd: typeof shelljs.pushd;
const pwd: typeof shelljs.pwd;
const rm: typeof shelljs.rm;
const sed: typeof shelljs.sed;
const set: typeof shelljs.set;
const sort: typeof shelljs.sort;
const tail: typeof shelljs.tail;
const tempdir: typeof shelljs.tempdir;
const touch: typeof shelljs.touch;
const uniq: typeof shelljs.uniq;
const ShellString: typeof shelljs.ShellString;
}
// TODO: proper typing
// https://github.com/shelljs/shelljs/wiki/Using-ShellJS-Plugins#pluginregister-options
export function register(...args: unknown[]): void;
+2
-2
/// <reference types="node"/>
import child = require("child_process");
import glob = require("glob");
import glob = require("fast-glob");

@@ -1243,3 +1243,3 @@ /**

*/
globOptions: glob.GlobOptions;
globOptions: glob.Options;

@@ -1246,0 +1246,0 @@ /**

@@ -1,2 +0,3 @@

import shelljs = require("./index");
import "./global";
declare global {

@@ -10,36 +11,4 @@ interface Target {

all?: Target;
[s: string]: Target;
[s: string]: Target | undefined;
};
const cat: typeof shelljs.cat;
const cd: typeof shelljs.cd;
const chmod: typeof shelljs.chmod;
const cmd: typeof shelljs.cmd;
const config: typeof shelljs.config;
const cp: typeof shelljs.cp;
const dirs: typeof shelljs.dirs;
const echo: typeof shelljs.echo;
const env: typeof shelljs.env;
const error: typeof shelljs.error;
const exec: typeof shelljs.exec;
const exit: typeof shelljs.exit;
const find: typeof shelljs.find;
const grep: typeof shelljs.grep;
const head: typeof shelljs.head;
const ln: typeof shelljs.ln;
const ls: typeof shelljs.ls;
const mkdir: typeof shelljs.mkdir;
const mv: typeof shelljs.mv;
const popd: typeof shelljs.popd;
const pushd: typeof shelljs.pushd;
const pwd: typeof shelljs.pwd;
const rm: typeof shelljs.rm;
const sed: typeof shelljs.sed;
const set: typeof shelljs.set;
const sort: typeof shelljs.sort;
const tail: typeof shelljs.tail;
const tempdir: typeof shelljs.tempdir;
const touch: typeof shelljs.touch;
const uniq: typeof shelljs.uniq;
const ShellString: typeof shelljs.ShellString;
}
{
"name": "@types/shelljs",
"version": "0.8.17",
"version": "0.10.0",
"description": "TypeScript definitions for shelljs",

@@ -46,2 +46,13 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shelljs",

"types": "index.d.ts",
"exports": {
".": "./index.d.ts",
"./global": "./global.d.ts",
"./global.js": "./global.d.ts",
"./make": "./make.d.ts",
"./make.js": "./make.d.ts",
"./package": "./package.json",
"./package.json": "./package.json",
"./plugin": "./plugin.d.ts",
"./plugin.js": "./plugin.d.ts"
},
"repository": {

@@ -54,8 +65,8 @@ "type": "git",

"dependencies": {
"glob": "^11.0.3",
"fast-glob": "^3.3.2",
"@types/node": "*"
},
"peerDependencies": {},
"typesPublisherContentHash": "34722e27ad5ec6fe942a491d2a925512fe565af89d78fb695dcee534cb90173d",
"typeScriptVersion": "5.1"
"typesPublisherContentHash": "fd45e47d97b96232cef9353b89f5b92c6d9947fbf247d943896835eab6b79435",
"typeScriptVersion": "5.2"
}

@@ -11,6 +11,6 @@ # Installation

### Additional Details
* Last updated: Tue, 01 Jul 2025 20:02:28 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [glob](https://npmjs.com/package/glob)
* Last updated: Fri, 12 Dec 2025 07:36:28 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [fast-glob](https://npmjs.com/package/fast-glob)
# Credits
These definitions were written by [Niklas Mollenhauer](https://github.com/nikeee), [Vojtech Jasny](https://github.com/voy), [George Kalpakas](https://github.com/gkalpak), [Paul Huynh](https://github.com/pheromonez), [Alexander Futász](https://github.com/aldafu), [ExE Boss](https://github.com/ExE-Boss), and [Mirco Sanguineti](https://github.com/msanguineti).