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

@module-federation/data-prefetch

Package Overview
Dependencies
Maintainers
8
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@module-federation/data-prefetch - npm Package Compare versions

Comparing version 0.0.0-next-20240930091801 to 0.0.0-next-20241002194835

.swcrc

25

CHANGELOG.md
# @module-federation/data-prefetch
## 0.0.0-next-20240930091801
## 0.0.0-next-20241002194835
### Patch Changes
- @module-federation/runtime@0.0.0-next-20241002194835
- @module-federation/sdk@0.0.0-next-20241002194835
## 0.6.8
### Patch Changes
- Updated dependencies [32db0ac]
- Updated dependencies [32db0ac]
- Updated dependencies [6c5f444]
- Updated dependencies [fac6ecf]
- @module-federation/sdk@0.6.8
- @module-federation/runtime@0.6.8
## 0.6.7
### Patch Changes
- 9e32644: Refactored the way prefetch entries are imported for improved dynamic loading handling.

@@ -17,5 +35,4 @@

- Updated dependencies [9e32644]
- Updated dependencies [3082116]
- @module-federation/runtime@0.0.0-next-20240930091801
- @module-federation/sdk@0.0.0-next-20240930091801
- @module-federation/runtime@0.6.7
- @module-federation/sdk@0.6.7

@@ -22,0 +39,0 @@ ## 0.6.6

63

package.json
{
"name": "@module-federation/data-prefetch",
"description": "Module Federation Data Prefetch",
"version": "0.0.0-next-20240930091801",
"version": "0.0.0-next-20241002194835",
"author": "nieyan <nyqykk@foxmail.com>",

@@ -13,30 +13,30 @@ "homepage": "https://github.com/module-federation/core",

".": {
"import": "./dist/esm/index.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.cjs.d.ts"
},
"./react": {
"import": "./dist/esm/react/index.js",
"require": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
"import": "./dist/react.esm.js",
"require": "./dist/react.cjs.js",
"types": "./dist/react.cjs.d.ts"
},
"./cli": {
"import": "./dist/esm/cli/index.js",
"require": "./dist/cli/index.js",
"types": "./dist/cli/index.d.ts"
"import": "./dist/cli.esm.js",
"require": "./dist/cli.cjs.js",
"types": "./dist/cli.cjs.d.ts"
},
"./babel-plugin": {
"import": "./dist/esm/cli/babel.js",
"require": "./dist/cli/babel.js",
"types": "./dist/cli/babel.d.ts"
"import": "./dist/babel.esm.js",
"require": "./dist/babel.cjs.js",
"types": "./dist/babel.cjs.d.ts"
},
"./universal": {
"import": "./dist/esm/universal/index.js",
"require": "./dist/universal/index.js",
"types": "./dist/universal/index.d.ts"
"import": "./dist/universal.esm.js",
"require": "./dist/universal.cjs.js",
"types": "./dist/universal.cjs.d.ts"
},
"./shared": {
"import": "./dist/esm/shared/index.js",
"require": "./dist/shared/index.js",
"types": "./dist/shared/index.d.ts"
"import": "./dist/shared.esm.js",
"require": "./dist/shared.cjs.js",
"types": "./dist/shared/.cjs.d.ts"
}

@@ -47,20 +47,23 @@ },

".": [
"./dist/index.d.ts"
"./dist/index.cjs.d.ts"
],
"react": [
"./dist/react/index.d.ts"
"./dist/react.cjs.d.ts"
],
"cli": [
"./dist/cli/index.d.ts"
"./dist/cli.cjs.d.ts"
],
"universal": [
"./dist/universal/index.d.ts"
"./dist/universal.cjs.d.ts"
],
"shared": [
"./dist/shared/index.d.ts"
"./dist/shared.cjs.d.ts"
],
"babel-plugin": [
"./dist/babel.cjs.d.ts"
]
}
},
"main": "dist/index.js",
"module": "dist/esm/index.js",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"peerDependencies": {

@@ -80,4 +83,4 @@ "react": ">=16.9.0",

"minimist": "^1.2.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.21.3",

@@ -91,4 +94,4 @@ "react-test-renderer": "^18.2.0",

"fs-extra": "9.1.0",
"@module-federation/sdk": "0.0.0-next-20240930091801",
"@module-federation/runtime": "0.0.0-next-20240930091801"
"@module-federation/runtime": "0.0.0-next-20241002194835",
"@module-federation/sdk": "0.0.0-next-20241002194835"
},

@@ -95,0 +98,0 @@ "scripts": {

{
"name": "module-federation/data-prefetch",
"name": "data-prefetch",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/data-prefetch/src",
"projectType": "library",
"tags": ["type:pkg"],
"targets": {
"build": {
"executor": "nx:run-commands",
"executor": "@nx/rollup:rollup",
"outputs": ["{options.outputPath}"],
"options": {
"commands": ["npm run build --prefix packages/data-prefetch"]
"outputPath": "packages/data-prefetch/dist",
"main": "packages/data-prefetch/src/index.ts",
"tsConfig": "packages/data-prefetch/tsconfig.lib.json",
"assets": [],
"project": "packages/data-prefetch/package.json",
"rollupConfig": "packages/data-prefetch/rollup.config.js",
"compiler": "swc",
"format": ["cjs", "esm"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "packages/data-prefetch/jest.config.js",
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": [
"packages/data-prefetch/**/*.ts",
"packages/data-prefetch/package.json"
]
}
},
"pre-release": {
"executor": "nx:run-commands",
"options": {
"commands": ["npm run test --prefix packages/data-prefetch"]
"parallel": false,
"commands": [
{
"command": "nx run data-prefetch:test",
"forwardAllArgs": false
},
{
"command": "nx run data-prefetch:build",
"forwardAllArgs": false
}
]
}
}
},
"tags": ["type:pkg"]
}
}

@@ -50,4 +50,4 @@ import path from 'path';

const runtimePath = path.resolve(__dirname, '../esm/plugin.js');
const sharedPath = path.resolve(__dirname, '../esm/shared/index.js');
const runtimePath = path.resolve(__dirname, './plugin.esm.js');
const sharedPath = path.resolve(__dirname, './shared.esm.js');
if (!this.options.runtimePlugins?.includes(runtimePath)) {

@@ -54,0 +54,0 @@ this.options.runtimePlugins!.push(runtimePath);

@@ -25,4 +25,4 @@ {

},
"include": ["src", "../../global.d.ts", "__tests__/**/*", "tsup.config.ts"],
"include": ["src", "../../global.d.ts", "__tests__/**/*"],
"exclude": ["node_modules/**/*", "../node_modules"]
}

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