@storybook/core
Advanced tools
Comparing version 0.0.0-pr-28552-sha-be84deb3 to 0.0.0-pr-28571-sha-b97df212
@@ -916,2 +916,3 @@ import * as _storybook_core_types from '@storybook/core/types'; | ||
'@storybook/core-webpack': string; | ||
'create-storybook': string; | ||
'@storybook/csf-plugin': string; | ||
@@ -918,0 +919,0 @@ '@storybook/instrumenter': string; |
@@ -5,2 +5,3 @@ import * as React$1 from 'react'; | ||
import { FunctionInterpolation } from '@storybook/core/theming'; | ||
import { BuiltInParserName } from 'prettier'; | ||
import { Addon_RenderOptions } from '@storybook/core/types'; | ||
@@ -153,32 +154,2 @@ | ||
// Copied from `@types/prettier` | ||
// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/5bb07fc4b087cb7ee91084afa6fe750551a7bbb1/types/prettier/index.d.ts | ||
type BuiltInParserName = | ||
| "acorn" | ||
| "angular" | ||
| "babel-flow" | ||
| "babel-ts" | ||
| "babel" | ||
| "css" | ||
| "espree" | ||
| "flow" | ||
| "glimmer" | ||
| "graphql" | ||
| "html" | ||
| "json-stringify" | ||
| "json" | ||
| "json5" | ||
| "jsonc" | ||
| "less" | ||
| "lwc" | ||
| "markdown" | ||
| "mdx" | ||
| "meriyah" | ||
| "scss" | ||
| "typescript" | ||
| "vue" | ||
| "yaml"; | ||
declare const supportedLanguages: { | ||
@@ -185,0 +156,0 @@ jsextra: any; |
@@ -347,6 +347,3 @@ import { Channel } from '@storybook/core/channels'; | ||
}; | ||
type UnwrappedImportStoryRef = ComposedStoryFn & { | ||
playPromise?: Promise<void>; | ||
renderingEnded?: PromiseWithResolvers<void>; | ||
}; | ||
type UnwrappedImportStoryRef = ComposedStoryFn; | ||
declare global { | ||
@@ -353,0 +350,0 @@ function __pwUnwrapObject(storyRef: WrappedStoryRef): Promise<UnwrappedJSXStoryRef | UnwrappedImportStoryRef>; |
{ | ||
"name": "@storybook/core", | ||
"version": "0.0.0-pr-28552-sha-be84deb3", | ||
"version": "0.0.0-pr-28571-sha-b97df212", | ||
"description": "Storybook framework-agnostic API", | ||
@@ -150,2 +150,12 @@ "keywords": [ | ||
}, | ||
"./cli": { | ||
"types": "./dist/cli/index.d.ts", | ||
"import": "./dist/cli/index.js", | ||
"require": "./dist/cli/index.cjs" | ||
}, | ||
"./cli/bin": { | ||
"types": "./dist/cli/bin/index.d.ts", | ||
"import": "./dist/cli/bin/index.js", | ||
"require": "./dist/cli/bin/index.cjs" | ||
}, | ||
"./package.json": "./package.json" | ||
@@ -235,2 +245,8 @@ }, | ||
"./dist/preview/globals.d.ts" | ||
], | ||
"cli": [ | ||
"./dist/cli/index.d.ts" | ||
], | ||
"cli/bin": [ | ||
"./dist/cli/bin/index.d.ts" | ||
] | ||
@@ -259,3 +275,3 @@ } | ||
"recast": "^0.23.5", | ||
"util": "^0.12.4", | ||
"semver": "^7.6.2", | ||
"ws": "^8.2.3" | ||
@@ -278,3 +294,3 @@ }, | ||
"@fal-works/esbuild-plugin-global-externals": "^2.1.2", | ||
"@ndelangen/fs-extra-unified": "^1.0.3", | ||
"@ndelangen/get-tarball": "^3.0.7", | ||
"@popperjs/core": "^2.6.0", | ||
@@ -284,3 +300,3 @@ "@radix-ui/react-dialog": "^1.0.5", | ||
"@radix-ui/react-slot": "^1.0.2", | ||
"@storybook/docs-mdx": "4.0.0--canary.19.f2a8cc2.0", | ||
"@storybook/docs-mdx": "4.0.0-next.0", | ||
"@storybook/global": "^5.0.0", | ||
@@ -304,6 +320,7 @@ "@storybook/icons": "^1.2.5", | ||
"@types/pretty-hrtime": "^1.0.0", | ||
"@types/prompts": "^2.0.9", | ||
"@types/qs": "^6", | ||
"@types/react-syntax-highlighter": "11.0.5", | ||
"@types/react-transition-group": "^4", | ||
"@types/semver": "^7.3.4", | ||
"@types/semver": "^7.5.8", | ||
"@types/ws": "^8", | ||
@@ -324,2 +341,3 @@ "@vitest/utils": "^1.3.1", | ||
"cli-table3": "^0.6.1", | ||
"commander": "^6.2.1", | ||
"comment-parser": "^1.4.1", | ||
@@ -332,2 +350,3 @@ "compression": "^1.7.4", | ||
"dequal": "^2.0.2", | ||
"detect-indent": "^7.0.1", | ||
"detect-package-manager": "^3.0.2", | ||
@@ -350,2 +369,3 @@ "detect-port": "^1.3.0", | ||
"fuse.js": "^3.6.1", | ||
"get-npm-tarball-url": "^2.0.3", | ||
"glob": "^10.0.0", | ||
@@ -357,2 +377,3 @@ "globby": "^14.0.1", | ||
"lazy-universal-dotenv": "^4.0.0", | ||
"leven": "^4.0.0", | ||
"lodash": "^4.17.21", | ||
@@ -383,5 +404,5 @@ "markdown-to-jsx": "^7.4.5", | ||
"resolve-from": "^5.0.0", | ||
"semver": "^7.3.7", | ||
"slash": "^5.0.0", | ||
"store2": "^2.14.2", | ||
"strip-json-comments": "^5.0.1", | ||
"telejson": "^7.2.0", | ||
@@ -399,2 +420,10 @@ "tiny-invariant": "^1.3.1", | ||
}, | ||
"peerDependencies": { | ||
"prettier": "^2 || ^3" | ||
}, | ||
"peerDependenciesMeta": { | ||
"prettier": { | ||
"optional": true | ||
} | ||
}, | ||
"publishConfig": { | ||
@@ -401,0 +430,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Network access
Supply chain riskThis module accesses the network.
Found 6 instances in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 3 instances 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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent 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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
94
20051946
12
131
561218
11
300
86
+ Addedsemver@^7.6.2
+ Addedprettier@3.3.3(transitive)
+ Addedsemver@7.6.3(transitive)
- Removedutil@^0.12.4
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedis-arguments@1.1.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedutil@0.12.5(transitive)
- Removedwhich-typed-array@1.1.15(transitive)