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

storybook

Package Overview
Dependencies
Maintainers
8
Versions
1645
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook - npm Package Compare versions

Comparing version 0.0.0-pr-30197-sha-a3d613d5 to 0.0.0-pr-30202-sha-0063c5e6

8

dist/core-path.js

@@ -1,6 +0,10 @@

import { __require } from './chunk-CQ7KV35C.js';
import ESM_COMPAT_Module from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
var corePath=dirname(__require.resolve("@storybook/core/package.json"));
const __filename = fileURLToPath(import.meta.url);
dirname(__filename);
const require = ESM_COMPAT_Module.createRequire(import.meta.url);
var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var corePath=dirname(__require.resolve("@storybook/core/package.json"));
export { corePath };

@@ -0,3 +1,9 @@

import ESM_COMPAT_Module from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import { deprecate } from '@storybook/core/node-logger';
const __filename = fileURLToPath(import.meta.url);
dirname(__filename);
ESM_COMPAT_Module.createRequire(import.meta.url);
deprecate("Exports from @storybook/cli are removed. Please import from @storybook/core-common instead.");

@@ -1,5 +0,10 @@

import { __require } from './chunk-CQ7KV35C.js';
import ESM_COMPAT_Module from 'node:module';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import { versions } from '@storybook/core/common';
import { spawn } from 'child_process';
var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))__require("@storybook/core/cli/bin");else {let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${versions.storybook}`,...args]];spawn(command[0],command.slice(1),{stdio:"inherit",shell:!0}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1);});}
const __filename = fileURLToPath(import.meta.url);
dirname(__filename);
ESM_COMPAT_Module.createRequire(import.meta.url);
var args=process.argv.slice(2);if(["dev","build"].includes(args[0]))import('@storybook/core/cli/bin').catch(e=>{console.error("Failed to load @storybook/core/cli/bin",e),process.exit(1);});else {let command=["npx","--yes",...args[0]==="init"?[`create-storybook@${versions.storybook}`,...args.slice(1)]:[`@storybook/cli@${versions.storybook}`,...args]];spawn(command[0],command.slice(1),{stdio:"inherit",shell:!0}).on("exit",code=>{code!=null&&process.exit(code),process.exit(1);});}
{
"name": "storybook",
"version": "0.0.0-pr-30197-sha-a3d613d5",
"version": "0.0.0-pr-30202-sha-0063c5e6",
"description": "Storybook's CLI - install, dev, build, upgrade, and more",

@@ -35,9 +35,5 @@ "keywords": [

},
"./bin/index.cjs": {
"node": "./bin/index.cjs",
"require": "./bin/index.cjs"
},
"./bin/index.cjs": "./bin/index.cjs",
"./core-path": {
"types": "./dist/core-path.d.ts",
"node": "./dist/core-path.cjs",
"import": "./dist/core-path.js",

@@ -319,6 +315,6 @@ "require": "./dist/core-path.cjs"

"dependencies": {
"@storybook/core": "0.0.0-pr-30197-sha-a3d613d5"
"@storybook/core": "0.0.0-pr-30202-sha-0063c5e6"
},
"devDependencies": {
"typescript": "^5.3.2"
"typescript": "^5.7.3"
},

@@ -343,5 +339,8 @@ "peerDependencies": {

],
"platform": "node"
"formats": [
"cjs",
"node-esm"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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