rrule-rust 2.0.0-next.6 → 2.0.0-next.8
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.
|
@@ -88,12 +88,13 @@ export class RRuleDateTime {
|
|
|
88
88
|
get minute(): number
|
|
89
89
|
get second(): number
|
|
90
90
|
get millisecond(): number
|
|
91
|
-
|
|
91
|
+
toString(): string
|
|
92
92
|
toDate(): Date
|
|
93
93
|
toUtcDate(): Date
|
|
94
94
|
}
|
|
95
95
|
export class RRuleSet {
|
|
96
96
|
constructor(dtstart: RRuleDateTime | Date)
|
|
97
|
+
setFromString(str: string): this
|
|
97
98
|
static parse(str: string): RRuleSet
|
|
98
99
|
toString(): string
|
|
99
100
|
addRrule(jsRrule: RRule): this
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rrule-rust",
|
|
3
|
-
"version": "2.0.0-next.
|
|
4
|
-
"main": "index.js",
|
|
5
|
-
"types": "index.d.ts",
|
|
3
|
+
"version": "2.0.0-next.8",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"rrule",
|
|
8
8
|
"icalendar",
|
|
@@ -41,32 +41,34 @@
|
|
|
41
41
|
},
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"@commitlint/cli": "^19.3.0",
|
|
45
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
44
46
|
"@napi-rs/cli": "^2.18.2",
|
|
45
47
|
"@semantic-release/git": "^10.0.1",
|
|
46
48
|
"@types/jest": "^29.5.0",
|
|
47
|
-
"@types/node": "^
|
|
49
|
+
"@types/node": "^20.12.8",
|
|
48
50
|
"@typescript-eslint/eslint-plugin": "^5.50.0",
|
|
49
51
|
"@typescript-eslint/parser": "^5.50.0",
|
|
50
52
|
"benny": "^3.7.1",
|
|
51
53
|
"conventional-changelog-conventionalcommits": "^7.0.2",
|
|
54
|
+
"cpy-cli": "^5.0.0",
|
|
52
55
|
"eslint": "^8.33.0",
|
|
53
56
|
"eslint-config-prettier": "^8.6.0",
|
|
54
57
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
55
58
|
"eslint-plugin-import": "^2.27.5",
|
|
56
59
|
"eslint-plugin-prettier": "^4.2.1",
|
|
60
|
+
"husky": "^9.0.11",
|
|
57
61
|
"jest": "^29.5.0",
|
|
58
|
-
"lint-staged": "^
|
|
59
|
-
"
|
|
62
|
+
"lint-staged": "^15.2.2",
|
|
63
|
+
"mkdirp": "^3.0.1",
|
|
60
64
|
"prettier": "^2.8.3",
|
|
65
|
+
"rimraf": "^5.0.5",
|
|
61
66
|
"rrule": "^2.7.2",
|
|
62
|
-
"semantic-release": "^
|
|
67
|
+
"semantic-release": "^23.0.8",
|
|
63
68
|
"ts-jest": "^29.0.5",
|
|
64
69
|
"ts-node": "^10.9.1",
|
|
65
|
-
"typescript": "^4.
|
|
70
|
+
"typescript": "^5.4.5"
|
|
66
71
|
},
|
|
67
|
-
"pre-commit": [
|
|
68
|
-
"lint:fix-staged"
|
|
69
|
-
],
|
|
70
72
|
"lint-staged": {
|
|
71
73
|
"**/*.{js,ts,json}": "eslint --fix --max-warnings=0",
|
|
72
74
|
"**/*.rs": "rustfmt"
|
|
@@ -76,33 +78,35 @@
|
|
|
76
78
|
},
|
|
77
79
|
"scripts": {
|
|
78
80
|
"artifacts": "napi artifacts",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
+
"prebuild": "rimraf ./dist && mkdirp ./dist",
|
|
82
|
+
"postbuild": "cpy ./*.node ./dist && rimraf --glob ./*.node",
|
|
83
|
+
"build": "napi build --js dist/index.js --dts dist/index.d.ts --platform --release",
|
|
81
84
|
"prepublishOnly": "napi prepublish -t npm",
|
|
82
85
|
"test": "jest",
|
|
83
86
|
"universal": "napi universal",
|
|
84
87
|
"version": "napi version",
|
|
85
88
|
"benchmark": "ts-node ./benchmark/index.ts",
|
|
86
89
|
"lint": "cargo fmt --all -- --check && eslint \"**/*.{js,ts,json}\" --max-warnings=0",
|
|
87
|
-
"lint:fix": "cargo fmt --all && npm run lint --fix",
|
|
88
|
-
"lint:fix-staged": "lint-staged"
|
|
90
|
+
"lint:fix": "cargo fmt --all && npm run lint -- --fix",
|
|
91
|
+
"lint:fix-staged": "lint-staged",
|
|
92
|
+
"prepare": "husky && npm run build"
|
|
89
93
|
},
|
|
90
94
|
"optionalDependencies": {
|
|
91
|
-
"@rrule-rust/lib-win32-x64-msvc": "2.0.0-next.
|
|
92
|
-
"@rrule-rust/lib-darwin-x64": "2.0.0-next.
|
|
93
|
-
"@rrule-rust/lib-linux-x64-gnu": "2.0.0-next.
|
|
94
|
-
"@rrule-rust/lib-darwin-arm64": "2.0.0-next.
|
|
95
|
-
"@rrule-rust/lib-android-arm64": "2.0.0-next.
|
|
96
|
-
"@rrule-rust/lib-linux-arm64-gnu": "2.0.0-next.
|
|
97
|
-
"@rrule-rust/lib-linux-arm64-musl": "2.0.0-next.
|
|
98
|
-
"@rrule-rust/lib-win32-arm64-msvc": "2.0.0-next.
|
|
99
|
-
"@rrule-rust/lib-linux-arm-gnueabihf": "2.0.0-next.
|
|
100
|
-
"@rrule-rust/lib-linux-arm-musleabihf": "2.0.0-next.
|
|
101
|
-
"@rrule-rust/lib-linux-x64-musl": "2.0.0-next.
|
|
102
|
-
"@rrule-rust/lib-freebsd-x64": "2.0.0-next.
|
|
103
|
-
"@rrule-rust/lib-win32-ia32-msvc": "2.0.0-next.
|
|
104
|
-
"@rrule-rust/lib-android-arm-eabi": "2.0.0-next.
|
|
105
|
-
"@rrule-rust/lib-darwin-universal": "2.0.0-next.
|
|
106
|
-
"@rrule-rust/lib-linux-riscv64-gnu": "2.0.0-next.
|
|
95
|
+
"@rrule-rust/lib-win32-x64-msvc": "2.0.0-next.8",
|
|
96
|
+
"@rrule-rust/lib-darwin-x64": "2.0.0-next.8",
|
|
97
|
+
"@rrule-rust/lib-linux-x64-gnu": "2.0.0-next.8",
|
|
98
|
+
"@rrule-rust/lib-darwin-arm64": "2.0.0-next.8",
|
|
99
|
+
"@rrule-rust/lib-android-arm64": "2.0.0-next.8",
|
|
100
|
+
"@rrule-rust/lib-linux-arm64-gnu": "2.0.0-next.8",
|
|
101
|
+
"@rrule-rust/lib-linux-arm64-musl": "2.0.0-next.8",
|
|
102
|
+
"@rrule-rust/lib-win32-arm64-msvc": "2.0.0-next.8",
|
|
103
|
+
"@rrule-rust/lib-linux-arm-gnueabihf": "2.0.0-next.8",
|
|
104
|
+
"@rrule-rust/lib-linux-arm-musleabihf": "2.0.0-next.8",
|
|
105
|
+
"@rrule-rust/lib-linux-x64-musl": "2.0.0-next.8",
|
|
106
|
+
"@rrule-rust/lib-freebsd-x64": "2.0.0-next.8",
|
|
107
|
+
"@rrule-rust/lib-win32-ia32-msvc": "2.0.0-next.8",
|
|
108
|
+
"@rrule-rust/lib-android-arm-eabi": "2.0.0-next.8",
|
|
109
|
+
"@rrule-rust/lib-darwin-universal": "2.0.0-next.8",
|
|
110
|
+
"@rrule-rust/lib-linux-riscv64-gnu": "2.0.0-next.8"
|
|
107
111
|
}
|
|
108
112
|
}
|
|
File without changes
|