annotate-code
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -0,1 +1,2 @@ | ||
// colors | ||
"use strict"; | ||
@@ -9,3 +10,2 @@ Object.defineProperty(exports, "__esModule", { | ||
}); | ||
// colors | ||
const isTTY = typeof process !== 'undefined' && process.stdout.isTTY; | ||
@@ -12,0 +12,0 @@ const BOLD = isTTY ? '\x1b[1m' : ''; |
@@ -6,3 +6,3 @@ { | ||
"description": "beautifully annotate source code with a message, given an index, like a parser or compiler", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"license": "MIT", | ||
@@ -37,9 +37,9 @@ "repository": { | ||
"build:dist": "npm run build:bundle && npm run build:min", | ||
"cov:watch": "jest --coverage --watchAll", | ||
"cov:watch": "utr --coverage --watch", | ||
"clean": "rimraf dist", | ||
"docs": "dokio -o README.md && dprint fmt README.md", | ||
"test": "npm run test:node && npm run test:web", | ||
"test:node": "if find test -type f -iregex '.*\\.spec\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then jest; else echo no node tests; fi", | ||
"test:web": "if find test -type f -iregex '.*\\.spec\\.web\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then web-test-runner; else echo no web tests; fi", | ||
"cov": "jest --coverage", | ||
"test:node": "if find test -type f -iregex '.*\\.spec\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then utr 'test/*.spec.{js,jsx,ts,tsx}'; else echo no node tests; fi", | ||
"test:web": "if find test -type f -iregex '.*\\.spec\\.web\\.\\(js\\|jsx\\|ts\\|tsx\\)$' | grep -q .; then utr --browser 'test/*.spec.web.{js,jsx,ts,tsx}'; else echo no web tests; fi", | ||
"cov": "utr --coverage", | ||
"build": "npm run build:cjs & npm run build:esm & npm run build:types && echo done.", | ||
@@ -51,3 +51,2 @@ "build:cjs": "swc -C module.type=commonjs ./src -d dist/cjs", | ||
"build:min": "bunzee -m src/index.ts \"dist/$(cat package.json | jq -r '.name').min.js\"", | ||
"start:web:https": "vite-open --https example/web.ts", | ||
"lint": "eslint src && dprint check", | ||
@@ -62,24 +61,20 @@ "lint:fix": "eslint --fix src && dprint fmt", | ||
"@n1kk/intspector": "1.0.2", | ||
"@stagas/jest-node-exports-resolver": "1.1.5-require-basedir-2", | ||
"@swc-node/jest": "1.5.2", | ||
"@swc/cli": "0.1.57", | ||
"@swc/core": "1.2.198", | ||
"@swc/core": "1.2.218", | ||
"@tsconfig/node16": "1.0.3", | ||
"@types/audioworklet": "0.0.29", | ||
"@types/jest": "27.5.2", | ||
"@types/node": "17.0.42", | ||
"@types/node": "17.0.45", | ||
"@types/webmidi": "2.0.6", | ||
"@typescript-eslint/eslint-plugin": "5.27.1", | ||
"@typescript-eslint/parser": "5.27.1", | ||
"@typescript-eslint/eslint-plugin": "5.30.7", | ||
"@typescript-eslint/parser": "5.30.7", | ||
"@web/test-runner": "0.13.30", | ||
"bunzee": "^0.0.1", | ||
"chokidar": "3.5.3", | ||
"dprint": "0.29.1", | ||
"eslint": "8.17.0", | ||
"eslint-config-html-jsx": "1.0.0", | ||
"bunzee": "^1.0.0", | ||
"dokio": "^0.0.1", | ||
"dprint": "0.30.3", | ||
"eslint": "8.20.0", | ||
"eslint-config-html-jsx": "^1.0.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-react": "7.30.0", | ||
"husky": "7.0.4", | ||
"jest": "27.5.1", | ||
"jest-browser-globals": "25.1.0-beta", | ||
"onchange": "7.1.0", | ||
@@ -89,14 +84,29 @@ "pull-configs": "^0.2.0", | ||
"swcno": "0.1.1", | ||
"ts-jest": "27.1.5", | ||
"ts-node": "10.8.1", | ||
"typescript": "4.7.3", | ||
"vite-open": "^2.3.0", | ||
"wtr-plugin-vite": "^0.0.3" | ||
"utr": "^0.1.4", | ||
"vite-open": "^2.4.0" | ||
}, | ||
"trustedDependencies": [ | ||
"@stagas/chalk", | ||
"@stagas/jest-node-exports-resolver", | ||
"annotate-code", | ||
"apply-sourcemaps", | ||
"bunzee", | ||
"decarg", | ||
"deep-mutate-object", | ||
"dokio", | ||
"each-dep", | ||
"event-toolkit", | ||
"everyday-node", | ||
"everyday-types", | ||
"everyday-utils", | ||
"html-jsx", | ||
"pick-omit", | ||
"proxy-toolkit", | ||
"pull-configs", | ||
"puppeteer-pretty-console", | ||
"rollup-plugin-debug", | ||
"run-in-vite", | ||
"to-fluent", | ||
"utr", | ||
"vite-open", | ||
@@ -103,0 +113,0 @@ "wtr-plugin-vite" |
<h1> | ||
annotate-code <a href="https://npmjs.org/package/annotate-code"><img src="https://img.shields.io/badge/npm-v2.0.3-F00.svg?colorA=000"/></a> <a href="src"><img src="https://img.shields.io/badge/loc-120-FFF.svg?colorA=000"/></a> <a href="https://cdn.jsdelivr.net/npm/annotate-code@2.0.3/dist/annotate-code.min.js"><img src="https://img.shields.io/badge/brotli-744b-333.svg?colorA=000"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000"/></a> | ||
annotate-code <a href="https://npmjs.org/package/annotate-code"><img src="https://img.shields.io/badge/npm-v2.0.4-F00.svg?colorA=000"/></a> <a href="src"><img src="https://img.shields.io/badge/loc-120-FFF.svg?colorA=000"/></a> <a href="https://cdn.jsdelivr.net/npm/annotate-code@2.0.4/dist/annotate-code.min.js"><img src="https://img.shields.io/badge/brotli-744b-333.svg?colorA=000"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000"/></a> | ||
</h1> | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
56723
26
0