Skip to content

Commit b3b133b

Browse files
Change deps
1 parent a9f7df8 commit b3b133b

File tree

6 files changed

+12
-17
lines changed

6 files changed

+12
-17
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ module.exports = {
1212
'eslint:recommended',
1313
'plugin:node/recommended',
1414

15-
'plugin:ava/recommended',
1615
'standard-jsdoc',
1716
'plugin:json/recommended',
1817

1918
// Funny
20-
'plugin:you-dont-need-lodash-underscore/compatible',
2119
'plugin:unicorn/recommended',
2220

2321
// Global config

lib/tags/base-tags.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import boxen from 'boxen';
12
import chalk from 'chalk';
2-
import fieldset from 'fieldset';
33

44
import { blockTag } from '../tag-helpers/block-tag.js';
55
import inlineTag from '../tag-helpers/inline-tag.js';
@@ -10,7 +10,7 @@ const inline = inlineTag();
1010

1111
const blockWithNewlines = blockTag((value) => value, { marginTop: 1, marginBottom: 1 });
1212

13-
export const title = blockTag((value) => fieldset(chalk.blue.bold(value), {
13+
export const title = blockTag((value) => boxen(chalk.blue.bold(value), {
1414
padding: {
1515
top: 0,
1616
bottom: 0,

lib/tags/details.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fieldset from 'fieldset';
1+
import boxen from 'boxen';
22

33
import { blockTag } from '../tag-helpers/block-tag.js';
44
import inlineTag from '../tag-helpers/inline-tag.js';
@@ -8,7 +8,7 @@ export const details = (tag, context) => {
88
const summary = inlineTag()(summaryTag || null, context);
99

1010
return blockTag(
11-
(value) => `${fieldset(value || '', {
11+
(value) => `${boxen(value || '', {
1212
title: summary && summary.value ? `> ${summary.value.replace(/\n/g, ' ')}` : '> Summary',
1313
dimTitle: false,
1414
titleColor: 'red',

lib/tags/fieldset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fieldset_ from 'fieldset';
1+
import boxen_ from 'boxen';
22

33
import { blockTag } from '../tag-helpers/block-tag.js';
44
import inlineTag from '../tag-helpers/inline-tag.js';
@@ -8,7 +8,7 @@ export const fieldset = (tag, context) => {
88
const summary = inlineTag()(summaryTag || null, context);
99

1010
return blockTag(
11-
(value) => `${fieldset_(value, {
11+
(value) => `${boxen_(value, {
1212
title: summary && summary.value ? summary.value.replace(/\n/g, ' ') : null,
1313
dimTitle: false,
1414
titleColor: 'yellow',

lib/tags/figure.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import fieldset from 'fieldset';
1+
import boxen from 'boxen';
22

33
import { blockTag } from '../tag-helpers/block-tag.js';
44

55
export const figure = (tag, context) => blockTag(
66
(value, tag) => {
7-
const valueInBox = fieldset(value, {
7+
const valueInBox = boxen(value, {
88
padding: {
99
top: 0,
1010
bottom: 0,

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@
2626
"url": "https://github.com/horosgrisa/cli-html.git"
2727
},
2828
"engines": {
29-
"node": ">=14.16",
30-
"npm": ">=7.0.0"
29+
"node": ">=16",
30+
"npm": ">=8"
3131
},
3232
"homepage": "https://github.com/horosgrisa/cli-html",
3333
"dependencies": {
3434
"ansi-align": "^3.0.1",
3535
"ansi-escapes": "^5.0.0",
36+
"boxen": "^7.0.0",
3637
"chalk": "^5.0.0",
3738
"change-case": "^4.1.2",
3839
"cli-highlight": "^2.1.11",
3940
"cli-table3": "^0.6.0",
4041
"color-namer": "^1.4.0",
4142
"compose-function": "^3.0.3",
4243
"concat-stream": "^2.0.0",
43-
"fieldset": "github:horosgrisa/fieldset",
4444
"he": "^1.2.0",
4545
"inline-style-parser": "^0.1.1",
4646
"languages-aliases": "^3.0.0",
@@ -54,20 +54,17 @@
5454
"wrap-ansi": "^8.0.1"
5555
},
5656
"devDependencies": {
57-
"ava": "^4.3.0",
5857
"confusing-browser-globals": "^1.0.11",
5958
"eslint": "^8.5.0",
6059
"eslint-config-airbnb-base": "^15.0.0",
6160
"eslint-config-standard-jsdoc": "^9.3.0",
6261
"eslint-plugin-async-await": "0.0.0",
63-
"eslint-plugin-ava": "^13.0.0",
6462
"eslint-plugin-jsdoc": "^39.3.3",
6563
"eslint-plugin-json": "^3.1.0",
6664
"eslint-plugin-no-loops": "^0.3.0",
6765
"eslint-plugin-node": "^11.1.0",
6866
"eslint-plugin-prefer-object-spread": "^1.2.1",
6967
"eslint-plugin-simple-import-sort": "^7.0.0",
70-
"eslint-plugin-unicorn": "^43.0.0",
71-
"eslint-plugin-you-dont-need-lodash-underscore": "^6.12.0"
68+
"eslint-plugin-unicorn": "^43.0.0"
7269
}
7370
}

0 commit comments

Comments
 (0)