@storybook/docs-mdx
Advanced tools
Comparing version 3.1.0 to 3.1.1--canary.16.129f63c.0
@@ -1,6 +0,7 @@ | ||
import * as t from '@babel/types'; | ||
import { Program } from 'hast-util-to-estree/lib'; | ||
declare const extractImports: (root: t.File) => Record<string, string>; | ||
declare const extractImports: (root: Program) => Record<string, string>; | ||
declare const getHeadings: (root: any) => string[]; | ||
declare const plugin: (store: any) => (root: any) => any; | ||
declare const analyze: (code: string) => { | ||
declare const analyze: (code: string) => Promise<{ | ||
title: any; | ||
@@ -12,4 +13,5 @@ of: any; | ||
imports: any; | ||
}; | ||
headings: any; | ||
}>; | ||
export { analyze, extractImports, plugin }; | ||
export { analyze, extractImports, getHeadings, plugin }; |
{ | ||
"name": "@storybook/docs-mdx", | ||
"version": "3.1.0", | ||
"version": "3.1.1--canary.16.129f63c.0", | ||
"description": "Storybook Docs MDX analyzer", | ||
@@ -11,5 +11,16 @@ "repository": { | ||
"author": "Michael Shilman <michael@lab80.co>", | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js" | ||
} | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"./dist/index.d.ts" | ||
] | ||
} | ||
}, | ||
"files": [ | ||
@@ -26,3 +37,2 @@ "dist/**/*", | ||
"prettier": "prettier", | ||
"prebuild": "rm -rf dist", | ||
"release": "yarn build && auto shipit", | ||
@@ -37,20 +47,17 @@ "start": "concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"", | ||
}, | ||
"dependencies": { | ||
"acorn": "^8.12.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.23.6", | ||
"@babel/parser": "^7.23.6", | ||
"@babel/preset-env": "^7.23.6", | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@babel/traverse": "^7.23.6", | ||
"@babel/types": "^7.23.6", | ||
"@mdx-js/mdx": "^3.0.0", | ||
"@types/babel__traverse": "^7.20.4", | ||
"@types/lodash": "^4.14.202", | ||
"@types/node": "^18.0.0", | ||
"auto": "^11.1.2", | ||
"concurrently": "^8.2.2", | ||
"estree-to-babel": "^9.0.0", | ||
"estree-jsx": "^0.0.1", | ||
"hast-util-select": "^6.0.2", | ||
"hast-util-to-estree": "^3.1.0", | ||
"hast-util-to-string": "^3.0.0", | ||
"husky": ">=6", | ||
"lint-staged": ">=10", | ||
"lodash": "^4.17.21", | ||
"meriyah": "^4.5.0", | ||
"prettier": "^3.1.1", | ||
@@ -57,0 +64,0 @@ "ts-dedent": "^2.2.0", |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
16
7
19956
Yes
597408
1
2
3
2
+ Addedacorn@^8.12.1
+ Addedacorn@8.12.1(transitive)