@amanda-mitchell/remark-tag-bible-references
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -1,2 +0,2 @@ | ||
import build from 'unist-builder'; | ||
import { u as build } from 'unist-builder'; | ||
import { isLink, isText } from './predicates.js'; | ||
@@ -3,0 +3,0 @@ import { createBibliaLink } from './links.js'; |
{ | ||
"name": "@amanda-mitchell/remark-tag-bible-references", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"main": "index.js", | ||
@@ -26,4 +26,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"unist-builder": "^2.0.3", | ||
"unist-util-is": "^4.1.0" | ||
"unist-builder": "^3.0.0", | ||
"unist-util-is": "^5.1.1" | ||
}, | ||
@@ -34,7 +34,7 @@ "devDependencies": { | ||
"dotenv": "^16.0.0", | ||
"jest": "^26.6.3", | ||
"jest": "^27.5.1", | ||
"node-fetch": "^2.6.7", | ||
"remark-parse": "^9.0.0", | ||
"unified": "^9.2.1" | ||
"remark-parse": "^10.0.1", | ||
"unified": "^10.1.1" | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import is from 'unist-util-is'; | ||
import { convert } from 'unist-util-is'; | ||
export const isLink = is.convert(['link', 'linkReference']); | ||
export const isText = is.convert('text'); | ||
export const isLink = convert(['link', 'linkReference']); | ||
export const isText = convert('text'); |
@@ -14,11 +14,9 @@ # @amanda-mitchell/remark-tag-bible-references | ||
```js | ||
const unified = require('unified'); | ||
const markdown = require('remark-parse'); | ||
const stringify = require('rehype-stringify'); | ||
const remark2rehype = require('remark-rehype'); | ||
const fetch = require('node-fetch'); // This can be any library that implements the Fetch interface | ||
const { createBibliaApiClient } = require('@amanda-mitchell/biblia-api'); | ||
const { | ||
tagBibleReferences, | ||
} = require('@amanda-mitchell/remark-tag-bible-references'); | ||
import { unified } from 'unified'; | ||
import markdown from 'remark-parse'; | ||
import stringify from 'rehype-stringify'; | ||
import remark2rehype from 'remark-rehype'; | ||
import fetch from 'node-fetch'; // This can be any library that implements the Fetch interface | ||
import { createBibliaApiClient } from '@amanda-mitchell/biblia-api'; | ||
import { tagBibleReferences } from '@amanda-mitchell/remark-tag-bible-references'; | ||
@@ -25,0 +23,0 @@ const apiKey = |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7849
52
+ Added@types/unist@2.0.11(transitive)
+ Addedunist-builder@3.0.1(transitive)
+ Addedunist-util-is@5.2.1(transitive)
- Removedunist-builder@2.0.3(transitive)
- Removedunist-util-is@4.1.0(transitive)
Updatedunist-builder@^3.0.0
Updatedunist-util-is@^5.1.1