@altano/remark-mdx-toc-with-slugs
Advanced tools
Comparing version 1.0.4 to 2.0.0
@@ -1,2 +0,1 @@ | ||
// src/index.ts | ||
import { generate } from "astring"; | ||
@@ -23,3 +22,3 @@ import { valueToEstree } from "estree-util-value-to-estree"; | ||
} | ||
var remarkMdxTocWithSlugs = function(options = {}) { | ||
const remarkMdxTocWithSlugs = function(options = {}) { | ||
const mdxTocTransformer = remarkMdxToc.call(this, options); | ||
@@ -26,0 +25,0 @@ if (mdxTocTransformer == null) { |
{ | ||
"name": "@altano/remark-mdx-toc-with-slugs", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "A remark plugin to generate a table of contents (including slugs) and convert it into MDX export", | ||
@@ -14,3 +14,3 @@ "type": "module", | ||
}, | ||
"license": "GPL-3.0", | ||
"license": "ISC", | ||
"repository": { | ||
@@ -38,2 +38,3 @@ "type": "git", | ||
"remark-mdx-toc": "^0.3.1", | ||
"unified": "^10.1.2", | ||
"unist-util-visit": "^5.0.0" | ||
@@ -44,10 +45,10 @@ }, | ||
"@types/unist": "^3.0.2", | ||
"@vitest/coverage-v8": "^1.4.0", | ||
"prettier": "^3.2.5", | ||
"tsup": "^8.0.2", | ||
"typescript": "^5.4.2", | ||
"unified": "^10.1.2", | ||
"vite": "^5.1.5", | ||
"vitest": "^1.3.1", | ||
"@altano/remark-plugin-test-util": "0.0.2", | ||
"@altano/tsconfig": "0.0.0" | ||
"vite": "^5.2.4", | ||
"vitest": "^1.4.0", | ||
"@altano/remark-plugin-test-util": "0.0.0", | ||
"@altano/tsconfig": "0.0.0", | ||
"@altano/vitest-plugins": "0.0.2" | ||
}, | ||
@@ -58,14 +59,16 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "tsup src/index.ts --format esm --onSuccess \"pnpm build:types\"", | ||
"build:types": "tsc --emitDeclarationOnly --declaration", | ||
"dev": "tsup src/index.ts --watch --format esm --dts", | ||
"lint": "eslint src/**/*.ts*", | ||
"lint:timing": "TIMING=1 eslint src/**/*.ts*", | ||
"lint:fix": "TIMING=1 eslint src/**/*.ts* --fix", | ||
"build": "tsup --config build-config/tsup.config.node.ts", | ||
"build:types": "tsc --project tsconfig.declarations.json", | ||
"clean": "rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist", | ||
"dev": "pnpm run build --watch", | ||
"format": "prettier --check src", | ||
"format:fix": "prettier --write src", | ||
"clean": "rm -rf .turbo && rm -rf .tsbuildinfo && rm -rf node_modules && rm -rf dist", | ||
"test": "vitest --run", | ||
"test:watch": "vitest" | ||
"lint": "eslint package.json src/**/*.ts*", | ||
"lint:fix": "TIMING=1 pnpm lint --fix", | ||
"lint:timing": "TIMING=1 pnpm lint", | ||
"test:unit": "vitest --run", | ||
"test:unit:watch": "vitest", | ||
"typecheck:src": "tsc --noEmit", | ||
"typecheck:test": "tsc --noEmit --project ./tests/tsconfig.json" | ||
} | ||
} |
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
6437
0
100
8
72
+ Addedunified@^10.1.2