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

@reform/bundle

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reform/bundle - npm Package Compare versions

Comparing version 0.11.11 to 0.12.0

17

dist/build/BundleCache.js

@@ -8,3 +8,2 @@ "use strict";

const promises_1 = require("fs/promises");
const watcher_1 = __importDefault(require("watcher"));
const logger_1 = __importDefault(require("../internal/logger"));

@@ -26,7 +25,11 @@ const internal_1 = require("../internal");

if (this.#context.watch) {
const watcherOptions = { ignoreInitial: true, recursive: true };
const watcher = new watcher_1.default(this.base.path, watcherOptions, (event, file) => {
this.#queue.fire(file, event);
});
internal_1.Disposer.add(() => watcher.close());
const enforceWatch = async () => {
const Watcher = (await import("watcher")).default;
const watcherOptions = { ignoreInitial: true, recursive: true };
const watcher = new Watcher(this.base.path, watcherOptions, (event, file) => {
this.#queue.fire(file, event);
});
internal_1.Disposer.add(() => watcher.close());
};
setImmediate(enforceWatch);
}

@@ -84,2 +87,2 @@ internal_1.Disposer.add(() => {

exports.BundleCache = BundleCache;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnVuZGxlQ2FjaGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYnVpbGQvQnVuZGxlQ2FjaGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsMENBQWlDO0FBRWpDLHNEQUE4QjtBQUM5QixnRUFBd0M7QUFDeEMsMENBQTZDO0FBRzdDLG1EQUE4QztBQUM5QyxtREFBbUY7QUFJbkYsTUFBTSxLQUFLLEdBQUcsSUFBSSxHQUFHLEVBQTBCLENBQUM7QUFFaEQsTUFBYSxXQUFXO0lBQ0osSUFBSSxDQUFZO0lBQ3ZCLFFBQVEsQ0FBZTtJQUN2QixNQUFNLENB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sSUFBSSxHQUFhLEVBQUUsQ0FBQztRQUMxQixNQUFNLE1BQU0sR0FBRyxNQUFNLFFBQVEsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUVwQyxnQkFBTSxDQUFDLEtBQUssQ0FBQyxJQUFJLEVBQUUsYUFBYSxFQUFFLEdBQUcsQ0FBQyxDQUFDO1FBQ3ZDLElBQUksQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLElBQUksRUFBRSxFQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLEtBQUssRUFBQyxDQUFDLENBQUM7UUFFdkQsT0FBTyxNQUFXLENBQUM7SUFDdkIsQ0FBQztJQUVNLElBQUksQ0FBQyxJQUFZO1FBQ3BCLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzdCLENBQUM7SUFFTSxLQUFLO1FBQ1IsSUFBSSxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsQ0FBQztRQUNwQixJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssRUFBRSxDQUFDO0lBQ3hCLENBQUM7Q0FDSjtBQTVGRCxrQ0E0RkMifQ==

@@ -12,4 +12,3 @@ import { BuildContext } from "./BuildContext";

private check;
private getIncrementalConfig;
private getBuildConfig;
}

@@ -40,18 +40,14 @@ "use strict";

const { files } = this.#config;
const onRebuild = async (error) => {
if (error) {
logger_1.default.error(error, this, "watch -> %s", error.message);
}
logger_1.default.info(this, "rebuilt");
};
const options = {
...this.getIncrementalConfig(),
watch: { onRebuild },
};
const bundle = await (0, esbuild_1.context)(this.getBuildConfig());
await this.check();
const [buildResult] = await Promise.all([
(0, esbuild_1.build)(options),
await Promise.all([
bundle.watch({}),
files.build(),
]);
(0, internal_1.onClose)(() => buildResult.stop?.());
(0, internal_1.onClose)(() => bundle.dispose());
if (this.config.serve) {
const { serve: { host, port }, build } = this.config;
logger_1.default.info(this, "serve (%o)", { host, port });
await bundle.serve({ host, port, servedir: build.path });
}
return (0, internal_1.defer)(internal_1.onClose);

@@ -69,8 +65,2 @@ }

}
getIncrementalConfig() {
return {
...this.getBuildConfig(),
incremental: true,
};
}
getBuildConfig() {

@@ -101,4 +91,4 @@ const { args } = this.#context;

define["process.env.NODE_ENV"] = define["NODE_ENV"] = JSON.stringify(args.mode);
define["PRODUCTION"] = args.mode !== "development";
define["DEVELOPMENT"] = !define["PRODUCTION"];
define["PRODUCTION"] = JSON.stringify(args.mode !== "development");
define["DEVELOPMENT"] = JSON.stringify(!define["PRODUCTION"]);
return {

@@ -125,2 +115,2 @@ define,

exports.BundleScript = BundleScript;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQnVuZGxlU2NyaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2J1aWxkL0J1bmRsZVNjcmlwdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSwyQkFBZ0M7QUFDaEMsbUNBQWdEO0FBQ2hELHFDQUEwRDtBQUMxRCwwQ0FTcUI7QUFDckIsZ0VBQXdDO0FBSXhDLE1BQWEsWUFBWTtJQUNaLE9BQU8sQ0FBc0I7SUFDN0IsUUFBUSxDQUFlO0lBRWhDLFlBQVksT0FBcUIsRUFBRSxNQUEyQjtRQUMxRCxJQUFJLENBQUMsT0FBTyxHQUFHLE1BQU0sQ0FBQztRQUN0QixJQUFJLENBQUMsUUFBUSxHQUFHLE9BQU8sQ0FBQztJQUM1QixDQUFDO0lBRUQsSUFBVyxFQUFFO1FBQ1QsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLEVBQUUsQ0FBQztJQUM1QixDQUFDO0lBRUQsSUFBVyxJQUFJO1FBQ1gsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQztJQUM5QixDQUFDO0lBRUQsSUFBVyxNQUFNO1FBQ2IsT0FBTyxJQ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QUNILE1BQU07WUFDTixNQUFNO1lBQ04sT0FBTztZQUNQLFNBQVM7WUFDVCxXQUFXO1lBQ1gsVUFBVSxFQUFFLEtBQUssQ0FBQyxLQUFLO1lBQ3ZCLFVBQVUsRUFBRSxLQUFLLENBQUMsS0FBSztZQUN2QixVQUFVLEVBQUUsS0FBSyxDQUFDLEtBQUs7WUFDdkIsVUFBVSxFQUFFLEdBQUc7WUFDZixNQUFNLEVBQUUsSUFBSSxDQUFDLFlBQVk7WUFDekIsTUFBTSxFQUFFLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLElBQUk7WUFDL0IsT0FBTyxFQUFFLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUk7WUFDL0IsUUFBUSxFQUFFLElBQUk7WUFDZCxRQUFRLEVBQUUsSUFBQSx5QkFBYyxFQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsZUFBZSxDQUFDO1lBQ3BELE1BQU0sRUFBRSxJQUFBLHNCQUFXLEVBQUMsR0FBRyxJQUFJLENBQUMsUUFBUSxDQUFDLFVBQVUsRUFBRSxFQUFFLEdBQUcsSUFBQSxrQkFBTyxFQUFDLE1BQU0sQ0FBQyxDQUFDO1lBQ3RFLEdBQUcsT0FBTztTQUNiLENBQUM7SUFDTixDQUFDO0NBQ0o7QUFuSUQsb0NBbUlDIn0=

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

import { TargetEvent } from "watcher/dist/enums";
import { CacheQueueDispose, CacheQueueHandle, CacheQueueOnceHandle } from "./interfaces";

@@ -10,4 +9,4 @@ export declare class CacheQueue {

ensure(key: string): Set<CacheQueueHandle | CacheQueueOnceHandle>;
fire(key: string, event: TargetEvent): void;
fire(key: string, event: any): void;
reset(): void;
}

@@ -39,2 +39,2 @@ "use strict";

exports.CacheQueue = CacheQueue;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2FjaGVRdWV1ZS5qcyIsInNvdXJjZVJvb3QiOiIi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HE_QUEUE_ONCE_QUEUE_HANDLE: unique symbol;
export type CacheQueueHandle = (event: TargetEvent) => unknown;
export type CacheQueueHandle = (event: any) => unknown;
export type CacheQueueOnceHandle = CacheQueueHandle & {

@@ -5,0 +4,0 @@ [CACHE_QUEUE_ONCE_QUEUE_HANDLE]: true;

@@ -5,2 +5,2 @@ "use strict";

exports.CACHE_QUEUE_ONCE_QUEUE_HANDLE = Symbol.for("CACHE_QUEUE_ONCE_QUEUE_HANDLE");
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9idWlsZC9DYWNoZS9pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVhLFFBQUEsNkJBQTZCLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQywrQkFBK0IsQ0FBQyxDQUFDIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJmYWNlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9idWlsZC9DYWNoZS9pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFhLFFBQUEsNkJBQTZCLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQywrQkFBK0IsQ0FBQyxDQUFDIn0=

@@ -5,3 +5,2 @@ export * from "./Resources";

export * from "./BuildContext";
export * from "./BuildServer";
export * from "./BundleCache";

@@ -8,0 +7,0 @@ export * from "./Cache/CacheQueue";

@@ -21,3 +21,2 @@ "use strict";

__exportStar(require("./BuildContext"), exports);
__exportStar(require("./BuildServer"), exports);
__exportStar(require("./BundleCache"), exports);

@@ -27,2 +26,2 @@ __exportStar(require("./Cache/CacheQueue"), exports);

__exportStar(require("./interfaces"), exports);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDhDQUE0QjtBQUM1QiwwQ0FBd0I7QUFDeEIsa0RBQWdDO0FBQ2hDLGlEQUErQjtBQUMvQixnREFBOEI7QUFDOUIsZ0RBQThCO0FBQzlCLHFEQUFtQztBQUNuQyxpREFBK0I7QUFDL0IsK0NBQTZCIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYnVpbGQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDhDQUE0QjtBQUM1QiwwQ0FBd0I7QUFDeEIsa0RBQWdDO0FBQ2hDLGlEQUErQjtBQUMvQixnREFBOEI7QUFDOUIscURBQW1DO0FBQ25DLGlEQUErQjtBQUMvQiwrQ0FBNkIifQ==

@@ -14,5 +14,2 @@ "use strict";

function factory(args, bundleConfigList) {
if (args.serve) {
return new build_1.BuildServer(args, bundleConfigList);
}
return new build_1.Build(args, bundleConfigList);

@@ -56,2 +53,2 @@ }

exports.cli = cli;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcm5hbC9tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLG9DQUF5RTtBQUN6RSxzQ0FBcUM7QUFDckMsaUNBQXNEO0FBQ3RELHlDQU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BQSxpQkFBUyxFQUFDLEtBQUssRUFBRSxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxFQUFFLEdBQUcsRUFBRSxDQUFDLElBQUksS0FBSyxDQUFDLGVBQWUsQ0FBQyxDQUFDLEVBQUUsS0FBSyxFQUFFLFlBQVksQ0FBQyxDQUFDO1FBQ2hHLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztLQUNYO0FBQ0wsQ0FBQztBQTlCRCxrQkE4QkMifQ==
{
"name": "@reform/bundle",
"version": "0.11.11",
"version": "0.12.0",
"main": "dist/index.js",

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

"scripts": {
"clean": "rimraf dist tsconfig.tsbuildinfo",
"schema:update": "typescript-json-schema -o schema.json ${PWD}/tsconfig.schema.json IJSONSchema",

@@ -29,10 +28,10 @@ "test:bundle": "ts-node src/bin/bundle",

"dotenv": "^16.0.3",
"esbuild": "^0.15.16",
"glob": "^8.0.3",
"esbuild": "^0.17.18",
"glob": "^10.2.2",
"path-to-regexp": "^6.2.1",
"watcher": "^1"
"watcher": "^2.2.2"
},
"devDependencies": {
"@types/node": "^18.11.10",
"typescript-json-schema": "^0.55.0"
"@types/node": "^20.0.0",
"typescript-json-schema": "^0.56.0"
},

@@ -47,3 +46,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "90f0780466a979ba1210239ca8701502d077f094"
"gitHead": "bf1420a57cd21757372ef1a5914e2d84272a58b1"
}
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