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

@bevry/ansi

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bevry/ansi - npm Package Compare versions

Comparing version 5.0.0 to 6.0.0

edition-es5/all.js

33

package.json
{
"name": "@bevry/ansi",
"version": "5.0.0",
"version": "6.0.0",
"description": "ANSI colors and styles for Deno, Node.js, JavaScript, and TypeScript",

@@ -33,2 +33,3 @@ "homepage": "https://github.com/bevry/ansi",

"es2022",
"es5",
"faint",

@@ -120,3 +121,3 @@ "fast",

"engines": {
"node": ">=6"
"node": ">=4"
},

@@ -165,2 +166,17 @@ "editions": [

{
"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",
"entry": "index.js",
"tags": [
"compiled",
"javascript",
"es5",
"require"
],
"engines": {
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21",
"browsers": false
}
},
{
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",

@@ -197,6 +213,7 @@ "directory": "edition-es2022-esm",

"type": "module",
"main": "edition-es2022/index.js",
"main": "index.cjs",
"exports": {
"node": {
"import": "./edition-es2022-esm/index.js",
"default": "./index.cjs",
"require": "./edition-es2022/index.js"

@@ -211,2 +228,5 @@ },

"module": "edition-browsers/index.js",
"dependencies": {
"editions": "^6.9.0"
},
"devDependencies": {

@@ -217,3 +237,3 @@ "@bevry/update-contributors": "^1.23.0",

"@typescript-eslint/parser": "^6.10.0",
"assert-helpers": "^10.1.0",
"assert-helpers": "^11.0.0",
"eslint": "^8.53.0",

@@ -235,3 +255,3 @@ "eslint-config-bevry": "^3.29.0",

"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:types",
"our:compile:deno": "make-deno-edition --attempt",

@@ -241,2 +261,3 @@ "our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) )",

"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -Rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json",
"our:compile:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -Rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json",
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )",

@@ -263,3 +284,3 @@ "our:deploy": "printf '%s\n' 'no need for this project'",

"our:verify:prettier": "prettier --write .",
"test": "node ./edition-es2022/test.js"
"test": "node ./test.cjs"
},

@@ -266,0 +287,0 @@ "eslintConfig": {

13

README.md

@@ -55,3 +55,3 @@ <!-- TITLE/ -->

``` typescript
import * as pkg from 'https://unpkg.com/@bevry/ansi@^5.0.0/edition-deno/index.ts'
import * as pkg from 'https://unpkg.com/@bevry/ansi@^6.0.0/edition-deno/index.ts'
```

@@ -63,3 +63,3 @@

<script type="module">
import * as pkg from '//cdn.skypack.dev/@bevry/ansi@^5.0.0'
import * as pkg from '//cdn.skypack.dev/@bevry/ansi@^6.0.0'
</script>

@@ -72,3 +72,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/@bevry/ansi@^5.0.0'
import * as pkg from '//unpkg.com/@bevry/ansi@^6.0.0'
</script>

@@ -81,3 +81,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/@bevry/ansi@5.0.0'
import * as pkg from '//dev.jspm.io/@bevry/ansi@6.0.0'
</script>

@@ -90,6 +90,7 @@ ```

<ul><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>
<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</code> aliases <code>@bevry/ansi/edition-es2022/index.js</code></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> 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 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 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 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-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> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>

@@ -96,0 +97,0 @@ <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>

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