Socket
Socket
Sign inDemoInstall

@types/shelljs

Package Overview
Dependencies
Maintainers
1
Versions
43
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.4 to 0.8.5

46

shelljs/index.d.ts

@@ -9,2 +9,3 @@ // Type definitions for ShellJS 0.8

// ExE Boss <https://github.com/ExE-Boss>
// Mirco Sanguineti <https://github.com/msanguineti>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -969,2 +970,47 @@

export interface ShellStringConstructor {
/**
* Wraps a string (or array) value. This has all the string (or array) methods,
* but also exposes extra methods: `.to()`, `.toEnd()`, and all the pipe-able
* methods (ex. `.cat()`, `.grep()`, etc.).
*
* This can be easily converted into a string by calling `.toString()`.
*
* This type also exposes the corresponding command's stdout, stderr, and return status
* code via the `.stdout` (string), `.stderr` (string), and `.code` (number) properties
* respectively.
*
* Construct signature allows for:
*
* var foo = new ShellString('hello world');
*
* as per example in shelljs docs:
* https://github.com/shelljs/shelljs#shellstringstr
*
* @param value The string value to wrap.
* @return A string-like object with special methods.
*/
new(value: string): ShellString;
new(value: string[]): ShellArray;
/**
* Wraps a string (or array) value. This has all the string (or array) methods,
* but also exposes extra methods: `.to()`, `.toEnd()`, and all the pipe-able
* methods (ex. `.cat()`, `.grep()`, etc.).
*
* This can be easily converted into a string by calling `.toString()`.
*
* This type also exposes the corresponding command's stdout, stderr, and return status
* code via the `.stdout` (string), `.stderr` (string), and `.code` (number) properties
* respectively.
*
* @param value The string value to wrap.
* @return A string-like object with special methods.
*/
(value: string): ShellString;
(value: string[]): ShellArray;
}
export const ShellString: ShellStringConstructor;
export interface ChmodFunction {

@@ -971,0 +1017,0 @@ /**

1

shelljs/make.d.ts

@@ -42,2 +42,3 @@ import shelljs = require('./index');

const uniq: typeof shelljs.uniq;
const ShellString: typeof shelljs.ShellString;
}

9

shelljs/package.json
{
"name": "@types/shelljs",
"version": "0.8.4",
"version": "0.8.5",
"description": "TypeScript definitions for ShellJS",

@@ -36,2 +36,7 @@ "license": "MIT",

"githubUsername": "ExE-Boss"
},
{
"name": "Mirco Sanguineti",
"url": "https://github.com/msanguineti",
"githubUsername": "msanguineti"
}

@@ -51,4 +56,4 @@ ],

},
"typesPublisherContentHash": "6c78de6ad50a8081d0265b32115501992f9425cc5b24aa9411b111311d385190",
"typesPublisherContentHash": "92e38e1edf88d2b93d36639a94deaaab5bd156fe9ed3816376d3d63c07ed4baa",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Mon, 01 Apr 2019 20:39:57 GMT
* Last updated: Mon, 15 Apr 2019 17:11:36 GMT
* Dependencies: @types/glob, @types/node

@@ -17,2 +17,2 @@ * Global values: none

# 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>.
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>, Mirco Sanguineti <https://github.com/msanguineti>.
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