rrule-rust 2.0.1-next.1 → 2.0.1-next.2
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/lib/index.d.ts +1 -1
- package/dist/rrule-set.d.ts +4 -1
- package/dist/rrule-set.js +7 -4
- package/package.json +17 -17
package/dist/lib/index.d.ts
CHANGED
package/dist/rrule-set.d.ts
CHANGED
|
@@ -57,7 +57,10 @@ export declare class RRuleSet implements Iterable<DateTime> {
|
|
|
57
57
|
*/
|
|
58
58
|
toObject(): RRuleSetLike;
|
|
59
59
|
[Symbol.iterator](): {
|
|
60
|
-
next: () =>
|
|
60
|
+
next: () => {
|
|
61
|
+
done: true;
|
|
62
|
+
value: undefined;
|
|
63
|
+
} | {
|
|
61
64
|
done: boolean;
|
|
62
65
|
value: DateTime;
|
|
63
66
|
};
|
package/dist/rrule-set.js
CHANGED
|
@@ -170,16 +170,19 @@ class RRuleSet {
|
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
172
|
[Symbol.iterator]() {
|
|
173
|
-
const iter = this.toRust().iterator().iterator()
|
|
173
|
+
const iter = this.toRust().iterator().iterator();
|
|
174
174
|
return {
|
|
175
175
|
next: () => {
|
|
176
176
|
const result = iter.next();
|
|
177
|
-
if (result
|
|
178
|
-
return
|
|
177
|
+
if (result === null) {
|
|
178
|
+
return {
|
|
179
|
+
done: true,
|
|
180
|
+
value: undefined,
|
|
181
|
+
};
|
|
179
182
|
}
|
|
180
183
|
return {
|
|
181
184
|
done: false,
|
|
182
|
-
value: datetime_1.DateTime.fromNumeric(result
|
|
185
|
+
value: datetime_1.DateTime.fromNumeric(result),
|
|
183
186
|
};
|
|
184
187
|
},
|
|
185
188
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rrule-rust",
|
|
3
|
-
"version": "2.0.1-next.
|
|
3
|
+
"version": "2.0.1-next.2",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"keywords": [
|
|
@@ -93,21 +93,21 @@
|
|
|
93
93
|
"prepare": "husky && npm run build"
|
|
94
94
|
},
|
|
95
95
|
"optionalDependencies": {
|
|
96
|
-
"@rrule-rust/lib-win32-x64-msvc": "2.0.1-next.
|
|
97
|
-
"@rrule-rust/lib-darwin-x64": "2.0.1-next.
|
|
98
|
-
"@rrule-rust/lib-linux-x64-gnu": "2.0.1-next.
|
|
99
|
-
"@rrule-rust/lib-darwin-arm64": "2.0.1-next.
|
|
100
|
-
"@rrule-rust/lib-android-arm64": "2.0.1-next.
|
|
101
|
-
"@rrule-rust/lib-linux-arm64-gnu": "2.0.1-next.
|
|
102
|
-
"@rrule-rust/lib-linux-arm64-musl": "2.0.1-next.
|
|
103
|
-
"@rrule-rust/lib-win32-arm64-msvc": "2.0.1-next.
|
|
104
|
-
"@rrule-rust/lib-linux-arm-gnueabihf": "2.0.1-next.
|
|
105
|
-
"@rrule-rust/lib-linux-arm-musleabihf": "2.0.1-next.
|
|
106
|
-
"@rrule-rust/lib-linux-x64-musl": "2.0.1-next.
|
|
107
|
-
"@rrule-rust/lib-freebsd-x64": "2.0.1-next.
|
|
108
|
-
"@rrule-rust/lib-win32-ia32-msvc": "2.0.1-next.
|
|
109
|
-
"@rrule-rust/lib-android-arm-eabi": "2.0.1-next.
|
|
110
|
-
"@rrule-rust/lib-darwin-universal": "2.0.1-next.
|
|
111
|
-
"@rrule-rust/lib-linux-riscv64-gnu": "2.0.1-next.
|
|
96
|
+
"@rrule-rust/lib-win32-x64-msvc": "2.0.1-next.2",
|
|
97
|
+
"@rrule-rust/lib-darwin-x64": "2.0.1-next.2",
|
|
98
|
+
"@rrule-rust/lib-linux-x64-gnu": "2.0.1-next.2",
|
|
99
|
+
"@rrule-rust/lib-darwin-arm64": "2.0.1-next.2",
|
|
100
|
+
"@rrule-rust/lib-android-arm64": "2.0.1-next.2",
|
|
101
|
+
"@rrule-rust/lib-linux-arm64-gnu": "2.0.1-next.2",
|
|
102
|
+
"@rrule-rust/lib-linux-arm64-musl": "2.0.1-next.2",
|
|
103
|
+
"@rrule-rust/lib-win32-arm64-msvc": "2.0.1-next.2",
|
|
104
|
+
"@rrule-rust/lib-linux-arm-gnueabihf": "2.0.1-next.2",
|
|
105
|
+
"@rrule-rust/lib-linux-arm-musleabihf": "2.0.1-next.2",
|
|
106
|
+
"@rrule-rust/lib-linux-x64-musl": "2.0.1-next.2",
|
|
107
|
+
"@rrule-rust/lib-freebsd-x64": "2.0.1-next.2",
|
|
108
|
+
"@rrule-rust/lib-win32-ia32-msvc": "2.0.1-next.2",
|
|
109
|
+
"@rrule-rust/lib-android-arm-eabi": "2.0.1-next.2",
|
|
110
|
+
"@rrule-rust/lib-darwin-universal": "2.0.1-next.2",
|
|
111
|
+
"@rrule-rust/lib-linux-riscv64-gnu": "2.0.1-next.2"
|
|
112
112
|
}
|
|
113
113
|
}
|