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

@modern-js/utils

Package Overview
Dependencies
Maintainers
12
Versions
3754
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@modern-js/utils - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1

8

CHANGELOG.md
# @modern-js/utils
## 1.8.1
### Patch Changes
- 4f1889d: fix(utils): revert schema of unbundle plugin
fix(utils): 恢复 unbundle 插件相关的 schema 配置
## 1.8.0

@@ -4,0 +12,0 @@

@@ -137,2 +137,31 @@ /**

}[];
'@modern-js/plugin-unbundle': ({
target: string;
schema: {
type: string;
properties?: undefined;
};
} | {
target: string;
schema: {
type: string;
properties: {
ignore: {
type: string[];
items: {
type: string;
};
};
ignoreModuleCache: {
type: string;
};
clearPdnCache: {
type: string;
};
pdnHost: {
type: string;
};
};
};
})[];
'@modern-js/plugin-ssg': {

@@ -139,0 +168,0 @@ target: string;

@@ -92,2 +92,4 @@ "use strict";

},
// TODO: remove unbundle configs after we completely deprecate it.
'@modern-js/plugin-unbundle': { cli: '@modern-js/plugin-unbundle' },
'@modern-js/plugin-server': {

@@ -189,2 +191,24 @@ cli: '@modern-js/plugin-server/cli',

],
// TODO: remove unbundle configs after we completely deprecate it.
'@modern-js/plugin-unbundle': [
{
target: 'output.disableAutoImportStyle',
schema: { type: 'boolean' },
},
{
target: 'dev.unbundle',
schema: {
type: 'object',
properties: {
ignore: {
type: ['string', 'array'],
items: { type: 'string' },
},
ignoreModuleCache: { type: 'boolean' },
clearPdnCache: { type: 'boolean' },
pdnHost: { type: 'string' },
},
},
},
],
'@modern-js/plugin-ssg': [

@@ -191,0 +215,0 @@ {

4

package.json

@@ -14,3 +14,3 @@ {

],
"version": "1.8.0",
"version": "1.8.1",
"jsnext:source": "./src/index.ts",

@@ -102,3 +102,3 @@ "types": "./dist/index.d.ts",

"devDependencies": {
"@modern-js/types": "1.6.0",
"@modern-js/types": "1.6.2",
"@scripts/build": "0.0.0",

@@ -105,0 +105,0 @@ "@scripts/jest-config": "0.0.0",

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