caterpillar
Advanced tools
Comparing version 7.0.0 to 8.0.0-next.1701813187.7097ca02ad8da36e3039c056f68f20bb86259c3f
@@ -1,3 +0,3 @@ | ||
import getLogLevel, { rfcLogLevels, LevelInfo, LevelsMap } from 'https://esm.sh/rfc-log-levels@^3.21.0' | ||
import getCurrentLine, { Offset, Location } from 'https://unpkg.com/get-current-line@^7.0.0/edition-deno/index.ts' | ||
import getLogLevel, { rfcLogLevels, LevelInfo, LevelsMap } from 'https://unpkg.com/rfc-log-levels@^4.0.0/edition-deno/index.ts' | ||
import getCurrentLine, { Offset, Location } from 'https://unpkg.com/get-current-line@^7.1.0/edition-deno/index.ts' | ||
import { Transform } from './transform.ts' | ||
@@ -4,0 +4,0 @@ |
@@ -5,3 +5,3 @@ // Imports | ||
import { inspect } from 'node:util' | ||
import * as ansi from 'https://unpkg.com/@bevry/ansi@^6.5.0/edition-deno/index.ts' | ||
import * as ansi from 'https://unpkg.com/@bevry/ansi@^6.7.0/edition-deno/index.ts' | ||
@@ -8,0 +8,0 @@ /** |
{ | ||
"title": "Caterpillar", | ||
"name": "caterpillar", | ||
"version": "7.0.0", | ||
"version": "8.0.0-next.1701813187.7097ca02ad8da36e3039c056f68f20bb86259c3f", | ||
"description": "Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and debug files. You can even write your own transforms.", | ||
@@ -18,5 +18,6 @@ "homepage": "https://github.com/bevry/caterpillar", | ||
"dom", | ||
"es2016", | ||
"es2019", | ||
"es2015", | ||
"es2017", | ||
"es2022", | ||
"es5", | ||
"log", | ||
@@ -90,3 +91,3 @@ "logger", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=4" | ||
}, | ||
@@ -120,3 +121,3 @@ "editions": [ | ||
{ | ||
"description": "TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"description": "TypeScript compiled against ES2022 for Node.js 21 with Require for modules", | ||
"directory": "edition-es2022", | ||
@@ -136,4 +137,4 @@ "entry": "index.js", | ||
{ | ||
"description": "TypeScript compiled against ES2019 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"directory": "edition-es2019", | ||
"description": "TypeScript compiled against ES2017 for Node.js 12 with Require for modules", | ||
"directory": "edition-es2017", | ||
"entry": "index.js", | ||
@@ -143,3 +144,3 @@ "tags": [ | ||
"javascript", | ||
"es2019", | ||
"es2017", | ||
"require" | ||
@@ -153,4 +154,4 @@ ], | ||
{ | ||
"description": "TypeScript compiled against ES2016 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"directory": "edition-es2016", | ||
"description": "TypeScript compiled against ES2015 for Node.js 6 with Require for modules", | ||
"directory": "edition-es2015", | ||
"entry": "index.js", | ||
@@ -160,3 +161,3 @@ "tags": [ | ||
"javascript", | ||
"es2016", | ||
"es2015", | ||
"require" | ||
@@ -170,4 +171,4 @@ ], | ||
{ | ||
"description": "TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules", | ||
"directory": "edition-es2019-esm", | ||
"description": "TypeScript compiled against ES5 for Node.js 4 with Require for modules", | ||
"directory": "edition-es5", | ||
"entry": "index.js", | ||
@@ -177,3 +178,18 @@ "tags": [ | ||
"javascript", | ||
"es2019", | ||
"es5", | ||
"require" | ||
], | ||
"engines": { | ||
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16", | ||
"browsers": false | ||
} | ||
}, | ||
{ | ||
"description": "TypeScript compiled against ES2017 for Node.js 12 with Import for modules", | ||
"directory": "edition-es2017-esm", | ||
"entry": "index.js", | ||
"tags": [ | ||
"compiled", | ||
"javascript", | ||
"es2017", | ||
"import" | ||
@@ -218,3 +234,3 @@ ], | ||
"types": "./edition-types/index.d.ts", | ||
"import": "./edition-es2019-esm/index.js", | ||
"import": "./edition-es2017-esm/index.js", | ||
"default": "./index.cjs", | ||
@@ -232,36 +248,36 @@ "require": "./edition-es2022/index.js" | ||
"dependencies": { | ||
"@bevry/ansi": "^6.5.0", | ||
"editions": "^6.15.0", | ||
"get-current-line": "^7.0.0", | ||
"rfc-log-levels": "^3.21.0" | ||
"@bevry/ansi": "^6.7.0", | ||
"editions": "^6.19.0", | ||
"get-current-line": "^7.1.0", | ||
"rfc-log-levels": "^4.0.0" | ||
}, | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.10.0", | ||
"@typescript-eslint/eslint-plugin": "^6.12.0", | ||
"@typescript-eslint/parser": "^6.12.0", | ||
"assert-helpers": "^11.6.0", | ||
"eslint": "^8.54.0", | ||
"eslint-config-bevry": "^5.1.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"@types/node": "^20.10.3", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"assert-helpers": "^11.9.0", | ||
"eslint": "^8.55.0", | ||
"eslint-config-bevry": "^5.2.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "^7.3.0", | ||
"make-deno-edition": "^2.0.0", | ||
"kava": "^7.5.0", | ||
"make-deno-edition": "^2.0.1", | ||
"prettier": "^3.1.0", | ||
"projectz": "^3.3.0", | ||
"surge": "^0.23.1", | ||
"typedoc": "^0.25.3", | ||
"typescript": "5.2.2", | ||
"valid-directory": "^4.5.0", | ||
"valid-module": "^2.5.0" | ||
"projectz": "^3.4.0", | ||
"typedoc": "^0.25.4", | ||
"typescript": "5.3.2", | ||
"valid-directory": "^4.6.0", | ||
"valid-module": "^2.6.0" | ||
}, | ||
"scripts": { | ||
"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-es2016 && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:edition-types", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2015 && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:edition-es2022 && npm run our:compile:edition-es5 && npm run our:compile:edition-types", | ||
"our:compile:deno": "make-deno-edition --attempt", | ||
"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-es2016": "tsc --module commonjs --target ES2016 --outDir ./edition-es2016 --project tsconfig.json && ( test ! -d edition-es2016/source || ( mv edition-es2016/source edition-temp && rm -rf edition-es2016 && mv edition-temp edition-es2016 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2016/package.json", | ||
"our:compile:edition-es2019": "tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -rf edition-es2019 && mv edition-temp edition-es2019 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2019/package.json", | ||
"our:compile:edition-es2019-esm": "tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2019-esm/package.json", | ||
"our:compile:edition-es2015": "tsc --module commonjs --target ES2015 --outDir ./edition-es2015 --project tsconfig.json && ( test ! -d edition-es2015/source || ( mv edition-es2015/source edition-temp && rm -rf edition-es2015 && mv edition-temp edition-es2015 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2015/package.json", | ||
"our:compile:edition-es2017": "tsc --module commonjs --target ES2017 --outDir ./edition-es2017 --project tsconfig.json && ( test ! -d edition-es2017/source || ( mv edition-es2017/source edition-temp && rm -rf edition-es2017 && mv edition-temp edition-es2017 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2017/package.json", | ||
"our:compile:edition-es2017-esm": "tsc --module ESNext --target ES2017 --outDir ./edition-es2017-esm --project tsconfig.json && ( test ! -d edition-es2017-esm/source || ( mv edition-es2017-esm/source edition-temp && rm -rf edition-es2017-esm && mv edition-temp edition-es2017-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2017-esm/package.json", | ||
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/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:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )", | ||
@@ -301,3 +317,4 @@ "our:deploy": "printf '%s\n' 'no need for this project'", | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
"trailingComma": "es5", | ||
"endOfLine": "lf" | ||
}, | ||
@@ -307,2 +324,2 @@ "boundation": { | ||
} | ||
} | ||
} |
@@ -253,3 +253,3 @@ <!-- TITLE/ --> | ||
``` typescript | ||
import * as pkg from 'https://unpkg.com/caterpillar@^7.0.0/edition-deno/index.ts' | ||
import * as pkg from 'https://unpkg.com/caterpillar@^8.0.0/edition-deno/index.ts' | ||
``` | ||
@@ -261,3 +261,3 @@ | ||
<script type="module"> | ||
import * as pkg from '//cdn.skypack.dev/caterpillar@^7.0.0' | ||
import * as pkg from '//cdn.skypack.dev/caterpillar@^8.0.0' | ||
</script> | ||
@@ -270,3 +270,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//unpkg.com/caterpillar@^7.0.0' | ||
import * as pkg from '//unpkg.com/caterpillar@^8.0.0' | ||
</script> | ||
@@ -279,3 +279,3 @@ ``` | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/caterpillar@7.0.0' | ||
import * as pkg from '//dev.jspm.io/caterpillar@8.0.0' | ||
</script> | ||
@@ -291,6 +291,7 @@ ``` | ||
<li><code>caterpillar/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>caterpillar/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> 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>caterpillar/edition-es2019/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 <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 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>caterpillar/edition-es2016/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 <a href="https://en.wikipedia.org/wiki/ECMAScript#7th_Edition_-_ECMAScript_2016" title="ECMAScript 2016">ES2016</a> 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>caterpillar/edition-es2019-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 <a href="https://en.wikipedia.org/wiki/ECMAScript#10th_Edition_-_ECMAScript_2019" title="ECMAScript ES2019">ES2019</a> 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> | ||
<li><code>caterpillar/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>caterpillar/edition-es2017/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 <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 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>caterpillar/edition-es2015/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 <a href="https://babeljs.io/docs/en/learn#ecmascript-2015-features" title="ECMAScript 2015">ES2015</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 6 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>caterpillar/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>caterpillar/edition-es2017-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 <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li> | ||
<li><code>caterpillar/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> | ||
@@ -297,0 +298,0 @@ <li><code>caterpillar/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> |
{ | ||
"compilerOptions": { | ||
"allowJs": true, | ||
"downlevelIteration": true, | ||
"esModuleInterop": true, | ||
"isolatedModules": true, | ||
"lib": ["DOM.Iterable", "DOM"], | ||
"maxNodeModuleJsDepth": 5, | ||
"module": "ESNext", | ||
"moduleResolution": "Node", | ||
"strict": true, | ||
"target": "ES2022", | ||
"module": "ESNext", | ||
"downlevelIteration": true, | ||
"lib": ["DOM.Iterable", "DOM"] | ||
"target": "ES2022" | ||
}, | ||
"include": ["source"] | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
234390
17
72
5155
357
1
+ Addedrfc-log-levels@4.3.0(transitive)
- Removedrfc-log-levels@3.21.0(transitive)
Updated@bevry/ansi@^6.7.0
Updatededitions@^6.19.0
Updatedget-current-line@^7.1.0
Updatedrfc-log-levels@^4.0.0