From 2a18bb553361f1028c83957a0e63156715712dda Mon Sep 17 00:00:00 2001 From: "David H. Mason" Date: Sun, 5 Nov 2023 11:42:04 -0500 Subject: [PATCH] Improve scaffold (#49) * add select for view, documentation view * more appearance improvements * repair scaffolding * 'update utils to version 1.31.2' * 'update core to version 1.31.2' * 'update web-server-express to version 1.31.2' * 'update cli to version 1.31.2' * 'update context to version 1.31.2' * 'update web-http to version 1.31.2' * 'update parse-md to version 1.31.2' * 'update web-playwright to version 1.31.2' * 'update feature-importer to version 1.31.2' * 'update domain-webpage to version 1.31.2' * 'update storage-mem to version 1.31.2' * 'update out-review to version 1.31.2' * 'update domain-storage to version 1.31.2' * 'update storage-fs to version 1.31.2' * 'update out-xunit to version 1.31.2' * 'update browser-extension to version 1.31.2' * 'update logger-websockets to version 1.31.2' * 'update feature-recorder to version 1.31.2' * use currentVersion * 'update utils to version 1.31.3' * 'update core to version 1.31.3' * 'update web-server-express to version 1.31.3' * 'update cli to version 1.31.3' * 'update context to version 1.31.3' * 'update web-http to version 1.31.3' * 'update parse-md to version 1.31.3' * 'update web-playwright to version 1.31.3' * 'update feature-importer to version 1.31.3' * 'update domain-webpage to version 1.31.3' * 'update storage-mem to version 1.31.3' * 'update out-review to version 1.31.3' * 'update domain-storage to version 1.31.3' * 'update storage-fs to version 1.31.3' * 'update out-xunit to version 1.31.3' * 'update browser-extension to version 1.31.3' * 'update logger-websockets to version 1.31.3' * 'update feature-recorder to version 1.31.3' * update version * use currentVersion for scaffold --- modules/browser-extension/package.json | 20 ++-- modules/cli/package.json | 6 +- modules/context/package.json | 6 +- modules/core/package.json | 2 +- modules/core/src/currentVersion.ts | 2 +- modules/core/src/lib/defs.ts | 4 +- modules/core/src/lib/util/index.ts | 1 - modules/domain-storage/package.json | 6 +- modules/domain-webpage/package.json | 4 +- modules/feature-importer/package.json | 8 +- modules/feature-recorder/package.json | 20 ++-- modules/logger-websockets/package.json | 6 +- modules/out-review/package.json | 10 +- modules/out-xunit/package.json | 4 +- modules/parse-md/package.json | 4 +- modules/storage-fs/package.json | 6 +- modules/storage-mem/package.json | 6 +- modules/utils/package.json | 8 +- modules/utils/ref.package.json | 4 +- modules/utils/src/scaffold/scaffold.ts | 62 +++++++++-- modules/web-http/package.json | 4 +- modules/web-playwright/package.json | 8 +- modules/web-server-express/package.json | 8 +- package-lock.json | 134 ++++++++++++------------ 24 files changed, 195 insertions(+), 148 deletions(-) diff --git a/modules/browser-extension/package.json b/modules/browser-extension/package.json index acb914c1..440b08e3 100644 --- a/modules/browser-extension/package.json +++ b/modules/browser-extension/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/browser-extension", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "dist/js/index.js", "files": [ @@ -23,14 +23,14 @@ "author": "", "license": "ISC", "devDependencies": { - "@haibun/cli": "1.31.1", - "@haibun/context": "1.31.1", - "@haibun/domain-storage": "1.31.1", - "@haibun/domain-webpage": "1.31.1", - "@haibun/feature-importer": "1.31.1", - "@haibun/storage-fs": "1.31.1", - "@haibun/web-playwright": "1.31.1", - "@haibun/web-server-express": "1.31.1", + "@haibun/cli": "1.31.3", + "@haibun/context": "1.31.3", + "@haibun/domain-storage": "1.31.3", + "@haibun/domain-webpage": "1.31.3", + "@haibun/feature-importer": "1.31.3", + "@haibun/storage-fs": "1.31.3", + "@haibun/web-playwright": "1.31.3", + "@haibun/web-server-express": "1.31.3", "@types/chrome": "^0.0.237", "@types/jest": "^29.5.2", "@types/urijs": "^1.19.19", @@ -41,7 +41,7 @@ "webpack-cli": "^4.9.1" }, "dependencies": { - "@haibun/core": "1.31.1", + "@haibun/core": "1.31.3", "@medv/finder": "^2.1.0", "ws": "8.9.0" }, diff --git a/modules/cli/package.json b/modules/cli/package.json index 668f9035..3e2d1520 100644 --- a/modules/cli/package.json +++ b/modules/cli/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/cli", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "command line execution for @haibun", "bin": { "haibun-cli": "build/cli.js" @@ -23,8 +23,8 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3", "source-map-support": "^0.5.21" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/context/package.json b/modules/context/package.json index bddb9079..46ad66f8 100644 --- a/modules/context/package.json +++ b/modules/context/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/context", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "author": "", "main": "build/Context.js", @@ -22,8 +22,8 @@ "xversion": "npm run format && git add -A src" }, "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/web-server-express": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/web-server-express": "1.31.3", "ws": "^8.9.0" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/core/package.json b/modules/core/package.json index a521435e..12a083f0 100644 --- a/modules/core/package.json +++ b/modules/core/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/core", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "author": "", "xexports": { diff --git a/modules/core/src/currentVersion.ts b/modules/core/src/currentVersion.ts index f0508c36..2ffc77a2 100644 --- a/modules/core/src/currentVersion.ts +++ b/modules/core/src/currentVersion.ts @@ -1 +1 @@ -export const version = '1.31.0'; \ No newline at end of file +export const currentVersion = '1.31.3'; diff --git a/modules/core/src/lib/defs.ts b/modules/core/src/lib/defs.ts index 6f9be3da..d25fb1a7 100644 --- a/modules/core/src/lib/defs.ts +++ b/modules/core/src/lib/defs.ts @@ -1,4 +1,4 @@ -import { version } from '../currentVersion.js'; +import { currentVersion } from '../currentVersion.js'; import { Resolver } from '../phases/Resolver.js'; import { DomainContext, WorkspaceContext, WorldContext } from './contexts.js'; import { ILogger, TMessageContext } from './interfaces/logger.js'; @@ -326,5 +326,5 @@ export const STAY_FAILURE = 'failure'; export const STAY = 'STAY'; export function versionedSchema(schema: string) { - return `https://raw.githubusercontent.com/withhaibun/schemas/main/schemas/${schema}.json#${version}`; + return `https://raw.githubusercontent.com/withhaibun/schemas/main/schemas/${schema}.json#${currentVersion}`; } \ No newline at end of file diff --git a/modules/core/src/lib/util/index.ts b/modules/core/src/lib/util/index.ts index 99888ce8..4108f09e 100644 --- a/modules/core/src/lib/util/index.ts +++ b/modules/core/src/lib/util/index.ts @@ -24,7 +24,6 @@ import { TAnyFixme, } from '../defs.js'; import { Timer } from '../Timer.js'; -import { version } from '../../currentVersion.js'; type TClass = { new (...args: unknown[]): T }; export type TFileSystem = Partial; diff --git a/modules/domain-storage/package.json b/modules/domain-storage/package.json index 110ca97d..51729fe8 100644 --- a/modules/domain-storage/package.json +++ b/modules/domain-storage/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/domain-storage", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "author": "", "main": "index.js", @@ -24,8 +24,8 @@ "xversion": "npm run format && git add -A src" }, "dependencies": { - "@haibun/context": "1.31.1", - "@haibun/core": "1.31.1" + "@haibun/context": "1.31.3", + "@haibun/core": "1.31.3" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" } \ No newline at end of file diff --git a/modules/domain-webpage/package.json b/modules/domain-webpage/package.json index f22509e7..29398017 100644 --- a/modules/domain-webpage/package.json +++ b/modules/domain-webpage/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/domain-webpage", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "author": "", "main": "build/domain-webpage.js", @@ -22,7 +22,7 @@ "xversion": "npm run format && git add -A src" }, "dependencies": { - "@haibun/core": "1.31.1" + "@haibun/core": "1.31.3" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" } \ No newline at end of file diff --git a/modules/feature-importer/package.json b/modules/feature-importer/package.json index a0b8f801..f0a53367 100644 --- a/modules/feature-importer/package.json +++ b/modules/feature-importer/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/feature-importer", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "command line execution for @haibun", "main": "build/index.js", "files": [ @@ -19,11 +19,11 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/context": "1.31.1", - "@haibun/core": "1.31.1" + "@haibun/context": "1.31.3", + "@haibun/core": "1.31.3" }, "devDependencies": { - "@haibun/domain-webpage": "1.31.1" + "@haibun/domain-webpage": "1.31.3" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" } \ No newline at end of file diff --git a/modules/feature-recorder/package.json b/modules/feature-recorder/package.json index e009887d..b4719a09 100644 --- a/modules/feature-recorder/package.json +++ b/modules/feature-recorder/package.json @@ -1,6 +1,6 @@ { "name": "@haibun/feature-recorder", - "version": "1.31.1", + "version": "1.31.3", "type": "module", "files": [ "build/**" @@ -23,15 +23,15 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/browser-extension": "1.31.1", - "@haibun/context": "1.31.1", - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1", - "@haibun/domain-webpage": "1.31.1", - "@haibun/feature-importer": "1.31.1", - "@haibun/storage-fs": "1.31.1", - "@haibun/web-playwright": "1.31.1", - "@haibun/web-server-express": "1.31.1", + "@haibun/browser-extension": "1.31.3", + "@haibun/context": "1.31.3", + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3", + "@haibun/domain-webpage": "1.31.3", + "@haibun/feature-importer": "1.31.3", + "@haibun/storage-fs": "1.31.3", + "@haibun/web-playwright": "1.31.3", + "@haibun/web-server-express": "1.31.3", "source-map-support": "^0.5.21" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/logger-websockets/package.json b/modules/logger-websockets/package.json index 9332a0fd..da385ce6 100644 --- a/modules/logger-websockets/package.json +++ b/modules/logger-websockets/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/logger-websockets", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "author": "", "main": "build/logger-websockets-server.js", @@ -24,8 +24,8 @@ "xversion": "npm run format && git add -A src" }, "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/web-server-express": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/web-server-express": "1.31.3", "ws": "^7.5.1" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/out-review/package.json b/modules/out-review/package.json index e7546d17..88b74db0 100644 --- a/modules/out-review/package.json +++ b/modules/out-review/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/out-review", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "files": [ "build/**", @@ -25,10 +25,10 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1", - "@haibun/storage-fs": "1.31.1", - "@haibun/storage-mem": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3", + "@haibun/storage-fs": "1.31.3", + "@haibun/storage-mem": "1.31.3", "xmlbuilder2": "^3.0.2" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/out-xunit/package.json b/modules/out-xunit/package.json index e5a08ed6..42f73330 100644 --- a/modules/out-xunit/package.json +++ b/modules/out-xunit/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/out-xunit", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "files": [ "build/**" @@ -19,7 +19,7 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", + "@haibun/core": "1.31.3", "xmlbuilder2": "^3.0.2" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/parse-md/package.json b/modules/parse-md/package.json index 40b231e4..d259a98e 100644 --- a/modules/parse-md/package.json +++ b/modules/parse-md/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/parse-md", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "files": [ "build/**" @@ -19,7 +19,7 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", + "@haibun/core": "1.31.3", "turndown": "^7.1.1" }, "devDependencies": { diff --git a/modules/storage-fs/package.json b/modules/storage-fs/package.json index 25af53fd..e84b1205 100644 --- a/modules/storage-fs/package.json +++ b/modules/storage-fs/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/storage-fs", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "index.js", "files": [ @@ -20,8 +20,8 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1" + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" } \ No newline at end of file diff --git a/modules/storage-mem/package.json b/modules/storage-mem/package.json index 5c341887..f02c113f 100644 --- a/modules/storage-mem/package.json +++ b/modules/storage-mem/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/storage-mem", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "index.js", "files": [ @@ -20,8 +20,8 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3", "memfs": "^3.4.13" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/utils/package.json b/modules/utils/package.json index a702c3f0..28b6040a 100644 --- a/modules/utils/package.json +++ b/modules/utils/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/utils", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "index.js", "files": [ @@ -22,5 +22,9 @@ }, "author": "", "license": "ISC", - "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" + "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5", + "dependencies": { + "@haibun/cli": "1.31.3", + "@haibun/core": "1.31.3" + } } \ No newline at end of file diff --git a/modules/utils/ref.package.json b/modules/utils/ref.package.json index cafc042a..90238d4c 100644 --- a/modules/utils/ref.package.json +++ b/modules/utils/ref.package.json @@ -14,10 +14,8 @@ "node-notifier": "^10.0.1", "nodemon": "^1.3.3", "prettier": "^2.8.1", + "ts-node": "^10.9.1", "ts-jest": "^29.0.3", "typescript": "^4.9.4" - }, - "dependencies": { - "ts-node": "^10.9.1" } } diff --git a/modules/utils/src/scaffold/scaffold.ts b/modules/utils/src/scaffold/scaffold.ts index 904d0cb7..46f8171a 100755 --- a/modules/utils/src/scaffold/scaffold.ts +++ b/modules/utils/src/scaffold/scaffold.ts @@ -6,7 +6,8 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'fs'; import path from 'path'; import { dirname } from 'path'; import { fileURLToPath } from 'url'; -import validate from 'validate-npm-package-name'; + +import { currentVersion } from '@haibun/core/build/currentVersion.js'; type Tkv = { [name: string]: string } @@ -16,15 +17,16 @@ export async function scaffoldHaibun(dest: string, opts?: { out?: typeof console const { noPrompt, out: outIn } = opts || {}; const out = outIn || console.info; - const refHaibunPackage = JSON.parse(readFileSync(path.join(refDir, 'ref.package.json'), 'utf-8')); + const refPackage = JSON.parse(readFileSync(path.join(refDir, 'ref.package.json'), 'utf-8')); const what: { dirs: string[], [name: string]: Tkv | string[] } = { dependencies: { - '@haibun/core': `${refHaibunPackage.version}` + '@haibun/core': currentVersion, + '@haibun/cli': currentVersion, }, devDependencies: ["@types/jest", "@types/node", "@typescript-eslint/eslint-plugin", "@typescript-eslint/parser", "eslint", "eslint-config-airbnb-typescript" , "eslint-config-prettier", "eslint-plugin-import", "eslint-plugin-prefer-arrow", "eslint-plugin-prettier", "jest" , "prettier", "typescript"] - .reduce((a, i) => ({ ...a, [i]: refHaibunPackage.devDependencies[i] }), {} as Tkv), + .reduce((a, i) => ({ ...a, [i]: refPackage.devDependencies[i] }), {} as Tkv), scripts: { test: 'NODE_OPTIONS=--experimental-vm-modules jest', "test-watch": 'NODE_OPTIONS=--experimental-vm-modules jest', @@ -45,8 +47,8 @@ export async function scaffoldHaibun(dest: string, opts?: { out?: typeof console pName = localDest.name.replace(/.*\//, '').replace(/[@]/, '_', 'g').replace(/-./g, (x: string) => x[1].toUpperCase()); } catch (e) { if (!noPrompt) { - const name = await readPackageName(); - localDest = { name }; + pName = await readPackageName(); + localDest = { name: pName }; } } @@ -54,8 +56,9 @@ export async function scaffoldHaibun(dest: string, opts?: { out?: typeof console if (localDest?.type && localDest.type !== 'module') { error.push('package.json type must be "module"'); } - if (!validate(localDest?.name).validForNewPackages) { - error.push(`${localDest?.name} is not a valid npm package name`); + const validateError = validate(localDest?.name); + if (validateError) { + error.push(`${localDest?.name} is not a valid npm package name: ${validateError}`); } if (error.length > 0) { throw Error(error.join('\n')); @@ -92,12 +95,13 @@ export async function scaffoldHaibun(dest: string, opts?: { out?: typeof console } } + const cName = pName.replace(/-./g, (x) => x[1].toUpperCase()); for (const f of ['stepper.ts', 'stepper.test.ts']) { - writeIfMissing(`src/${f}`, `src/${pName}-${f}`, 'WTW', pName); + writeIfMissing(`src/${f}`, `src/${cName}-${f}`, 'WTW', cName); } for (const f of ['ts', 'test.ts']) { - writeIfMissing(`src/lib/${f}`, `src/lib/${pName}.${f}`, 'WTW', pName); + writeIfMissing(`src/lib/${f}`, `src/lib/${cName}.${f}`, 'WTW', cName); } function writeIfMissing(from: string, to?: string, replace?: string, instead?: string) { @@ -130,3 +134,41 @@ export async function scaffoldHaibun(dest: string, opts?: { out?: typeof console } } +function validate(name: string) { + if (name === undefined || name.length < 1 || name.length > 214) { + return "Package name must be between one and 214 characters long."; + } + + if (name.startsWith('.') || name.startsWith('_')) { + return "Package name cannot start with a dot or an underscore."; + } + + if (/[~'!()*]/.test(name)) { + return "Package name contains non-URL-safe characters."; + } + + if (name.trim() !== name || name.includes('--')) { + return "Package name cannot contain leading or trailing spaces, or multiple consecutive hyphens."; + } + + if (name !== name.toLowerCase()) { + return "Package name cannot contain uppercase letters."; + } + + const reservedNames = ['node_modules', 'favicon.ico']; + if (reservedNames.includes(name)) { + return `Package name cannot be a reserved name like '${name}'.`; + } + + // This is a simplistic check and does not cover all cases. + const coreModules = ['http', 'fs', 'path', 'util']; + if (coreModules.includes(name)) { + return `Package name cannot be the same as a Node.js core module name like '${name}'.`; + } + + if (encodeURIComponent(name) !== name) { + return "Package name must be URL-safe."; + } + + return undefined; +} \ No newline at end of file diff --git a/modules/web-http/package.json b/modules/web-http/package.json index ba195c44..e41fb898 100644 --- a/modules/web-http/package.json +++ b/modules/web-http/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/web-http", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "build/web-http.js", "files": [ @@ -19,7 +19,7 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1" + "@haibun/core": "1.31.3" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" } \ No newline at end of file diff --git a/modules/web-playwright/package.json b/modules/web-playwright/package.json index d19b7cf3..f3fa4c7b 100644 --- a/modules/web-playwright/package.json +++ b/modules/web-playwright/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/web-playwright", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "build/web-playwright.js", "files": [ @@ -20,9 +20,9 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-storage": "1.31.1", - "@haibun/domain-webpage": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/domain-storage": "1.31.3", + "@haibun/domain-webpage": "1.31.3", "playwright": "1.39" }, "gitHead": "7cf9680bd922fb622fb59f1e6bf5b65284cb8fd5" diff --git a/modules/web-server-express/package.json b/modules/web-server-express/package.json index 1f40cb9e..dc495d36 100644 --- a/modules/web-server-express/package.json +++ b/modules/web-server-express/package.json @@ -1,7 +1,7 @@ { "name": "@haibun/web-server-express", "type": "module", - "version": "1.31.1", + "version": "1.31.3", "description": "", "main": "build/web-server-stepper.js", "files": [ @@ -20,14 +20,14 @@ "author": "", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.1", - "@haibun/domain-webpage": "1.31.1", + "@haibun/core": "1.31.3", + "@haibun/domain-webpage": "1.31.3", "cookie-parser": "^1.4.5", "express": "^4.17.1", "serve-index": "^1.9.1" }, "devDependencies": { - "@haibun/web-http": "1.31.1", + "@haibun/web-http": "1.31.3", "@types/cookie-parser": "^1.4.2", "@types/express": "^4.17.15" }, diff --git a/package-lock.json b/package-lock.json index c8cfb7b8..24cebc3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,22 +35,22 @@ }, "modules/browser-extension": { "name": "@haibun/browser-extension", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", + "@haibun/core": "1.31.1", "@medv/finder": "^2.1.0", "ws": "8.9.0" }, "devDependencies": { - "@haibun/cli": "1.31.0", - "@haibun/context": "1.31.0", - "@haibun/domain-storage": "1.31.0", - "@haibun/domain-webpage": "1.31.0", - "@haibun/feature-importer": "1.31.0", - "@haibun/storage-fs": "1.31.0", - "@haibun/web-playwright": "1.31.0", - "@haibun/web-server-express": "1.31.0", + "@haibun/cli": "1.31.1", + "@haibun/context": "1.31.1", + "@haibun/domain-storage": "1.31.1", + "@haibun/domain-webpage": "1.31.1", + "@haibun/feature-importer": "1.31.1", + "@haibun/storage-fs": "1.31.1", + "@haibun/web-playwright": "1.31.1", + "@haibun/web-server-express": "1.31.1", "@types/chrome": "^0.0.237", "@types/jest": "^29.5.2", "@types/urijs": "^1.19.19", @@ -63,11 +63,11 @@ }, "modules/cli": { "name": "@haibun/cli", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1", "source-map-support": "^0.5.21" }, "bin": { @@ -85,58 +85,58 @@ }, "modules/context": { "name": "@haibun/context", - "version": "1.31.0", + "version": "1.31.1", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/web-server-express": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/web-server-express": "1.31.1", "ws": "^8.9.0" } }, "modules/core": { "name": "@haibun/core", - "version": "1.31.0" + "version": "1.31.1" }, "modules/domain-storage": { "name": "@haibun/domain-storage", - "version": "1.31.0", + "version": "1.31.1", "dependencies": { - "@haibun/context": "1.31.0", - "@haibun/core": "1.31.0" + "@haibun/context": "1.31.1", + "@haibun/core": "1.31.1" } }, "modules/domain-webpage": { "name": "@haibun/domain-webpage", - "version": "1.31.0", + "version": "1.31.1", "dependencies": { - "@haibun/core": "1.31.0" + "@haibun/core": "1.31.1" } }, "modules/feature-importer": { "name": "@haibun/feature-importer", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/context": "1.31.0", - "@haibun/core": "1.31.0" + "@haibun/context": "1.31.1", + "@haibun/core": "1.31.1" }, "devDependencies": { - "@haibun/domain-webpage": "1.31.0" + "@haibun/domain-webpage": "1.31.1" } }, "modules/feature-recorder": { "name": "@haibun/feature-recorder", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/browser-extension": "1.31.0", - "@haibun/context": "1.31.0", - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0", - "@haibun/domain-webpage": "1.31.0", - "@haibun/feature-importer": "1.31.0", - "@haibun/storage-fs": "1.31.0", - "@haibun/web-playwright": "1.31.0", - "@haibun/web-server-express": "1.31.0", + "@haibun/browser-extension": "1.31.1", + "@haibun/context": "1.31.1", + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1", + "@haibun/domain-webpage": "1.31.1", + "@haibun/feature-importer": "1.31.1", + "@haibun/storage-fs": "1.31.1", + "@haibun/web-playwright": "1.31.1", + "@haibun/web-server-express": "1.31.1", "source-map-support": "^0.5.21" }, "bin": { @@ -154,10 +154,10 @@ }, "modules/logger-websockets": { "name": "@haibun/logger-websockets", - "version": "1.31.0", + "version": "1.31.1", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/web-server-express": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/web-server-express": "1.31.1", "ws": "^7.5.1" } }, @@ -183,13 +183,13 @@ }, "modules/out-review": { "name": "@haibun/out-review", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0", - "@haibun/storage-fs": "1.31.0", - "@haibun/storage-mem": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1", + "@haibun/storage-fs": "1.31.1", + "@haibun/storage-mem": "1.31.1", "xmlbuilder2": "^3.0.2" }, "bin": { @@ -198,19 +198,19 @@ }, "modules/out-xunit": { "name": "@haibun/out-xunit", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", + "@haibun/core": "1.31.1", "xmlbuilder2": "^3.0.2" } }, "modules/parse-md": { "name": "@haibun/parse-md", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", + "@haibun/core": "1.31.1", "turndown": "^7.1.1" }, "devDependencies": { @@ -219,27 +219,31 @@ }, "modules/storage-fs": { "name": "@haibun/storage-fs", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0" + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1" } }, "modules/storage-mem": { "name": "@haibun/storage-mem", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1", "memfs": "^3.4.13" } }, "modules/utils": { "name": "@haibun/utils", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", + "dependencies": { + "@haibun/cli": "^1.31.1", + "@haibun/core": "^1.31.1" + }, "bin": { "version": "build/version.js", "scaffold": "build/scaffold/index.js" @@ -247,36 +251,36 @@ }, "modules/web-http": { "name": "@haibun/web-http", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0" + "@haibun/core": "1.31.1" } }, "modules/web-playwright": { "name": "@haibun/web-playwright", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-storage": "1.31.0", - "@haibun/domain-webpage": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/domain-storage": "1.31.1", + "@haibun/domain-webpage": "1.31.1", "playwright": "1.39" } }, "modules/web-server-express": { "name": "@haibun/web-server-express", - "version": "1.31.0", + "version": "1.31.1", "license": "ISC", "dependencies": { - "@haibun/core": "1.31.0", - "@haibun/domain-webpage": "1.31.0", + "@haibun/core": "1.31.1", + "@haibun/domain-webpage": "1.31.1", "cookie-parser": "^1.4.5", "express": "^4.17.1", "serve-index": "^1.9.1" }, "devDependencies": { - "@haibun/web-http": "1.31.0", + "@haibun/web-http": "1.31.1", "@types/cookie-parser": "^1.4.2", "@types/express": "^4.17.15" }