@bevry/ansi
Advanced tools
Comparing version 6.7.0 to 6.8.0-next.1703645075.778a7499c5472b49f1db2d750c241a27685bd0e4
<!-- LICENSEFILE/ --> | ||
<h1>License</h1> | ||
# License | ||
Unless stated otherwise all works are: | ||
<ul><li>Copyright © 2020+ <a href="https://balupton.com">Benjamin Lupton</a></li> | ||
<li>Copyright © 2013 <a href="https://www.twitch.tv/thlorenz">Thorsten Lorenz</a></li></ul> | ||
and licensed under: | ||
<ul><li><a href="http://spdx.org/licenses/Artistic-2.0.html">Artistic License 2.0</a></li></ul> | ||
- [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html) | ||
<h2>The Artistic License 2.0</h2> | ||
## The Artistic License 2.0 | ||
@@ -16,0 +13,0 @@ <pre> |
{ | ||
"name": "@bevry/ansi", | ||
"version": "6.7.0", | ||
"version": "6.8.0-next.1703645075.778a7499c5472b49f1db2d750c241a27685bd0e4", | ||
"license": "Artistic-2.0", | ||
"description": "ANSI colors and styles for Deno, Node.js, JavaScript, and TypeScript", | ||
"homepage": "https://github.com/bevry/ansi", | ||
"license": "Artistic-2.0", | ||
"funding": "https://bevry.me/fund", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bevry/ansi.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/bevry/ansi/issues" | ||
}, | ||
"keywords": [ | ||
@@ -106,19 +114,35 @@ "256", | ||
}, | ||
"funding": "https://bevry.me/fund", | ||
"author": "2020+ Benjamin Lupton <b@lupton.cc> (https://balupton.com), 2013 Thorsten Lorenz <thlorenz10@gmail.com> (https://www.twitch.tv/thlorenz)", | ||
"author": "", | ||
"maintainers": [ | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" | ||
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Benjamin furthers the humanities and the commons using the monikers balupton and @bevry" | ||
], | ||
"contributors": [ | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)", | ||
"Thorsten Lorenz (https://github.com/thlorenz)", | ||
"Thorsten Lorenz <thlorenz10@gmail.com> (https://github.com/thlorenz)" | ||
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)", | ||
"Thorsten Lorenz <thlorenz10@gmail.com> (https://www.twitch.tv/thlorenz) (https://github.com/thlorenz)" | ||
], | ||
"bugs": { | ||
"url": "https://github.com/bevry/ansi/issues" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/bevry/ansi.git" | ||
}, | ||
"sponsors": [ | ||
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher", | ||
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.", | ||
"Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.", | ||
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)", | ||
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)", | ||
"Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.", | ||
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast" | ||
], | ||
"donors": [ | ||
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)", | ||
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)", | ||
"Chad (https://opencollective.com/chad8)", | ||
"Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)", | ||
"entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)", | ||
"Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)", | ||
"Michael Duane Mooring (https://mdm.cc) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)", | ||
"Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)", | ||
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)", | ||
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)", | ||
"Sentry (https://sentry.io) (https://github.com/getsentry)", | ||
"ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)", | ||
"Skunk Team (https://skunk.team) (https://github.com/skunkteam)", | ||
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)" | ||
], | ||
"engines": { | ||
@@ -154,3 +178,3 @@ "node": ">=4" | ||
{ | ||
"description": "TypeScript compiled against ES2022 for Node.js 21 with Require for modules", | ||
"description": "TypeScript compiled against ES2022 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"directory": "edition-es2022", | ||
@@ -170,3 +194,3 @@ "entry": "index.js", | ||
{ | ||
"description": "TypeScript compiled against ES5 for Node.js 4 with Require for modules", | ||
"description": "TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"directory": "edition-es5", | ||
@@ -186,3 +210,3 @@ "entry": "index.js", | ||
{ | ||
"description": "TypeScript compiled against ES2022 for Node.js 21 with Import for modules", | ||
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules", | ||
"directory": "edition-es2022-esm", | ||
@@ -246,21 +270,20 @@ "entry": "index.js", | ||
"dependencies": { | ||
"editions": "^6.18.0" | ||
"editions": "^6.19.0" | ||
}, | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.10.3", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"assert-helpers": "^11.8.0", | ||
"eslint": "^8.55.0", | ||
"eslint-config-bevry": "^5.2.0", | ||
"@types/node": "^20.10.5", | ||
"@typescript-eslint/eslint-plugin": "^6.16.0", | ||
"@typescript-eslint/parser": "^6.16.0", | ||
"assert-helpers": "^11.10.0", | ||
"eslint": "^8.56.0", | ||
"eslint-config-bevry": "^5.3.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "^7.4.0", | ||
"make-deno-edition": "^2.0.1", | ||
"prettier": "^3.1.0", | ||
"projectz": "^3.4.0", | ||
"eslint-plugin-prettier": "^5.1.2", | ||
"kava": "^7.5.0", | ||
"make-deno-edition": "^2.1.0", | ||
"prettier": "^3.1.1", | ||
"projectz": "^4.0.0", | ||
"typedoc": "^0.25.4", | ||
"typescript": "5.3.2", | ||
"valid-directory": "^4.6.0", | ||
"typescript": "5.3.3", | ||
"valid-directory": "^4.7.0", | ||
"valid-module": "^2.6.0" | ||
@@ -278,7 +301,6 @@ }, | ||
"our:deploy": "printf '%s\n' 'no need for this project'", | ||
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta:contributors": "update-contributors", | ||
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:meta:docs": "npm run our:meta:docs:typedoc", | ||
"our:meta:docs:typedoc": "rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source", | ||
"our:meta:projectz": "projectz compile", | ||
"our:meta:projectz": "projectz", | ||
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push", | ||
@@ -293,4 +315,3 @@ "our:release:check-changelog": "cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)", | ||
"our:test": "npm run our:verify && npm test", | ||
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier", | ||
"our:verify:directory": "valid-directory", | ||
"our:verify": "npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier", | ||
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source", | ||
@@ -312,2 +333,2 @@ "our:verify:module": "valid-module", | ||
} | ||
} | ||
} |
103
README.md
<!-- TITLE/ --> | ||
<h1>@bevry/ansi</h1> | ||
# @bevry/ansi | ||
<!-- /TITLE --> | ||
<!-- BADGES/ --> | ||
@@ -28,3 +27,2 @@ | ||
<!-- DESCRIPTION/ --> | ||
@@ -45,89 +43,68 @@ | ||
<h2>Install</h2> | ||
## Install | ||
<a href="https://npmjs.com" title="npm is a package manager for javascript"><h3>npm</h3></a> | ||
<ul> | ||
<li>Install: <code>npm install --save @bevry/ansi</code></li> | ||
<li>Import: <code>import * as pkg from ('@bevry/ansi')</code></li> | ||
<li>Require: <code>const pkg = require('@bevry/ansi')</code></li> | ||
</ul> | ||
### [npm](https://npmjs.com "npm is a package manager for javascript") | ||
<a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js"><h3>Deno</h3></a> | ||
- Install: `npm install --save @bevry/ansi` | ||
- Import: `import * as pkg from ('@bevry/ansi')` | ||
- Require: `const pkg = require('@bevry/ansi')` | ||
### [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js") | ||
``` typescript | ||
import * as pkg from 'https://unpkg.com/@bevry/ansi@^6.7.0/edition-deno/index.ts' | ||
import * as pkg from 'https://unpkg.com/@bevry/ansi@^6.8.0/edition-deno/index.ts' | ||
``` | ||
### [Skypack](https://www.skypack.dev "Skypack is a JavaScript Delivery Network for modern web apps") | ||
<a href="https://www.skypack.dev" title="Skypack is a JavaScript Delivery Network for modern web apps"><h3>Skypack</h3></a> | ||
``` html | ||
<script type="module"> | ||
import * as pkg from '//cdn.skypack.dev/@bevry/ansi@^6.7.0' | ||
import * as pkg from '//cdn.skypack.dev/@bevry/ansi@^6.8.0' | ||
</script> | ||
``` | ||
### [unpkg](https://unpkg.com "unpkg is a fast, global content delivery network for everything on npm") | ||
<a href="https://unpkg.com" title="unpkg is a fast, global content delivery network for everything on npm"><h3>unpkg</h3></a> | ||
``` html | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/@bevry/ansi@^6.7.0' | ||
import * as pkg from '//unpkg.com/@bevry/ansi@^6.8.0' | ||
</script> | ||
``` | ||
### [jspm](https://jspm.io "Native ES Modules CDN") | ||
<a href="https://jspm.io" title="Native ES Modules CDN"><h3>jspm</h3></a> | ||
``` html | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/@bevry/ansi@6.7.0' | ||
import * as pkg from '//dev.jspm.io/@bevry/ansi@6.8.0' | ||
</script> | ||
``` | ||
### [Editions](https://editions.bevry.me "Editions are the best way to produce and consume packages you care about.") | ||
<h3><a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a></h3> | ||
This package is published with the following editions: | ||
- `@bevry/ansi` aliases `@bevry/ansi/index.cjs` which uses the [Editions Autoloader](https://github.com/bevry/editions "You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment") to automatically select the correct edition for the consumer's environment | ||
- `@bevry/ansi/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules | ||
- `@bevry/ansi/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules | ||
- `@bevry/ansi/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules | ||
- `@bevry/ansi/edition-es5/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against ES5 for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules | ||
- `@bevry/ansi/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules | ||
- `@bevry/ansi/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules | ||
- `@bevry/ansi/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code made to be compatible with [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js") | ||
<p>This package is published with the following editions:</p> | ||
<ul><li><code>@bevry/ansi</code> aliases <code>@bevry/ansi/index.cjs</code> which uses the <a href="https://github.com/bevry/editions" title="You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li> | ||
<li><code>@bevry/ansi/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-es5/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES5 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 4 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-types/index.d.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled Types with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>@bevry/ansi/edition-deno/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code made to be compatible with <a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js">Deno</a></li></ul> | ||
<!-- /INSTALL --> | ||
<!-- HISTORY/ --> | ||
<h2>History</h2> | ||
## History | ||
<a href="https://github.com/bevry/ansi/blob/master/HISTORY.md#files">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a> | ||
[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/ansi/blob/HEAD/HISTORY.md#files) | ||
<!-- /HISTORY --> | ||
<!-- CONTRIBUTE/ --> | ||
<h2>Contribute</h2> | ||
<a href="https://github.com/bevry/ansi/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> | ||
<!-- /CONTRIBUTE --> | ||
<!-- BACKERS/ --> | ||
<h2>Backers</h2> | ||
## Backers | ||
<h3>Maintainers</h3> | ||
### Code | ||
These amazing people are maintaining this project: | ||
[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/ansi/blob/HEAD/CONTRIBUTING.md#files) | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/ansi/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/ansi">view contributions</a></li></ul> | ||
### Finances | ||
<h3>Sponsors</h3> | ||
No sponsors yet! Will you be the first? | ||
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span> | ||
@@ -142,28 +119,14 @@ <span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span> | ||
<h3>Contributors</h3> | ||
These amazing people have contributed code to this project: | ||
<ul><li><a href="https://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/ansi/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/ansi">view contributions</a></li> | ||
<li><a href="https://github.com/thlorenz">Thorsten Lorenz</a> — <a href="https://github.com/bevry/ansi/commits?author=thlorenz" title="View the GitHub contributions of Thorsten Lorenz on repository bevry/ansi">view contributions</a></li> | ||
<li><a href="https://www.twitch.tv/thlorenz">Thorsten Lorenz</a> — <a href="https://github.com/bevry/ansi/commits?author=thlorenz" title="View the GitHub contributions of Thorsten Lorenz on repository bevry/ansi">view contributions</a></li></ul> | ||
<a href="https://github.com/bevry/ansi/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> | ||
<!-- /BACKERS --> | ||
<!-- LICENSE/ --> | ||
<h2>License</h2> | ||
## License | ||
Unless stated otherwise all works are: | ||
<ul><li>Copyright © 2020+ <a href="https://balupton.com">Benjamin Lupton</a></li> | ||
<li>Copyright © 2013 <a href="https://www.twitch.tv/thlorenz">Thorsten Lorenz</a></li></ul> | ||
and licensed under: | ||
<ul><li><a href="http://spdx.org/licenses/Artistic-2.0.html">Artistic License 2.0</a></li></ul> | ||
- [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html) | ||
<!-- /LICENSE --> |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
16
82289
1
130
Updatededitions@^6.19.0