@quenty/undostack 7.17.0 → 7.17.1-canary.545.2374fb2.0
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/CHANGELOG.md +11 -0
- package/package.json +10 -10
- package/src/Shared/UndoStack.lua +2 -2
- package/src/Shared/UndoStackEntry.lua +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.17.1-canary.545.2374fb2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/undostack@7.17.0...@quenty/undostack@7.17.1-canary.545.2374fb2.0) (2025-04-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Add types to packages ([2374fb2](https://github.com/Quenty/NevermoreEngine/commit/2374fb2b043cfbe0e9b507b3316eec46a4e353a0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [7.17.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/undostack@7.16.2...@quenty/undostack@7.17.0) (2025-04-02)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/undostack
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/undostack",
|
|
3
|
-
"version": "7.17.0",
|
|
3
|
+
"version": "7.17.1-canary.545.2374fb2.0",
|
|
4
4
|
"description": "Generalized undo stack for Roblox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"Quenty"
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@quenty/baseobject": "
|
|
29
|
-
"@quenty/ducktype": "
|
|
30
|
-
"@quenty/instanceutils": "
|
|
31
|
-
"@quenty/loader": "
|
|
32
|
-
"@quenty/maid": "
|
|
33
|
-
"@quenty/promise": "
|
|
34
|
-
"@quenty/signal": "
|
|
35
|
-
"@quenty/valueobject": "
|
|
28
|
+
"@quenty/baseobject": "10.8.1-canary.545.2374fb2.0",
|
|
29
|
+
"@quenty/ducktype": "5.8.2-canary.545.2374fb2.0",
|
|
30
|
+
"@quenty/instanceutils": "13.17.1-canary.545.2374fb2.0",
|
|
31
|
+
"@quenty/loader": "10.8.1-canary.545.2374fb2.0",
|
|
32
|
+
"@quenty/maid": "3.4.1-canary.545.2374fb2.0",
|
|
33
|
+
"@quenty/promise": "10.10.2-canary.545.2374fb2.0",
|
|
34
|
+
"@quenty/signal": "7.10.1-canary.545.2374fb2.0",
|
|
35
|
+
"@quenty/valueobject": "13.17.1-canary.545.2374fb2.0"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2374fb2b043cfbe0e9b507b3316eec46a4e353a0"
|
|
41
41
|
}
|
package/src/Shared/UndoStack.lua
CHANGED
|
@@ -16,7 +16,7 @@ local UndoStack = setmetatable({}, BaseObject)
|
|
|
16
16
|
UndoStack.ClassName = "UndoStack"
|
|
17
17
|
UndoStack.__index = UndoStack
|
|
18
18
|
|
|
19
|
-
function UndoStack.new(maxSize)
|
|
19
|
+
function UndoStack.new(maxSize: number?)
|
|
20
20
|
local self = setmetatable(BaseObject.new(), UndoStack)
|
|
21
21
|
|
|
22
22
|
assert(type(maxSize) == "number" or maxSize == nil, "Bad maxSize")
|
|
@@ -47,7 +47,7 @@ end
|
|
|
47
47
|
Returns true if an action is executing
|
|
48
48
|
@return boolean
|
|
49
49
|
]=]
|
|
50
|
-
function UndoStack:IsActionExecuting()
|
|
50
|
+
function UndoStack:IsActionExecuting(): boolean
|
|
51
51
|
return self._isActionExecuting.Value
|
|
52
52
|
end
|
|
53
53
|
|