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
11
Versions
3755
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 0.0.0-canary-202111382413 to 0.0.0-compat-202112071120

6

CHANGELOG.md
# @modern-js/utils
## 0.0.0-canary-202111382413
### Patch Changes
- fda2d7f0: support server runtime
## 1.1.2

@@ -10,0 +4,0 @@

4

dist/js/modern/constants.js

@@ -121,6 +121,2 @@ /**

},
'@modern-js/plugin-server': {
cli: '@modern-js/plugin-server/cli',
server: '@modern-js/plugin-server/server'
},
'@modern-js/plugin-micro-frontend': {

@@ -127,0 +123,0 @@ cli: '@modern-js/plugin-micro-frontend/cli'

2

dist/js/modern/watch.js

@@ -11,3 +11,3 @@ import * as path from 'path';

let ready = false;
const watcher = chokidar.watch(`${watchDir}/**/*.{js,jsx,ts,tsx}`, {
const watcher = chokidar.watch(watchDir, {
ignored

@@ -14,0 +14,0 @@ });

@@ -139,6 +139,2 @@ "use strict";

},
'@modern-js/plugin-server': {
cli: '@modern-js/plugin-server/cli',
server: '@modern-js/plugin-server/server'
},
'@modern-js/plugin-micro-frontend': {

@@ -145,0 +141,0 @@ cli: '@modern-js/plugin-micro-frontend/cli'

@@ -27,3 +27,3 @@ "use strict";

let ready = false;
const watcher = chokidar.watch(`${watchDir}/**/*.{js,jsx,ts,tsx}`, {
const watcher = chokidar.watch(watchDir, {
ignored

@@ -30,0 +30,0 @@ });

@@ -123,6 +123,2 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

},
'@modern-js/plugin-server': {
cli: '@modern-js/plugin-server/cli',
server: '@modern-js/plugin-server/server'
},
'@modern-js/plugin-micro-frontend': {

@@ -129,0 +125,0 @@ cli: '@modern-js/plugin-micro-frontend/cli'

@@ -18,3 +18,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

var ready = false;
var watcher = chokidar.watch("".concat(watchDir, "/**/*.{js,jsx,ts,tsx}"), {
var watcher = chokidar.watch(watchDir, {
ignored: ignored

@@ -21,0 +21,0 @@ });

@@ -7,3 +7,3 @@ export declare type WatchChangeTypeValueT = 'add' | 'unlink' | 'change';

}) => void | Promise<void>;
export declare const watch: (watchDir: string, runTask: RunTaskType, ignored?: string[]) => import("chokidar").FSWatcher;
export declare const watch: (watchDir: string | string[], runTask: RunTaskType, ignored?: string[]) => import("chokidar").FSWatcher;
export {};

@@ -5,3 +5,4 @@ /** @type {import('@modern-js/module-tools').UserConfig} */

disableSourceMap: true,
// path: '../../../../../../work/jupiter-next-demo/node_modules/@modern-js/utils/dist',
},
};

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

],
"version": "0.0.0-canary-202111382413",
"version": "0.0.0-compat-202112071120",
"jsnext:source": "./src/index.ts",

@@ -17,0 +17,0 @@ "types": "./dist/types/index.d.ts",

@@ -94,6 +94,2 @@ /**

'@modern-js/plugin-server-build': { cli: '@modern-js/plugin-server-build' },
'@modern-js/plugin-server': {
cli: '@modern-js/plugin-server/cli',
server: '@modern-js/plugin-server/server',
},
'@modern-js/plugin-micro-frontend': {

@@ -100,0 +96,0 @@ cli: '@modern-js/plugin-micro-frontend/cli',

@@ -23,3 +23,3 @@ import * as path from 'path';

export const watch = (
watchDir: string,
watchDir: string | string[],
runTask: RunTaskType,

@@ -29,3 +29,3 @@ ignored: string[] = [],

let ready = false;
const watcher = chokidar.watch(`${watchDir}/**/*.{js,jsx,ts,tsx}`, {
const watcher = chokidar.watch(watchDir, {
ignored,

@@ -32,0 +32,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