@tachybase/plugin-mock-collections 1.3.22 → 1.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/externalVersion.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
"@tachybase/client": "1.3.
|
|
3
|
-
"@tachybase/module-collection": "1.3.
|
|
4
|
-
"@tego/server": "1.3.
|
|
2
|
+
"@tachybase/client": "1.3.24",
|
|
3
|
+
"@tachybase/module-collection": "1.3.24",
|
|
4
|
+
"@tego/server": "1.3.49",
|
|
5
5
|
"lodash": "4.17.21",
|
|
6
|
-
"pg": "8.16.3"
|
|
6
|
+
"pg": "8.16.3",
|
|
7
|
+
"dayjs": "1.11.13"
|
|
7
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@faker-js/faker","version":"9.9.0","description":"Generate massive amounts of fake contextual data","keywords":["faker","faker.js","fakerjs","faker-js","fake data generator","fake data","fake-data","fake-generator","fake-data-generator","fake content generator","fake contextual data generator","fake contextual data"],"homepage":"https://fakerjs.dev","bugs":{"url":"https://github.com/faker-js/faker/issues"},"repository":{"type":"git","url":"git+https://github.com/faker-js/faker.git"},"funding":[{"type":"opencollective","url":"https://opencollective.com/fakerjs"}],"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./locale/*":{"require":{"types":"./dist/locale/*.d.cts","default":"./dist/locale/*.cjs"},"default":{"types":"./dist/locale/*.d.ts","default":"./dist/locale/*.js"}},"./package.json":"./package.json"},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","typesVersions":{">=5.0":{".":["./dist/index.d.ts"],"locale/*":["./dist/locale/*.d.ts"]}},"files":["CHANGELOG.md","dist"],"devDependencies":{"@eslint/compat":"1.3.1","@eslint/js":"9.30.0","@stylistic/eslint-plugin":"5.1.0","@types/node":"22.15.34","@types/sanitize-html":"2.16.0","@types/semver":"7.7.0","@types/validator":"13.15.2","@vitest/coverage-v8":"3.2.4","@vitest/eslint-plugin":"1.3.3","@vitest/ui":"3.2.4","@vueuse/core":"13.4.0","commit-and-tag-version":"12.5.1","cypress":"14.5.0","eslint":"9.30.0","eslint-config-prettier":"10.1.5","eslint-plugin-file-progress":"3.0.2","eslint-plugin-jsdoc":"51.3.1","eslint-plugin-prettier":"5.5.1","eslint-plugin-unicorn":"59.0.1","jiti":"2.4.2","npm-run-all2":"7.0.2","prettier":"3.6.2","prettier-plugin-organize-imports":"4.1.0","prettier-plugin-pkg":"0.21.1","sanitize-html":"2.17.0","semver":"7.7.2","ts-morph":"26.0.0","tsup":"8.5.0","tsx":"4.20.3","typescript":"5.8.3","typescript-eslint":"8.35.1","validator":"13.15.15","vitepress":"1.6.3","vitest":"3.2.4","vue":"3.5.17","vue-tsc":"2.2.10"},"engines":{"node":">=18.0.0","npm":">=9.0.0"},"scripts":{"clean":"git clean -fdx --exclude _local","build:clean":"git clean -fX dist","build:code":"tsup-node","build":"run-s build:clean build:code","generate":"run-s generate:locales generate:api-docs","generate:api-docs":"tsx ./scripts/apidocs.ts","generate:locales":"tsx ./scripts/generate-locales.ts","docs:build":"run-s generate:api-docs docs:build:embedded docs:build:run","docs:build:embedded":"tsup-node --entry.faker src/index.ts --format esm --outDir docs/public --no-dts --no-clean","docs:build:run":"vitepress build docs","docs:build:ci":"run-s build docs:build","docs:dev":"run-s generate:api-docs docs:build:embedded docs:dev:run","docs:dev:run":"vitepress dev docs","docs:serve":"vitepress serve docs --port 5173","docs:diff":"tsx ./scripts/diff.ts","docs:test:e2e:ci":"run-s docs:build:ci docs:test:e2e:install docs:test:e2e:run","docs:test:e2e:install":"cypress install","docs:test:e2e:run":"run-p --race docs:serve \"cypress run\"","docs:test:e2e:open":"run-p --race docs:serve \"cypress open\"","format":"prettier --cache --write .","lint":"eslint --cache --cache-strategy content .","ts-check":"tsc","test":"vitest","test:update-snapshots":"vitest run -u","coverage":"vitest run --coverage","integration-test":"vitest -c vitest.it-config.ts","cypress":"cypress","release":"commit-and-tag-version --commit-all","preflight":"pnpm install && run-s generate format lint build test:update-snapshots ts-check"},"_lastModified":"2025-
|
|
1
|
+
{"name":"@faker-js/faker","version":"9.9.0","description":"Generate massive amounts of fake contextual data","keywords":["faker","faker.js","fakerjs","faker-js","fake data generator","fake data","fake-data","fake-generator","fake-data-generator","fake content generator","fake contextual data generator","fake contextual data"],"homepage":"https://fakerjs.dev","bugs":{"url":"https://github.com/faker-js/faker/issues"},"repository":{"type":"git","url":"git+https://github.com/faker-js/faker.git"},"funding":[{"type":"opencollective","url":"https://opencollective.com/fakerjs"}],"license":"MIT","sideEffects":false,"type":"module","exports":{".":{"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./locale/*":{"require":{"types":"./dist/locale/*.d.cts","default":"./dist/locale/*.cjs"},"default":{"types":"./dist/locale/*.d.ts","default":"./dist/locale/*.js"}},"./package.json":"./package.json"},"main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","typesVersions":{">=5.0":{".":["./dist/index.d.ts"],"locale/*":["./dist/locale/*.d.ts"]}},"files":["CHANGELOG.md","dist"],"devDependencies":{"@eslint/compat":"1.3.1","@eslint/js":"9.30.0","@stylistic/eslint-plugin":"5.1.0","@types/node":"22.15.34","@types/sanitize-html":"2.16.0","@types/semver":"7.7.0","@types/validator":"13.15.2","@vitest/coverage-v8":"3.2.4","@vitest/eslint-plugin":"1.3.3","@vitest/ui":"3.2.4","@vueuse/core":"13.4.0","commit-and-tag-version":"12.5.1","cypress":"14.5.0","eslint":"9.30.0","eslint-config-prettier":"10.1.5","eslint-plugin-file-progress":"3.0.2","eslint-plugin-jsdoc":"51.3.1","eslint-plugin-prettier":"5.5.1","eslint-plugin-unicorn":"59.0.1","jiti":"2.4.2","npm-run-all2":"7.0.2","prettier":"3.6.2","prettier-plugin-organize-imports":"4.1.0","prettier-plugin-pkg":"0.21.1","sanitize-html":"2.17.0","semver":"7.7.2","ts-morph":"26.0.0","tsup":"8.5.0","tsx":"4.20.3","typescript":"5.8.3","typescript-eslint":"8.35.1","validator":"13.15.15","vitepress":"1.6.3","vitest":"3.2.4","vue":"3.5.17","vue-tsc":"2.2.10"},"engines":{"node":">=18.0.0","npm":">=9.0.0"},"scripts":{"clean":"git clean -fdx --exclude _local","build:clean":"git clean -fX dist","build:code":"tsup-node","build":"run-s build:clean build:code","generate":"run-s generate:locales generate:api-docs","generate:api-docs":"tsx ./scripts/apidocs.ts","generate:locales":"tsx ./scripts/generate-locales.ts","docs:build":"run-s generate:api-docs docs:build:embedded docs:build:run","docs:build:embedded":"tsup-node --entry.faker src/index.ts --format esm --outDir docs/public --no-dts --no-clean","docs:build:run":"vitepress build docs","docs:build:ci":"run-s build docs:build","docs:dev":"run-s generate:api-docs docs:build:embedded docs:dev:run","docs:dev:run":"vitepress dev docs","docs:serve":"vitepress serve docs --port 5173","docs:diff":"tsx ./scripts/diff.ts","docs:test:e2e:ci":"run-s docs:build:ci docs:test:e2e:install docs:test:e2e:run","docs:test:e2e:install":"cypress install","docs:test:e2e:run":"run-p --race docs:serve \"cypress run\"","docs:test:e2e:open":"run-p --race docs:serve \"cypress open\"","format":"prettier --cache --write .","lint":"eslint --cache --cache-strategy content .","ts-check":"tsc","test":"vitest","test:update-snapshots":"vitest run -u","coverage":"vitest run --coverage","integration-test":"vitest -c vitest.it-config.ts","cypress":"cypress","release":"commit-and-tag-version --commit-all","preflight":"pnpm install && run-s generate format lint build test:update-snapshots ts-check"},"_lastModified":"2025-08-03T23:08:55.460Z"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
4
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
7
|
var __export = (target, all) => {
|
|
6
8
|
for (var name in all)
|
|
@@ -14,6 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
16
|
}
|
|
15
17
|
return to;
|
|
16
18
|
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
17
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
28
|
var time_exports = {};
|
|
19
29
|
__export(time_exports, {
|
|
@@ -21,7 +31,7 @@ __export(time_exports, {
|
|
|
21
31
|
});
|
|
22
32
|
module.exports = __toCommonJS(time_exports);
|
|
23
33
|
var import_faker = require("@faker-js/faker");
|
|
24
|
-
var
|
|
34
|
+
var import_dayjs = __toESM(require("dayjs"));
|
|
25
35
|
const time = {
|
|
26
36
|
options: () => ({
|
|
27
37
|
type: "time",
|
|
@@ -34,7 +44,7 @@ const time = {
|
|
|
34
44
|
}
|
|
35
45
|
}
|
|
36
46
|
}),
|
|
37
|
-
mock: () => (0,
|
|
47
|
+
mock: () => (0, import_dayjs.default)(import_faker.faker.date.anytime()).format("HH:mm:ss")
|
|
38
48
|
};
|
|
39
49
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40
50
|
0 && (module.exports = {
|
package/package.json
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachybase/plugin-mock-collections",
|
|
3
3
|
"displayName": "mock-collections",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.24",
|
|
5
5
|
"description": "mock-collections",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "./dist/server/index.js",
|
|
8
8
|
"dependencies": {},
|
|
9
9
|
"devDependencies": {
|
|
10
10
|
"@faker-js/faker": "9.9.0",
|
|
11
|
-
"@tachybase/test": "^1.3.
|
|
12
|
-
"@tego/client": "^1.3.
|
|
13
|
-
"@tego/server": "^1.3.
|
|
11
|
+
"@tachybase/test": "^1.3.49",
|
|
12
|
+
"@tego/client": "^1.3.49",
|
|
13
|
+
"@tego/server": "^1.3.49",
|
|
14
|
+
"dayjs": "^1.11.13",
|
|
14
15
|
"lodash": "4.17.21",
|
|
15
16
|
"pg": "^8.16.3",
|
|
16
|
-
"@tachybase/client": "1.3.
|
|
17
|
-
"@tachybase/module-
|
|
18
|
-
"@tachybase/module-
|
|
17
|
+
"@tachybase/client": "1.3.24",
|
|
18
|
+
"@tachybase/module-collection": "1.3.24",
|
|
19
|
+
"@tachybase/module-error-handler": "1.3.24"
|
|
19
20
|
},
|
|
20
21
|
"scripts": {}
|
|
21
22
|
}
|