From a4ce8ccff895cc1ec4186af1f0beebb54221e840 Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Thu, 4 Jul 2024 23:03:21 -0400 Subject: [PATCH] build(deps-dev): add @flex-development/unist-util-inspect Signed-off-by: Lexus Drumgold --- README.md | 2 +- package.json | 2 +- src/__tests__/util.integration.spec.ts | 2 +- src/__tests__/util.markdown.spec.ts | 2 +- yarn.lock | 24 ++++++++++++++++++++++-- 5 files changed, 26 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 70a89ef..06148db 100644 --- a/README.md +++ b/README.md @@ -184,10 +184,10 @@ export default FibonacciSequence ```js import { fromDocs } from '@flex-development/docast-util-from-docs' +import { inspect } from '@flex-development/unist-util-inspect' import { directiveFromMarkdown } from 'mdast-util-directive' import { directive } from 'micromark-extension-directive' import { read } from 'to-vfile' -import { inspect } from 'unist-util-inspect' const file = await read('fibonacci-sequence.ts') diff --git a/package.json b/package.json index ff3d1ad..21db2b2 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "@flex-development/mkbuild": "1.0.0-alpha.23", "@flex-development/mlly": "1.0.0-alpha.18", "@flex-development/pathe": "2.0.0", + "@flex-development/unist-util-inspect": "1.0.1", "@flex-development/unist-util-types": "1.4.0", "@html-eslint/eslint-plugin": "0.24.0", "@html-eslint/parser": "0.24.0", @@ -164,7 +165,6 @@ "trash-cli": "5.0.0", "ts-dedent": "2.2.0", "typescript": "5.5.3", - "unist-util-inspect": "8.0.0", "vite": "5.2.2", "vite-tsconfig-paths": "4.3.2", "vitest": "1.4.0", diff --git a/src/__tests__/util.integration.spec.ts b/src/__tests__/util.integration.spec.ts index 5355538..8e3e86b 100644 --- a/src/__tests__/util.integration.spec.ts +++ b/src/__tests__/util.integration.spec.ts @@ -6,10 +6,10 @@ import type { Options } from '#src/interfaces' import type { Point } from '@flex-development/docast' import { constant, type Assign } from '@flex-development/tutils' +import { inspectNoColor } from '@flex-development/unist-util-inspect' import { directiveFromMarkdown } from 'mdast-util-directive' import { directive } from 'micromark-extension-directive' import { readSync as read } from 'to-vfile' -import { inspectNoColor } from 'unist-util-inspect' import type { VFile } from 'vfile' import type { TestContext } from 'vitest' import testSubject from '../util' diff --git a/src/__tests__/util.markdown.spec.ts b/src/__tests__/util.markdown.spec.ts index 6b450ff..3cc680c 100644 --- a/src/__tests__/util.markdown.spec.ts +++ b/src/__tests__/util.markdown.spec.ts @@ -5,9 +5,9 @@ import type { ParseMarkdownOptions } from '#src/interfaces' import { constant } from '@flex-development/tutils' +import { inspectNoColor } from '@flex-development/unist-util-inspect' import type { RootContent } from 'mdast' import { read } from 'to-vfile' -import { inspectNoColor } from 'unist-util-inspect' import type { VFile } from 'vfile' import type { TestContext } from 'vitest' import testSubject from '../util.markdown' diff --git a/yarn.lock b/yarn.lock index e42e527..2031742 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1261,6 +1261,7 @@ __metadata: "@flex-development/mlly": "npm:1.0.0-alpha.18" "@flex-development/pathe": "npm:2.0.0" "@flex-development/tutils": "npm:6.0.0-alpha.25" + "@flex-development/unist-util-inspect": "npm:1.0.1" "@flex-development/unist-util-types": "npm:1.4.0" "@flex-development/unist-util-visit": "npm:1.1.0" "@flex-development/vfile-location": "npm:1.0.1" @@ -1329,7 +1330,6 @@ __metadata: typescript: "npm:5.5.3" typescript-parsec: "npm:0.3.4" unist-builder: "npm:4.0.0" - unist-util-inspect: "npm:8.0.0" vfile: "npm:6.0.1" vite: "npm:5.2.2" vite-tsconfig-paths: "npm:4.3.2" @@ -1716,6 +1716,26 @@ __metadata: languageName: node linkType: hard +"@flex-development/unist-util-inspect@npm:1.0.1": + version: 1.0.1 + resolution: "@flex-development/unist-util-inspect@npm:1.0.1::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Funist-util-inspect%2F1.0.1%2F62e4316a7ec1359ea377db40bd063dc83808b75e" + dependencies: + "@flex-development/unist-util-stringify-position": "npm:1.0.1" + "@types/unist": "npm:3.0.2" + checksum: 10/9d4da80d5be62ead6afff50c07a2587c5bf5f51bb3432b38f74863a6b55d0e4c9e854b4f73f1a98746b2c9409e5cc76f40cfe85ba0c7eb634ba825f39eb536dc + languageName: node + linkType: hard + +"@flex-development/unist-util-stringify-position@npm:1.0.1": + version: 1.0.1 + resolution: "@flex-development/unist-util-stringify-position@npm:1.0.1::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Funist-util-stringify-position%2F1.0.1%2F573c6a592094d914733e4491a7a68de42c196c8f" + dependencies: + "@flex-development/unist-util-types": "npm:1.6.1" + "@types/unist": "npm:3.0.2" + checksum: 10/86410dc2984ecfb60f2db63d114b1929b056acf09e38dc822aea6b6dbcf92ebfd6e52f59d2392e10d9b60579e65fd21c740061943ffbb56e82d896d78c9ed5a1 + languageName: node + linkType: hard + "@flex-development/unist-util-types@npm:1.4.0": version: 1.4.0 resolution: "@flex-development/unist-util-types@npm:1.4.0::__archiveUrl=https%3A%2F%2Fnpm.pkg.github.com%2Fdownload%2F%40flex-development%2Funist-util-types%2F1.4.0%2F7bc3e76774ee0ff16f31bf3ca7caaec923795e07" @@ -10049,7 +10069,7 @@ __metadata: languageName: node linkType: hard -"unist-util-inspect@npm:8.0.0, unist-util-inspect@npm:^8.0.0": +"unist-util-inspect@npm:^8.0.0": version: 8.0.0 resolution: "unist-util-inspect@npm:8.0.0" dependencies: