@tachybase/module-workflow 1.3.18 → 1.3.20

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 (62) 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 +19 -19
  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 +0 -4
  7. package/dist/node_modules/@babel/preset-env/lib/index.js +85 -104
  8. package/dist/node_modules/@babel/preset-env/package.json +1 -1
  9. package/dist/node_modules/@babel/preset-react/lib/index.js +20 -20
  10. package/dist/node_modules/@babel/preset-react/package.json +1 -1
  11. package/dist/node_modules/@babel/preset-typescript/lib/index.js +19 -19
  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/lib/date.js +252 -0
  15. package/dist/node_modules/cron-parser/lib/expression.js +1002 -0
  16. package/dist/node_modules/cron-parser/lib/field_compactor.js +70 -0
  17. package/dist/node_modules/cron-parser/lib/field_stringify.js +58 -0
  18. package/dist/node_modules/cron-parser/lib/parser.js +1 -0
  19. package/dist/node_modules/cron-parser/package.json +1 -1
  20. package/dist/node_modules/cron-parser/types/common.d.ts +131 -0
  21. package/dist/node_modules/cron-parser/types/index.d.ts +45 -0
  22. package/dist/node_modules/cron-parser/types/ts3/index.d.ts +28 -0
  23. package/dist/node_modules/form-data/lib/form_data.js +2 -2
  24. package/dist/node_modules/form-data/package.json +1 -1
  25. package/dist/node_modules/jsonata/package.json +1 -1
  26. package/dist/node_modules/lru-cache/package.json +1 -1
  27. package/dist/node_modules/mime-types/package.json +1 -1
  28. package/dist/node_modules/qrcode/package.json +1 -1
  29. package/package.json +23 -23
  30. package/dist/node_modules/cron-parser/dist/CronDate.js +0 -497
  31. package/dist/node_modules/cron-parser/dist/CronExpression.js +0 -376
  32. package/dist/node_modules/cron-parser/dist/CronExpressionParser.js +0 -384
  33. package/dist/node_modules/cron-parser/dist/CronFieldCollection.js +0 -371
  34. package/dist/node_modules/cron-parser/dist/CronFileParser.js +0 -109
  35. package/dist/node_modules/cron-parser/dist/fields/CronDayOfMonth.js +0 -44
  36. package/dist/node_modules/cron-parser/dist/fields/CronDayOfWeek.js +0 -51
  37. package/dist/node_modules/cron-parser/dist/fields/CronField.js +0 -183
  38. package/dist/node_modules/cron-parser/dist/fields/CronHour.js +0 -40
  39. package/dist/node_modules/cron-parser/dist/fields/CronMinute.js +0 -40
  40. package/dist/node_modules/cron-parser/dist/fields/CronMonth.js +0 -44
  41. package/dist/node_modules/cron-parser/dist/fields/CronSecond.js +0 -40
  42. package/dist/node_modules/cron-parser/dist/fields/index.js +0 -24
  43. package/dist/node_modules/cron-parser/dist/fields/types.js +0 -2
  44. package/dist/node_modules/cron-parser/dist/index.js +0 -1
  45. package/dist/node_modules/cron-parser/dist/types/CronDate.d.ts +0 -273
  46. package/dist/node_modules/cron-parser/dist/types/CronExpression.d.ts +0 -110
  47. package/dist/node_modules/cron-parser/dist/types/CronExpressionParser.d.ts +0 -70
  48. package/dist/node_modules/cron-parser/dist/types/CronFieldCollection.d.ts +0 -153
  49. package/dist/node_modules/cron-parser/dist/types/CronFileParser.d.ts +0 -30
  50. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfMonth.d.ts +0 -25
  51. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfWeek.d.ts +0 -30
  52. package/dist/node_modules/cron-parser/dist/types/fields/CronField.d.ts +0 -114
  53. package/dist/node_modules/cron-parser/dist/types/fields/CronHour.d.ts +0 -23
  54. package/dist/node_modules/cron-parser/dist/types/fields/CronMinute.d.ts +0 -23
  55. package/dist/node_modules/cron-parser/dist/types/fields/CronMonth.d.ts +0 -24
  56. package/dist/node_modules/cron-parser/dist/types/fields/CronSecond.d.ts +0 -23
  57. package/dist/node_modules/cron-parser/dist/types/fields/index.d.ts +0 -8
  58. package/dist/node_modules/cron-parser/dist/types/fields/types.d.ts +0 -18
  59. package/dist/node_modules/cron-parser/dist/types/index.d.ts +0 -8
  60. package/dist/node_modules/cron-parser/dist/types/utils/random.d.ts +0 -10
  61. package/dist/node_modules/cron-parser/dist/utils/random.js +0 -38
  62. package/dist/node_modules/form-data/README.md.bak +0 -355
@@ -1 +1 @@
1
- {"name":"@babel/preset-typescript","version":"7.27.1","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs","_lastModified":"2025-07-17T07:52:29.451Z"}
1
+ {"name":"@babel/preset-typescript","version":"7.27.1","description":"Babel preset for TypeScript.","repository":{"type":"git","url":"https://github.com/babel/babel.git","directory":"packages/babel-preset-typescript"},"license":"MIT","publishConfig":{"access":"public"},"main":"./lib/index.js","keywords":["babel-preset","typescript"],"dependencies":{"@babel/helper-plugin-utils":"^7.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"homepage":"https://babel.dev/docs/en/next/babel-preset-typescript","bugs":"https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22area%3A%20typescript%22+is%3Aopen","engines":{"node":">=6.9.0"},"author":"The Babel Team (https://babel.dev/team)","type":"commonjs","_lastModified":"2025-07-24T06:29:54.791Z"}
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2014-2023 Harri Siirak
3
+ Copyright (c) 2014-2016 Harri Siirak
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,252 @@
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;