@tachybase/module-workflow 1.3.17 → 1.3.18

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.
Files changed (60) hide show
  1. package/dist/client/index.js +38 -38
  2. package/dist/externalVersion.js +15 -15
  3. package/dist/node_modules/@babel/core/lib/index.js +23 -23
  4. package/dist/node_modules/@babel/core/node_modules/.bin/parser +4 -4
  5. package/dist/node_modules/@babel/core/package.json +1 -1
  6. package/dist/node_modules/@babel/preset-env/lib/available-plugins.js +4 -0
  7. package/dist/node_modules/@babel/preset-env/lib/index.js +54 -35
  8. package/dist/node_modules/@babel/preset-env/package.json +1 -1
  9. package/dist/node_modules/@babel/preset-react/lib/index.js +24 -24
  10. package/dist/node_modules/@babel/preset-react/package.json +1 -1
  11. package/dist/node_modules/@babel/preset-typescript/lib/index.js +23 -23
  12. package/dist/node_modules/@babel/preset-typescript/package.json +1 -1
  13. package/dist/node_modules/cron-parser/LICENSE +1 -1
  14. package/dist/node_modules/cron-parser/dist/CronDate.js +497 -0
  15. package/dist/node_modules/cron-parser/dist/CronExpression.js +376 -0
  16. package/dist/node_modules/cron-parser/dist/CronExpressionParser.js +384 -0
  17. package/dist/node_modules/cron-parser/dist/CronFieldCollection.js +371 -0
  18. package/dist/node_modules/cron-parser/dist/CronFileParser.js +109 -0
  19. package/dist/node_modules/cron-parser/dist/fields/CronDayOfMonth.js +44 -0
  20. package/dist/node_modules/cron-parser/dist/fields/CronDayOfWeek.js +51 -0
  21. package/dist/node_modules/cron-parser/dist/fields/CronField.js +183 -0
  22. package/dist/node_modules/cron-parser/dist/fields/CronHour.js +40 -0
  23. package/dist/node_modules/cron-parser/dist/fields/CronMinute.js +40 -0
  24. package/dist/node_modules/cron-parser/dist/fields/CronMonth.js +44 -0
  25. package/dist/node_modules/cron-parser/dist/fields/CronSecond.js +40 -0
  26. package/dist/node_modules/cron-parser/dist/fields/index.js +24 -0
  27. package/dist/node_modules/cron-parser/dist/fields/types.js +2 -0
  28. package/dist/node_modules/cron-parser/dist/index.js +1 -0
  29. package/dist/node_modules/cron-parser/dist/types/CronDate.d.ts +273 -0
  30. package/dist/node_modules/cron-parser/dist/types/CronExpression.d.ts +110 -0
  31. package/dist/node_modules/cron-parser/dist/types/CronExpressionParser.d.ts +70 -0
  32. package/dist/node_modules/cron-parser/dist/types/CronFieldCollection.d.ts +153 -0
  33. package/dist/node_modules/cron-parser/dist/types/CronFileParser.d.ts +30 -0
  34. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfMonth.d.ts +25 -0
  35. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfWeek.d.ts +30 -0
  36. package/dist/node_modules/cron-parser/dist/types/fields/CronField.d.ts +114 -0
  37. package/dist/node_modules/cron-parser/dist/types/fields/CronHour.d.ts +23 -0
  38. package/dist/node_modules/cron-parser/dist/types/fields/CronMinute.d.ts +23 -0
  39. package/dist/node_modules/cron-parser/dist/types/fields/CronMonth.d.ts +24 -0
  40. package/dist/node_modules/cron-parser/dist/types/fields/CronSecond.d.ts +23 -0
  41. package/dist/node_modules/cron-parser/dist/types/fields/index.d.ts +8 -0
  42. package/dist/node_modules/cron-parser/dist/types/fields/types.d.ts +18 -0
  43. package/dist/node_modules/cron-parser/dist/types/index.d.ts +8 -0
  44. package/dist/node_modules/cron-parser/dist/types/utils/random.d.ts +10 -0
  45. package/dist/node_modules/cron-parser/dist/utils/random.js +38 -0
  46. package/dist/node_modules/cron-parser/package.json +1 -1
  47. package/dist/node_modules/form-data/package.json +1 -1
  48. package/dist/node_modules/jsonata/package.json +1 -1
  49. package/dist/node_modules/lru-cache/package.json +1 -1
  50. package/dist/node_modules/mime-types/package.json +1 -1
  51. package/dist/node_modules/qrcode/package.json +1 -1
  52. package/package.json +21 -21
  53. package/dist/node_modules/cron-parser/lib/date.js +0 -252
  54. package/dist/node_modules/cron-parser/lib/expression.js +0 -1002
  55. package/dist/node_modules/cron-parser/lib/field_compactor.js +0 -70
  56. package/dist/node_modules/cron-parser/lib/field_stringify.js +0 -58
  57. package/dist/node_modules/cron-parser/lib/parser.js +0 -1
  58. package/dist/node_modules/cron-parser/types/common.d.ts +0 -131
  59. package/dist/node_modules/cron-parser/types/index.d.ts +0 -45
  60. package/dist/node_modules/cron-parser/types/ts3/index.d.ts +0 -28
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.seededRandom = seededRandom;
4
+ /**
5
+ * Computes a numeric hash from a given string
6
+ * @param {string} str A value to hash
7
+ * @returns {number} A numeric hash computed from the given value
8
+ */
9
+ function xfnv1a(str) {
10
+ let h = 2166136261 >>> 0;
11
+ for (let i = 0; i < str.length; i++) {
12
+ h ^= str.charCodeAt(i);
13
+ h = Math.imul(h, 16777619);
14
+ }
15
+ return () => h >>> 0;
16
+ }
17
+ /**
18
+ * Initialize a new PRNG using a given seed
19
+ * @param {number} seed The seed used to initialize the PRNG
20
+ * @returns {PRNG} A random number generator
21
+ */
22
+ function mulberry32(seed) {
23
+ return () => {
24
+ let t = (seed += 0x6d2b79f5);
25
+ t = Math.imul(t ^ (t >>> 15), t | 1);
26
+ t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
27
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
28
+ };
29
+ }
30
+ /**
31
+ * Generates a PRNG using a given seed. When not provided, the seed is randomly generated
32
+ * @param {string} str A string to derive the seed from
33
+ * @returns {PRNG} A random number generator correctly seeded
34
+ */
35
+ function seededRandom(str) {
36
+ const seed = str ? xfnv1a(str)() : Math.floor(Math.random() * 10_000_000_000);
37
+ return mulberry32(seed);
38
+ }
@@ -1 +1 @@
1
- {"name":"cron-parser","version":"4.9.0","description":"Node.js library for parsing crontab instructions","main":"lib/parser.js","types":"types/index.d.ts","typesVersions":{"<4.1":{"*":["types/ts3/*"]}},"directories":{"test":"test"},"scripts":{"test:tsd":"tsd","test:unit":"TZ=UTC tap ./test/*.js","test:cover":"TZ=UTC tap --coverage-report=html ./test/*.js","lint":"eslint .","lint:fix":"eslint --fix .","test":"npm run lint && npm run test:unit && npm run test:tsd"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>"],"license":"MIT","dependencies":{"luxon":"^3.2.1"},"devDependencies":{"eslint":"^8.27.0","sinon":"^15.0.1","tap":"^16.3.3","tsd":"^0.26.0"},"engines":{"node":">=12.0.0"},"browser":{"fs":false},"tap":{"check-coverage":false},"tsd":{"directory":"test","compilerOptions":{"lib":["es2017","dom"]}},"files":["lib","types","LICENSE","README.md"],"_lastModified":"2025-07-04T04:03:41.643Z"}
1
+ {"name":"cron-parser","version":"5.3.0","description":"Node.js library for parsing crontab instructions","main":"dist/index.js","types":"dist/types/index.d.ts","type":"commonjs","scripts":{"clean":"rimraf dist","bench":"cross-env node -r ts-node/register benchmarks/index.ts","bench:pattern":"cross-env node -r ts-node/register benchmarks/pattern.ts","bench:clean":"rimraf benchmarks/versions && rimraf benchmarks/results","build":"npm run clean && tsc -p tsconfig.json","prepublishOnly":"npm run build","prepare":"husky && npm run build","precommit":"lint-staged","lint":"eslint .","lint:fix":"eslint --fix .","lint:debug":"cross-env DEBUG=eslint:cli-engine eslint .","format":"prettier --write \"**/*.{ts,js,json,md}\"","format:check":"prettier --check \"**/*.{ts,js,json,md}\"","test:unit":"cross-env TZ=UTC jest","test:coverage":"cross-env TZ=UTC jest --coverage","generate-badges":"jest-coverage-badges","test:types":"npm run build && tsd","test":"cross-env TZ=UTC npm run lint && npm run test:types && npm run test:coverage && npm run generate-badges","docs":"rimraf docs && typedoc --out docs --readme none --name 'CronParser' src"},"files":["dist","LICENSE","README.md"],"dependencies":{"luxon":"^3.6.1"},"devDependencies":{"@tsd/typescript":"^5.8.2","@types/jest":"^29.5.14","@types/luxon":"^3.6.2","@types/node":"^22.14.0","@typescript-eslint/eslint-plugin":"^8.29.0","@typescript-eslint/parser":"^8.29.0","chalk":"^5.4.1","cli-table3":"^0.6.5","cross-env":"^7.0.3","eslint":"^9.23.0","eslint-config-prettier":"^10.1.1","eslint-plugin-prettier":"^5.2.6","husky":"^9.1.7","jest":"^29.7.0","jest-coverage-badges":"^1.0.0","lint-staged":"^15.5.0","prettier":"^3.5.3","rimraf":"^6.0.1","sinon":"^20.0.0","ts-jest":"^29.3.1","ts-node":"^10.9.2","tsd":"^0.31.2","typedoc":"^0.28.1","typescript":"^5.8.2"},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"*.{ts,js,json}":["prettier --write"]},"engines":{"node":">=18"},"browser":{"fs":false,"fs/promises":false},"tsd":{"directory":"tests"},"repository":{"type":"git","url":"https://github.com/harrisiirak/cron-parser.git"},"keywords":["cron","crontab","parser"],"author":"Harri Siirak","contributors":["Nicholas Clawson","Daniel Prentis <daniel@salsitasoft.com>","Renault John Lecoultre","Richard Astbury <richard.astbury@gmail.com>","Meaglin Wasabi <Meaglin.wasabi@gmail.com>","Mike Kusold <hello@mikekusold.com>","Alex Kit <alex.kit@atmajs.com>","Santiago Gimeno <santiago.gimeno@gmail.com>","Daniel <darc.tec@gmail.com>","Christian Steininger <christian.steininger.cs@gmail.com>","Mykola Piskovyi <m.piskovyi@gmail.com>","Brian Vaughn <brian.david.vaughn@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Yasuhiroki <yasuhiroki.duck@gmail.com>","Nicholas Clawson <nickclaw@gmail.com>","Brendan Warkentin <faazshift@gmail.com>","Charlie Fish <fishcharlie.code@gmail.com>","Ian Graves <ian+diskimage@iangrav.es>","Andy Thompson <me@andytson.com>","Regev Brody <regevbr@gmail.com>","Michael Hobbs <michael.lee.hobbs@gmail.com>"],"license":"MIT","_lastModified":"2025-07-17T07:52:29.740Z"}
@@ -1 +1 @@
1
- {"author":"Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)","name":"form-data","description":"A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.","version":"4.0.3","repository":{"type":"git","url":"git://github.com/form-data/form-data.git"},"main":"./lib/form_data","browser":"./lib/browser","typings":"./index.d.ts","scripts":{"pretest":"npm run lint","pretests-only":"rimraf coverage test/tmp","tests-only":"istanbul cover test/run.js","posttests-only":"istanbul report lcov text","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","report":"istanbul report lcov text","ci-lint":"is-node-modern 8 && npm run lint || is-node-not-modern 8","ci-test":"npm run tests-only && npm run browser && npm run report","predebug":"rimraf coverage test/tmp","debug":"verbose=1 ./test/run.js","browser":"browserify -t browserify-istanbul test/run-browser.js | obake --coverage","check":"istanbul check-coverage coverage/coverage*.json","files":"pkgfiles --sort=name","get-version":"node -e \"console.log(require('./package.json').version)\"","update-readme":"sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md","restore-readme":"mv README.md.bak README.md","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"npm run update-readme","postpublish":"npm run restore-readme"},"engines":{"node":">= 6"},"dependencies":{"asynckit":"^0.4.0","combined-stream":"^1.0.8","es-set-tostringtag":"^2.1.0","hasown":"^2.0.2","mime-types":"^2.1.12"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","browserify":"^13.3.0","browserify-istanbul":"^2.0.0","coveralls":"^3.1.1","cross-spawn":"^6.0.6","eslint":"=8.8.0","fake":"^0.2.2","far":"^0.0.7","formidable":"^1.2.6","in-publish":"^2.0.1","is-node-modern":"^1.0.0","istanbul":"^0.4.5","obake":"^0.1.2","pkgfiles":"^2.3.2","request":"~2.87.0","rimraf":"^2.7.1","tape":"^5.9.0"},"license":"MIT","_lastModified":"2025-07-04T04:03:26.676Z"}
1
+ {"author":"Felix Geisendörfer <felix@debuggable.com> (http://debuggable.com/)","name":"form-data","description":"A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.","version":"4.0.3","repository":{"type":"git","url":"git://github.com/form-data/form-data.git"},"main":"./lib/form_data","browser":"./lib/browser","typings":"./index.d.ts","scripts":{"pretest":"npm run lint","pretests-only":"rimraf coverage test/tmp","tests-only":"istanbul cover test/run.js","posttests-only":"istanbul report lcov text","test":"npm run tests-only","posttest":"npx npm@'>=10.2' audit --production","lint":"eslint --ext=js,mjs .","report":"istanbul report lcov text","ci-lint":"is-node-modern 8 && npm run lint || is-node-not-modern 8","ci-test":"npm run tests-only && npm run browser && npm run report","predebug":"rimraf coverage test/tmp","debug":"verbose=1 ./test/run.js","browser":"browserify -t browserify-istanbul test/run-browser.js | obake --coverage","check":"istanbul check-coverage coverage/coverage*.json","files":"pkgfiles --sort=name","get-version":"node -e \"console.log(require('./package.json').version)\"","update-readme":"sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md","restore-readme":"mv README.md.bak README.md","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"npm run update-readme","postpublish":"npm run restore-readme"},"engines":{"node":">= 6"},"dependencies":{"asynckit":"^0.4.0","combined-stream":"^1.0.8","es-set-tostringtag":"^2.1.0","hasown":"^2.0.2","mime-types":"^2.1.12"},"devDependencies":{"@ljharb/eslint-config":"^21.1.1","browserify":"^13.3.0","browserify-istanbul":"^2.0.0","coveralls":"^3.1.1","cross-spawn":"^6.0.6","eslint":"=8.8.0","fake":"^0.2.2","far":"^0.0.7","formidable":"^1.2.6","in-publish":"^2.0.1","is-node-modern":"^1.0.0","istanbul":"^0.4.5","obake":"^0.1.2","pkgfiles":"^2.3.2","request":"~2.87.0","rimraf":"^2.7.1","tape":"^5.9.0"},"license":"MIT","_lastModified":"2025-07-17T07:52:11.814Z"}
@@ -1 +1 @@
1
- {"name":"jsonata","version":"2.0.6","description":"JSON query and transformation language","module":"jsonata.js","main":"jsonata.js","typings":"jsonata.d.ts","homepage":"http://jsonata.org/","repository":{"type":"git","url":"https://github.com/jsonata-js/jsonata.git"},"scripts":{"pretest":"npm run lint","mocha":"nyc ./node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","test":"npm run mocha","posttest":"npm run check-coverage && npm run browserify && npm run minify && npm run build-es5","build-es5":"npm run mkdir-dist && npm run regenerator && npm run browserify-es5 && npm run minify-es5","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","browserify":"browserify src/jsonata.js --outfile jsonata.js --standalone jsonata","mkdir-dist":"mkdirp ./dist","regenerator":"babel src --out-dir dist --presets=@babel/env","browserify-es5":"regenerator --include-runtime polyfill.js > jsonata-es5.js; browserify dist/jsonata.js --standalone jsonata >> jsonata-es5.js","prepublishOnly":"npm run browserify && npm run minify && npm run build-es5","lint":"eslint src","doc":"jsdoc --configure jsdoc.json .","cover":"nyc _mocha","minify":"uglifyjs jsonata.js -o jsonata.min.js --compress --mangle","minify-es5":"uglifyjs jsonata-es5.js -o jsonata-es5.min.js --compress --mangle"},"license":"MIT","keywords":["JSON","query","transformation","transform","mapping","path"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/preset-env":"^7.8.4","browserify":"^16.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"8.0.0","eslint-plugin-ideal":"^0.1.3","eslint-plugin-promise":"^6.0.0","jsdoc":"^3.6.3","mkdirp":"^1.0.3","mocha":"^7.0.1","mocha-lcov-reporter":"^1.3.0","nyc":"^15.1.0","regenerator":"^0.14.4","request":"^2.88.2","uglify-es":"^3.3.10"},"engines":{"node":">= 8"},"_lastModified":"2025-07-04T04:03:27.765Z"}
1
+ {"name":"jsonata","version":"2.0.6","description":"JSON query and transformation language","module":"jsonata.js","main":"jsonata.js","typings":"jsonata.d.ts","homepage":"http://jsonata.org/","repository":{"type":"git","url":"https://github.com/jsonata-js/jsonata.git"},"scripts":{"pretest":"npm run lint","mocha":"nyc ./node_modules/mocha/bin/_mocha -- \"test/**/*.js\"","test":"npm run mocha","posttest":"npm run check-coverage && npm run browserify && npm run minify && npm run build-es5","build-es5":"npm run mkdir-dist && npm run regenerator && npm run browserify-es5 && npm run minify-es5","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","browserify":"browserify src/jsonata.js --outfile jsonata.js --standalone jsonata","mkdir-dist":"mkdirp ./dist","regenerator":"babel src --out-dir dist --presets=@babel/env","browserify-es5":"regenerator --include-runtime polyfill.js > jsonata-es5.js; browserify dist/jsonata.js --standalone jsonata >> jsonata-es5.js","prepublishOnly":"npm run browserify && npm run minify && npm run build-es5","lint":"eslint src","doc":"jsdoc --configure jsdoc.json .","cover":"nyc _mocha","minify":"uglifyjs jsonata.js -o jsonata.min.js --compress --mangle","minify-es5":"uglifyjs jsonata-es5.js -o jsonata-es5.min.js --compress --mangle"},"license":"MIT","keywords":["JSON","query","transformation","transform","mapping","path"],"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.8.4","@babel/preset-env":"^7.8.4","browserify":"^16.5.0","chai":"^4.2.0","chai-as-promised":"^7.1.1","eslint":"8.0.0","eslint-plugin-ideal":"^0.1.3","eslint-plugin-promise":"^6.0.0","jsdoc":"^3.6.3","mkdirp":"^1.0.3","mocha":"^7.0.1","mocha-lcov-reporter":"^1.3.0","nyc":"^15.1.0","regenerator":"^0.14.4","request":"^2.88.2","uglify-es":"^3.3.10"},"engines":{"node":">= 8"},"_lastModified":"2025-07-17T07:52:12.852Z"}
@@ -1 +1 @@
1
- {"type":"commonjs","_lastModified":"2025-07-04T04:03:26.255Z"}
1
+ {"type":"commonjs","_lastModified":"2025-07-17T07:52:11.405Z"}
@@ -1 +1 @@
1
- {"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"2.1.35","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"1.52.0"},"devDependencies":{"eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.25.4","eslint-plugin-markdown":"2.2.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.2.0","eslint-plugin-standard":"4.1.0","mocha":"9.2.2","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2025-07-04T04:03:26.853Z"}
1
+ {"name":"mime-types","description":"The ultimate javascript content-type utility.","version":"2.1.35","contributors":["Douglas Christopher Wilson <doug@somethingdoug.com>","Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)","Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"],"license":"MIT","keywords":["mime","types"],"repository":"jshttp/mime-types","dependencies":{"mime-db":"1.52.0"},"devDependencies":{"eslint":"7.32.0","eslint-config-standard":"14.1.1","eslint-plugin-import":"2.25.4","eslint-plugin-markdown":"2.2.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.2.0","eslint-plugin-standard":"4.1.0","mocha":"9.2.2","nyc":"15.1.0"},"files":["HISTORY.md","LICENSE","index.js"],"engines":{"node":">= 0.6"},"scripts":{"lint":"eslint .","test":"mocha --reporter spec test/test.js","test-ci":"nyc --reporter=lcov --reporter=text npm test","test-cov":"nyc --reporter=html --reporter=text npm test"},"_lastModified":"2025-07-17T07:52:11.974Z"}
@@ -1 +1 @@
1
- {"name":"qrcode","description":"QRCode / 2d Barcode api with both server side and client side support using canvas","version":"1.5.4","author":"Ryan Day <soldair@gmail.com>","contributors":["Vincenzo Greco <greco.vincenzo@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>"],"keywords":["qr","code","canvas","qrcode"],"main":"./lib/index.js","browser":{"./lib/index.js":"./lib/browser.js","fs":false},"files":["bin","build","lib","helper"],"homepage":"http://github.com/soldair/node-qrcode","license":"MIT","scripts":{"lint":"standard","pretest":"npm run lint","test":"node --throw-deprecation test.js","build":"rollup -c","prepublish":"npm run build","browser":"node examples/clientsideserver.js"},"bin":{"qrcode":"./bin/qrcode"},"dependencies":{"dijkstrajs":"^1.0.1","pngjs":"^5.0.0","yargs":"^15.3.1"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","browserify":"^16.5.1","canvas":"^2.8.0","canvasutil":"0.0.4","colors":"^1.4.0","express":"^4.17.1","htmlparser2":"^4.1.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^5.3.0","sinon":"^9.0.2","standard":"^16.0.4","tap":"^16.2.0"},"repository":{"type":"git","url":"git://github.com/soldair/node-qrcode.git"},"engines":{"node":">=10.13.0"},"standard":{"ignore":["build/","examples/vendors/","lib/core/regex.js"]},"_lastModified":"2025-07-04T04:03:27.312Z"}
1
+ {"name":"qrcode","description":"QRCode / 2d Barcode api with both server side and client side support using canvas","version":"1.5.4","author":"Ryan Day <soldair@gmail.com>","contributors":["Vincenzo Greco <greco.vincenzo@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>"],"keywords":["qr","code","canvas","qrcode"],"main":"./lib/index.js","browser":{"./lib/index.js":"./lib/browser.js","fs":false},"files":["bin","build","lib","helper"],"homepage":"http://github.com/soldair/node-qrcode","license":"MIT","scripts":{"lint":"standard","pretest":"npm run lint","test":"node --throw-deprecation test.js","build":"rollup -c","prepublish":"npm run build","browser":"node examples/clientsideserver.js"},"bin":{"qrcode":"./bin/qrcode"},"dependencies":{"dijkstrajs":"^1.0.1","pngjs":"^5.0.0","yargs":"^15.3.1"},"devDependencies":{"@babel/core":"^7.9.0","@babel/preset-env":"^7.9.5","@rollup/plugin-commonjs":"^11.1.0","@rollup/plugin-node-resolve":"^7.1.3","browserify":"^16.5.1","canvas":"^2.8.0","canvasutil":"0.0.4","colors":"^1.4.0","express":"^4.17.1","htmlparser2":"^4.1.0","rollup":"^2.6.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-terser":"^5.3.0","sinon":"^9.0.2","standard":"^16.0.4","tap":"^16.2.0"},"repository":{"type":"git","url":"git://github.com/soldair/node-qrcode.git"},"engines":{"node":">=10.13.0"},"standard":{"ignore":["build/","examples/vendors/","lib/core/regex.js"]},"_lastModified":"2025-07-17T07:52:12.420Z"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tachybase/module-workflow",
3
3
  "displayName": "Workflow",
4
- "version": "1.3.17",
4
+ "version": "1.3.18",
5
5
  "description": "A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.",
6
6
  "keywords": [
7
7
  "Workflow"
@@ -11,8 +11,8 @@
11
11
  "devDependencies": {
12
12
  "@ant-design/icons": "~5.3.7",
13
13
  "@babel/core": "7.27.4",
14
- "@babel/parser": "7.27.5",
15
- "@babel/preset-env": "7.27.2",
14
+ "@babel/parser": "7.28.0",
15
+ "@babel/preset-env": "7.28.0",
16
16
  "@babel/preset-react": "7.27.1",
17
17
  "@babel/preset-typescript": "7.27.1",
18
18
  "@dnd-kit/core": "^6.3.1",
@@ -23,7 +23,7 @@
23
23
  "@types/qrcode": "^1.5.5",
24
24
  "antd": "5.22.5",
25
25
  "axios": "1.7.7",
26
- "cron-parser": "4.9.0",
26
+ "cron-parser": "5.3.0",
27
27
  "file-saver": "^2.0.5",
28
28
  "form-data": "^4.0.3",
29
29
  "jsonata": "^2.0.6",
@@ -36,25 +36,25 @@
36
36
  "react-js-cron": "^3.2.0",
37
37
  "react-router-dom": "6.28.1",
38
38
  "sequelize": "^6.37.5",
39
- "@tachybase/plugin-workflow-test": "1.3.17",
40
- "@tachybase/components": "1.3.17"
39
+ "@tachybase/components": "1.3.18",
40
+ "@tachybase/plugin-workflow-test": "1.3.18"
41
41
  },
42
42
  "peerDependencies": {
43
- "@tachybase/client": "1.3.17",
44
- "@tachybase/data-source": "1.3.17",
45
- "@tachybase/actions": "1.3.17",
46
- "@tachybase/database": "1.3.17",
47
- "@tachybase/logger": "1.3.17",
48
- "@tachybase/evaluators": "1.3.17",
49
- "@tachybase/module-collection": "1.3.17",
50
- "@tachybase/module-error-handler": "1.3.17",
51
- "@tachybase/module-user": "1.3.17",
52
- "@tachybase/module-ui-schema": "1.3.17",
53
- "@tachybase/resourcer": "1.3.17",
54
- "@tachybase/schema": "1.3.17",
55
- "@tachybase/test": "1.3.17",
56
- "@tachybase/utils": "1.3.17",
57
- "@tachybase/server": "1.3.17"
43
+ "@tachybase/actions": "1.3.18",
44
+ "@tachybase/data-source": "1.3.18",
45
+ "@tachybase/client": "1.3.18",
46
+ "@tachybase/database": "1.3.18",
47
+ "@tachybase/logger": "1.3.18",
48
+ "@tachybase/module-collection": "1.3.18",
49
+ "@tachybase/module-error-handler": "1.3.18",
50
+ "@tachybase/evaluators": "1.3.18",
51
+ "@tachybase/module-user": "1.3.18",
52
+ "@tachybase/module-ui-schema": "1.3.18",
53
+ "@tachybase/schema": "1.3.18",
54
+ "@tachybase/resourcer": "1.3.18",
55
+ "@tachybase/test": "1.3.18",
56
+ "@tachybase/utils": "1.3.18",
57
+ "@tachybase/server": "1.3.18"
58
58
  },
59
59
  "description.zh-CN": "一个强大的 BPM 工具,为业务自动化提供基础支持,并且可任意扩展更多的触发器和节点。",
60
60
  "displayName.zh-CN": "工作流",
@@ -1,252 +0,0 @@
1
- 'use strict';
2
-
3
- var luxon = require('luxon');
4
-
5
- CronDate.prototype.addYear = function() {
6
- this._date = this._date.plus({ years: 1 });
7
- };
8
-
9
- CronDate.prototype.addMonth = function() {
10
- this._date = this._date.plus({ months: 1 }).startOf('month');
11
- };
12
-
13
- CronDate.prototype.addDay = function() {
14
- this._date = this._date.plus({ days: 1 }).startOf('day');
15
- };
16
-
17
- CronDate.prototype.addHour = function() {
18
- var prev = this._date;
19
- this._date = this._date.plus({ hours: 1 }).startOf('hour');
20
- if (this._date <= prev) {
21
- this._date = this._date.plus({ hours: 1 });
22
- }
23
- };
24
-
25
- CronDate.prototype.addMinute = function() {
26
- var prev = this._date;
27
- this._date = this._date.plus({ minutes: 1 }).startOf('minute');
28
- if (this._date < prev) {
29
- this._date = this._date.plus({ hours: 1 });
30
- }
31
- };
32
-
33
- CronDate.prototype.addSecond = function() {
34
- var prev = this._date;
35
- this._date = this._date.plus({ seconds: 1 }).startOf('second');
36
- if (this._date < prev) {
37
- this._date = this._date.plus({ hours: 1 });
38
- }
39
- };
40
-
41
- CronDate.prototype.subtractYear = function() {
42
- this._date = this._date.minus({ years: 1 });
43
- };
44
-
45
- CronDate.prototype.subtractMonth = function() {
46
- this._date = this._date
47
- .minus({ months: 1 })
48
- .endOf('month')
49
- .startOf('second');
50
- };
51
-
52
- CronDate.prototype.subtractDay = function() {
53
- this._date = this._date
54
- .minus({ days: 1 })
55
- .endOf('day')
56
- .startOf('second');
57
- };
58
-
59
- CronDate.prototype.subtractHour = function() {
60
- var prev = this._date;
61
- this._date = this._date
62
- .minus({ hours: 1 })
63
- .endOf('hour')
64
- .startOf('second');
65
- if (this._date >= prev) {
66
- this._date = this._date.minus({ hours: 1 });
67
- }
68
- };
69
-
70
- CronDate.prototype.subtractMinute = function() {
71
- var prev = this._date;
72
- this._date = this._date.minus({ minutes: 1 })
73
- .endOf('minute')
74
- .startOf('second');
75
- if (this._date > prev) {
76
- this._date = this._date.minus({ hours: 1 });
77
- }
78
- };
79
-
80
- CronDate.prototype.subtractSecond = function() {
81
- var prev = this._date;
82
- this._date = this._date
83
- .minus({ seconds: 1 })
84
- .startOf('second');
85
- if (this._date > prev) {
86
- this._date = this._date.minus({ hours: 1 });
87
- }
88
- };
89
-
90
- CronDate.prototype.getDate = function() {
91
- return this._date.day;
92
- };
93
-
94
- CronDate.prototype.getFullYear = function() {
95
- return this._date.year;
96
- };
97
-
98
- CronDate.prototype.getDay = function() {
99
- var weekday = this._date.weekday;
100
- return weekday == 7 ? 0 : weekday;
101
- };
102
-
103
- CronDate.prototype.getMonth = function() {
104
- return this._date.month - 1;
105
- };
106
-
107
- CronDate.prototype.getHours = function() {
108
- return this._date.hour;
109
- };
110
-
111
- CronDate.prototype.getMinutes = function() {
112
- return this._date.minute;
113
- };
114
-
115
- CronDate.prototype.getSeconds = function() {
116
- return this._date.second;
117
- };
118
-
119
- CronDate.prototype.getMilliseconds = function() {
120
- return this._date.millisecond;
121
- };
122
-
123
- CronDate.prototype.getTime = function() {
124
- return this._date.valueOf();
125
- };
126
-
127
- CronDate.prototype.getUTCDate = function() {
128
- return this._getUTC().day;
129
- };
130
-
131
- CronDate.prototype.getUTCFullYear = function() {
132
- return this._getUTC().year;
133
- };
134
-
135
- CronDate.prototype.getUTCDay = function() {
136
- var weekday = this._getUTC().weekday;
137
- return weekday == 7 ? 0 : weekday;
138
- };
139
-
140
- CronDate.prototype.getUTCMonth = function() {
141
- return this._getUTC().month - 1;
142
- };
143
-
144
- CronDate.prototype.getUTCHours = function() {
145
- return this._getUTC().hour;
146
- };
147
-
148
- CronDate.prototype.getUTCMinutes = function() {
149
- return this._getUTC().minute;
150
- };
151
-
152
- CronDate.prototype.getUTCSeconds = function() {
153
- return this._getUTC().second;
154
- };
155
-
156
- CronDate.prototype.toISOString = function() {
157
- return this._date.toUTC().toISO();
158
- };
159
-
160
- CronDate.prototype.toJSON = function() {
161
- return this._date.toJSON();
162
- };
163
-
164
- CronDate.prototype.setDate = function(d) {
165
- this._date = this._date.set({ day: d });
166
- };
167
-
168
- CronDate.prototype.setFullYear = function(y) {
169
- this._date = this._date.set({ year: y });
170
- };
171
-
172
- CronDate.prototype.setDay = function(d) {
173
- this._date = this._date.set({ weekday: d });
174
- };
175
-
176
- CronDate.prototype.setMonth = function(m) {
177
- this._date = this._date.set({ month: m + 1 });
178
- };
179
-
180
- CronDate.prototype.setHours = function(h) {
181
- this._date = this._date.set({ hour: h });
182
- };
183
-
184
- CronDate.prototype.setMinutes = function(m) {
185
- this._date = this._date.set({ minute: m });
186
- };
187
-
188
- CronDate.prototype.setSeconds = function(s) {
189
- this._date = this._date.set({ second: s });
190
- };
191
-
192
- CronDate.prototype.setMilliseconds = function(s) {
193
- this._date = this._date.set({ millisecond: s });
194
- };
195
-
196
- CronDate.prototype._getUTC = function() {
197
- return this._date.toUTC();
198
- };
199
-
200
- CronDate.prototype.toString = function() {
201
- return this.toDate().toString();
202
- };
203
-
204
- CronDate.prototype.toDate = function() {
205
- return this._date.toJSDate();
206
- };
207
-
208
- CronDate.prototype.isLastDayOfMonth = function() {
209
- //next day
210
- var newDate = this._date.plus({ days: 1 }).startOf('day');
211
- return this._date.month !== newDate.month;
212
- };
213
-
214
- /**
215
- * Returns true when the current weekday is the last occurrence of this weekday
216
- * for the present month.
217
- */
218
- CronDate.prototype.isLastWeekdayOfMonth = function() {
219
- // Check this by adding 7 days to the current date and seeing if it's
220
- // a different month
221
- var newDate = this._date.plus({ days: 7 }).startOf('day');
222
- return this._date.month !== newDate.month;
223
- };
224
-
225
- function CronDate (timestamp, tz) {
226
- var dateOpts = { zone: tz };
227
- if (!timestamp) {
228
- this._date = luxon.DateTime.local();
229
- } else if (timestamp instanceof CronDate) {
230
- this._date = timestamp._date;
231
- } else if (timestamp instanceof Date) {
232
- this._date = luxon.DateTime.fromJSDate(timestamp, dateOpts);
233
- } else if (typeof timestamp === 'number') {
234
- this._date = luxon.DateTime.fromMillis(timestamp, dateOpts);
235
- } else if (typeof timestamp === 'string') {
236
- this._date = luxon.DateTime.fromISO(timestamp, dateOpts);
237
- this._date.isValid || (this._date = luxon.DateTime.fromRFC2822(timestamp, dateOpts));
238
- this._date.isValid || (this._date = luxon.DateTime.fromSQL(timestamp, dateOpts));
239
- // RFC2822-like format without the required timezone offset (used in tests)
240
- this._date.isValid || (this._date = luxon.DateTime.fromFormat(timestamp, 'EEE, d MMM yyyy HH:mm:ss', dateOpts));
241
- }
242
-
243
- if (!this._date || !this._date.isValid) {
244
- throw new Error('CronDate: unhandled timestamp: ' + JSON.stringify(timestamp));
245
- }
246
-
247
- if (tz && tz !== this._date.zoneName) {
248
- this._date = this._date.setZone(tz);
249
- }
250
- }
251
-
252
- module.exports = CronDate;