rrule-temporal 1.1.9 → 1.1.10

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.
@@ -1,4 +1,6 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
2
4
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
3
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
4
6
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -14,6 +16,7 @@ var __spreadValues = (a, b) => {
14
16
  }
15
17
  return a;
16
18
  };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
17
20
 
18
21
  // src/index.ts
19
22
  import { Temporal } from "@js-temporal/polyfill";
@@ -149,7 +152,11 @@ var RRuleTemporal = class _RRuleTemporal {
149
152
  const parsed = parseRRuleString(params.rruleString, params.tzid);
150
153
  this.tzid = (_b = (_a = parsed.tzid) != null ? _a : params.tzid) != null ? _b : "UTC";
151
154
  this.originalDtstart = parsed.dtstart;
152
- manual = __spreadValues(__spreadValues({}, params), parsed);
155
+ manual = __spreadProps(__spreadValues({}, parsed), {
156
+ maxIterations: params.maxIterations,
157
+ includeDtstart: params.includeDtstart,
158
+ tzid: this.tzid
159
+ });
153
160
  } else {
154
161
  manual = __spreadValues({}, params);
155
162
  if (typeof manual.dtstart === "string") {
package/dist/index.cjs CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
7
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
@@ -17,6 +19,7 @@ var __spreadValues = (a, b) => {
17
19
  }
18
20
  return a;
19
21
  };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
23
  var __export = (target, all) => {
21
24
  for (var name in all)
22
25
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -170,7 +173,11 @@ var RRuleTemporal = class _RRuleTemporal {
170
173
  const parsed = parseRRuleString(params.rruleString, params.tzid);
171
174
  this.tzid = (_b = (_a = parsed.tzid) != null ? _a : params.tzid) != null ? _b : "UTC";
172
175
  this.originalDtstart = parsed.dtstart;
173
- manual = __spreadValues(__spreadValues({}, params), parsed);
176
+ manual = __spreadProps(__spreadValues({}, parsed), {
177
+ maxIterations: params.maxIterations,
178
+ includeDtstart: params.includeDtstart,
179
+ tzid: this.tzid
180
+ });
174
181
  } else {
175
182
  manual = __spreadValues({}, params);
176
183
  if (typeof manual.dtstart === "string") {
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RRuleTemporal
3
- } from "./chunk-EPQ2H4J3.js";
3
+ } from "./chunk-YX5OAV6O.js";
4
4
  export {
5
5
  RRuleTemporal
6
6
  };
package/dist/totext.cjs CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
7
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
@@ -17,6 +19,7 @@ var __spreadValues = (a, b) => {
17
19
  }
18
20
  return a;
19
21
  };
22
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
23
  var __export = (target, all) => {
21
24
  for (var name in all)
22
25
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -172,7 +175,11 @@ var RRuleTemporal = class _RRuleTemporal {
172
175
  const parsed = parseRRuleString(params.rruleString, params.tzid);
173
176
  this.tzid = (_b = (_a = parsed.tzid) != null ? _a : params.tzid) != null ? _b : "UTC";
174
177
  this.originalDtstart = parsed.dtstart;
175
- manual = __spreadValues(__spreadValues({}, params), parsed);
178
+ manual = __spreadProps(__spreadValues({}, parsed), {
179
+ maxIterations: params.maxIterations,
180
+ includeDtstart: params.includeDtstart,
181
+ tzid: this.tzid
182
+ });
176
183
  } else {
177
184
  manual = __spreadValues({}, params);
178
185
  if (typeof manual.dtstart === "string") {
package/dist/totext.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RRuleTemporal
3
- } from "./chunk-EPQ2H4J3.js";
3
+ } from "./chunk-YX5OAV6O.js";
4
4
 
5
5
  // src/totext.ts
6
6
  var en = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrule-temporal",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "Recurrence rule processing using Temporal PlainDate/PlainDateTime",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",