Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-cosmos

Package Overview
Dependencies
Maintainers
0
Versions
509
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cosmos - npm Package Compare versions

Comparing version 6.1.2-canary.8aaf73c.0 to 6.1.2-canary.bdbf4f7.0

20

dist/corePlugins/fixturesJsonPlugin.js

@@ -0,1 +1,2 @@

import { sortBy } from 'lodash-es';
import fs from 'node:fs/promises';

@@ -29,13 +30,14 @@ import path from 'node:path';

const { fixturePaths } = findUserModulePaths(cosmosConfig);
const fixtures = fixturePaths.map(filePath => {
const relPath = importKeyPath(filePath, cosmosConfig.rootDir);
const fixtureId = { path: relPath };
return {
filePath: relPath,
cleanPath: cleanFixturePath(relPath, fixturesDir, fixtureFileSuffix),
rendererUrl: createRendererUrl(rendererUrl, fixtureId, true),
};
});
return {
rendererUrl,
fixtures: fixturePaths.map(filePath => {
const relPath = importKeyPath(filePath, cosmosConfig.rootDir);
const fixtureId = { path: relPath };
return {
filePath: relPath,
cleanPath: cleanFixturePath(relPath, fixturesDir, fixtureFileSuffix),
rendererUrl: createRendererUrl(rendererUrl, fixtureId, true),
};
}),
fixtures: sortBy(fixtures, f => f.cleanPath.join('-')),
};

@@ -42,0 +44,0 @@ }

{
"name": "react-cosmos",
"version": "6.1.2-canary.8aaf73c.0+8aaf73c",
"version": "6.1.2-canary.bdbf4f7.0+bdbf4f7",
"description": "Sandbox for developing and testing UI components in isolation",

@@ -19,5 +19,5 @@ "repository": "https://github.com/react-cosmos/react-cosmos/tree/main/packages/react-cosmos",

"pem": "1.14.8",
"react-cosmos-core": "6.1.2-canary.8aaf73c.0+8aaf73c",
"react-cosmos-renderer": "6.1.2-canary.8aaf73c.0+8aaf73c",
"react-cosmos-ui": "6.1.2-canary.8aaf73c.0+8aaf73c",
"react-cosmos-core": "6.1.2-canary.bdbf4f7.0+bdbf4f7",
"react-cosmos-renderer": "6.1.2-canary.bdbf4f7.0+bdbf4f7",
"react-cosmos-ui": "6.1.2-canary.bdbf4f7.0+bdbf4f7",
"ws": "8.16.0",

@@ -31,3 +31,3 @@ "yargs": "17.7.2"

},
"gitHead": "8aaf73cf0e1cbea9944fef9625a0ff00716b7cb0"
"gitHead": "bdbf4f7655eba4d88e3ce85d3d7e7a7f0e77aa69"
}

@@ -29,7 +29,7 @@ <p align="center">

Our [Code of Conduct](/CODE_OF_CONDUCT.md) applies to all React Cosmos community channels.
Our [Code of Conduct](/.github/CODE_OF_CONDUCT.md) applies to all React Cosmos community channels.
## Contributing
Please see our [CONTRIBUTING.md](/CONTRIBUTING.md).
Please see our [CONTRIBUTING.md](/.github/CONTRIBUTING.md).

@@ -36,0 +36,0 @@ [Become a Sponsor](https://github.com/sponsors/ovidiuch) to support the ongoing development of React Cosmos.

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