@quenty/valuebaseutils 3.2.0 → 3.4.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 CHANGED
@@ -3,6 +3,28 @@
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
+ # [3.4.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@3.3.0...@quenty/valuebaseutils@3.4.0) (2021-12-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * ValueObject does not fire .Changed on cleanup. ([ffd1a82](https://github.com/Quenty/NevermoreEngine/commit/ffd1a82e9db55891672a439285731dbf99d19ad1))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.3.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@3.2.0...@quenty/valuebaseutils@3.3.0) (2021-11-20)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * Support MacOS syncing ([#225](https://github.com/Quenty/NevermoreEngine/issues/225)) ([03f9183](https://github.com/Quenty/NevermoreEngine/commit/03f918392c6a5bdd33f8a17c38de371d1e06c67a))
23
+
24
+
25
+
26
+
27
+
6
28
  # [3.2.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/valuebaseutils@3.1.2...@quenty/valuebaseutils@3.2.0) (2021-10-30)
7
29
 
8
30
  **Note:** Version bump only for package @quenty/valuebaseutils
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/valuebaseutils",
3
- "version": "3.2.0",
3
+ "version": "3.4.0",
4
4
  "description": "Provides utilities for working with valuesbase objects, like IntValue or ObjectValue in Roblox.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -25,13 +25,13 @@
25
25
  "Quenty"
26
26
  ],
27
27
  "dependencies": {
28
- "@quenty/brio": "^3.2.0",
29
- "@quenty/instanceutils": "^3.2.0",
28
+ "@quenty/brio": "^3.4.0",
29
+ "@quenty/instanceutils": "^3.4.0",
30
30
  "@quenty/loader": "^3.1.1",
31
- "@quenty/promise": "^3.1.2"
31
+ "@quenty/promise": "^3.2.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "010eff28095b349f39e02d08844d33f9f733b31f"
36
+ "gitHead": "8a33939501e25cf227e96f7eb0d1a23b86f10f3c"
37
37
  }
@@ -4,6 +4,10 @@
4
4
 
5
5
  local ValueBaseUtils = {}
6
6
 
7
+ function ValueBaseUtils.isValueBase(instance)
8
+ return typeof(instance) == "Instance" and instance.ClassName:sub(-#"Value") == "Value"
9
+ end
10
+
7
11
  function ValueBaseUtils.getOrCreateValue(parent, instanceType, name, defaultValue)
8
12
  assert(typeof(parent) == "Instance", "Bad argument 'parent'")
9
13
  assert(type(instanceType) == "string", "Bad argument 'instanceType'")
@@ -2,6 +2,6 @@
2
2
  "name": "node_modules",
3
3
  "globIgnorePaths": [ "**/.package-lock.json" ],
4
4
  "tree": {
5
- "$path": { "optional": "..\\node_modules" }
5
+ "$path": { "optional": "../node_modules" }
6
6
  }
7
7
  }