Skip to content

Commit

Permalink
Merge pull request #263
Browse files Browse the repository at this point in the history
262 type error cannot convert a symbol to a string
  • Loading branch information
about-code authored Jan 27, 2023
2 parents 36003a1 + 9a7197d commit 10b34c5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [6.3.3](https://github.com/about-code/glossarify-md/compare/v6.3.2...v6.3.3) (2023-01-27)


### Bug Fixes

* Type Error: Cannot convert Symbol to string ([#262](https://github.com/about-code/glossarify-md/issues/262)) ([6b4d984](https://github.com/about-code/glossarify-md/commit/6b4d984ec9f47d0543a73dc39773e144670a218e))

### [6.3.2](https://github.com/about-code/glossarify-md/compare/v6.3.1...v6.3.2) (2022-11-05)


Expand Down
2 changes: 1 addition & 1 deletion conf/v5/schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#"
,"$id": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.1/conf/v5/schema.json"
,"$id": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.3/conf/v5/schema.json"
,"type": "object"
,"title": "Configuration Schema"
,"description": "Load the configuration schema from your project's node_modules folder, for example './node_modules/glossarify-md/conf/v5/schema.json', or from a GitHub major release tag when installed globally, for example https://raw.githubusercontent.com/about-code/glossarify-md/v5.0.0/conf/v5/schema.json\nUse glossarify-md --init [--local] to generate a config with one or the other.\nNote that the configuration schema version is independent from the glossarify-md release version. Configuration schema version 5 introduced with glossarify-md v5.0.0 may still be used with glossarify-md v6.0.0 or v7.0.0. if there are no breaking changes in the schema."
Expand Down
2 changes: 1 addition & 1 deletion lib/ast/with/term-occurrence-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { containerPhrasing } from "mdast-util-to-markdown/lib/util/container-phr
import { TermOccurrence } from "../../model/term-occurrence.js";


const SYMBOL = Symbol("term-occurrence");
const SYMBOL = "term-occurrence";

/**
* A node of type "term-occurrence" is being inserted into an AST anywhere
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "glossarify-md",
"version": "6.3.2",
"version": "6.3.3",
"description": "Scans markdown files for glossary terms and replaces each occurrence with a link to a glossary file.",
"author": {
"name": "Andreas Martin"
Expand Down
2 changes: 1 addition & 1 deletion test/output-expected/config-cli/arg-init/minimal.conf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.2/conf/v5/schema.json",
"$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.3/conf/v5/schema.json",
"baseDir": "./docs",
"outDir": "../docs-glossarified"
}
2 changes: 1 addition & 1 deletion test/output-expected/config-cli/arg-init/more.conf.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.2/conf/v5/schema.json",
"$schema": "https://raw.githubusercontent.com/about-code/glossarify-md/v6.3.3/conf/v5/schema.json",
"baseDir": "./docs",
"excludeFiles": [
"node_modules",
Expand Down

0 comments on commit 10b34c5

Please sign in to comment.