Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/has-ansi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/has-ansi - npm Package Compare versions

Comparing version 3.0.0 to 5.0.0

9

has-ansi/index.d.ts

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

// Type definitions for has-ansi 3.0
// Type definitions for has-ansi 5.0
// Project: https://github.com/chalk/has-ansi#readme

@@ -6,4 +6,7 @@ // Definitions by: BendingBender <https://github.com/BendingBender>

export = hasAnsi;
/**
* Check if a string has ANSI escape codes
*/
declare function hasAnsi(input: string): boolean;
declare function hasAnsi(input: string): boolean;
export default hasAnsi;
{
"name": "@types/has-ansi",
"version": "3.0.0",
"version": "5.0.0",
"description": "TypeScript definitions for has-ansi",

@@ -9,15 +9,17 @@ "license": "MIT",

"name": "BendingBender",
"url": "https://github.com/BendingBender"
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/has-ansi"
},
"scripts": {},
"dependencies": {},
"peerDependencies": {},
"typesPublisherContentHash": "60070398b4f755075244d74cb4f634c635ce72fb93e54ec263a87f9b7e8835aa",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "67546227e2d9edc9223315e9401807a8d87d1132a33b3e6d1592939799c45a37",
"typeScriptVersion": "3.5"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi.
Additional Details
* Last updated: Mon, 14 Aug 2017 18:44:00 GMT
### Additional Details
* Last updated: Mon, 26 Apr 2021 21:31:24 GMT
* Dependencies: none

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

# Credits
These definitions were written by BendingBender <https://github.com/BendingBender>.
These definitions were written by [BendingBender](https://github.com/BendingBender).

Sorry, the diff of this file is not supported yet

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