New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@altano/remark-mdx-toc-with-slugs

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altano/remark-mdx-toc-with-slugs - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

3

dist/index.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc