jsfunx 1.2.2 → 1.2.3

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/jsfunx.cjs CHANGED
@@ -1932,10 +1932,11 @@ function useStrict(func, args, optional_or_postArgs = 0, postArgs = false) {
1932
1932
  if (
1933
1933
  typeof optional_or_postArgs === "boolean" ||
1934
1934
  optional_or_postArgs instanceof Boolean
1935
- )
1935
+ ) {
1936
1936
  strict(func, args, 0, optional_or_postArgs);
1937
1937
 
1938
- return;
1938
+ return;
1939
+ }
1939
1940
  }
1940
1941
 
1941
1942
  strict(func, args, optional_or_postArgs, postArgs);
package/jsfunx.mjs CHANGED
@@ -1941,10 +1941,11 @@ export function useStrict(
1941
1941
  if (
1942
1942
  typeof optional_or_postArgs === "boolean" ||
1943
1943
  optional_or_postArgs instanceof Boolean
1944
- )
1944
+ ) {
1945
1945
  strict(func, args, 0, optional_or_postArgs);
1946
1946
 
1947
- return;
1947
+ return;
1948
+ }
1948
1949
  }
1949
1950
 
1950
1951
  strict(func, args, optional_or_postArgs, postArgs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsfunx",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "JavaScript utility functions for cleaner, more readable code",
5
5
  "main": "./jsfunx.cjs",
6
6
  "module": "./jsfunx.mjs",