New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 5.0.0 to 5.0.1

5

has-ansi/index.d.ts

@@ -1,6 +0,1 @@

// Type definitions for has-ansi 5.0
// Project: https://github.com/chalk/has-ansi#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**

@@ -7,0 +2,0 @@ * Check if a string has ANSI escape codes

11

has-ansi/package.json
{
"name": "@types/has-ansi",
"version": "5.0.0",
"version": "5.0.1",
"description": "TypeScript definitions for has-ansi",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi",
"license": "MIT",

@@ -9,4 +10,4 @@ "contributors": [

"name": "BendingBender",
"url": "https://github.com/BendingBender",
"githubUsername": "BendingBender"
"githubUsername": "BendingBender",
"url": "https://github.com/BendingBender"
}

@@ -23,4 +24,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "67546227e2d9edc9223315e9401807a8d87d1132a33b3e6d1592939799c45a37",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "7e3259e684d88beec412849618599a73bc1e808217d09f74f7fc206114b2a12a",
"typeScriptVersion": "4.5"
}

@@ -9,9 +9,18 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/has-ansi/index.d.ts)
````ts
/**
* Check if a string has ANSI escape codes
*/
declare function hasAnsi(input: string): boolean;
export default hasAnsi;
````
### Additional Details
* Last updated: Mon, 26 Apr 2021 21:31:24 GMT
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).
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