@cocreate/utils 1.42.0 → 1.42.1
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 +7 -0
- package/index.cjs +3 -0
- package/package.json +3 -7
- package/src/index.js +3 -3
- package/src/operators copy.js +687 -0
- package/src/operators.js +407 -526
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.42.1](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.42.0...v1.42.1) (2026-03-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* index.cjs ([3d74325](https://github.com/CoCreate-app/CoCreate-utils/commit/3d74325bc406161a97348be43a510c1c180fbc6e))
|
|
7
|
+
|
|
1
8
|
# [1.42.0](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.41.2...v1.42.0) (2026-03-01)
|
|
2
9
|
|
|
3
10
|
|
package/index.cjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/utils",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.1",
|
|
4
4
|
"description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utils",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"type": "GitHub Sponsors ❤",
|
|
40
40
|
"url": "https://github.com/sponsors/CoCreate-app"
|
|
41
41
|
},
|
|
42
|
-
"main": "./dist/cjs/index.
|
|
42
|
+
"main": "./dist/cjs/index.cjs",
|
|
43
43
|
"module": "./dist/esm/index.js",
|
|
44
44
|
"exports": {
|
|
45
45
|
".": {
|
|
46
46
|
"import": "./dist/esm/index.js",
|
|
47
|
-
"require": "./dist/cjs/index.
|
|
47
|
+
"require": "./dist/cjs/index.cjs"
|
|
48
48
|
},
|
|
49
49
|
"./getRelativePath": {
|
|
50
50
|
"import": "./dist/esm/getRelativePath.js",
|
|
@@ -134,10 +134,6 @@
|
|
|
134
134
|
"import": "./dist/esm/attributes.js",
|
|
135
135
|
"require": "./dist/cjs/attributes.js"
|
|
136
136
|
},
|
|
137
|
-
"./safeParse": {
|
|
138
|
-
"import": "./dist/esm/safeParse.js",
|
|
139
|
-
"require": "./dist/cjs/safeParse.js"
|
|
140
|
-
},
|
|
141
137
|
"./processOperators": {
|
|
142
138
|
"import": "./dist/esm/operators.js",
|
|
143
139
|
"require": "./dist/cjs/operators.js"
|
package/src/index.js
CHANGED
|
@@ -15,7 +15,7 @@ export { cssPath } from "./cssPath.js";
|
|
|
15
15
|
export { queryElements, checkMediaQueries } from "./queryElements.js";
|
|
16
16
|
export { queryData, searchData, sortData } from "./dataQuery.js";
|
|
17
17
|
export { getAttributes, getAttributeNames, setAttributeNames } from "./attributes.js";
|
|
18
|
-
export { safeParse } from "./safeParse.js";
|
|
18
|
+
// export { safeParse } from "./safeParse.js";
|
|
19
19
|
export { clickedElement } from "./clickedElement.js";
|
|
20
20
|
export { processOperators, processOperatorsAsync } from "./operators.js";
|
|
21
21
|
|
|
@@ -36,7 +36,7 @@ import { cssPath } from "./cssPath.js";
|
|
|
36
36
|
import { queryElements, checkMediaQueries } from "./queryElements.js";
|
|
37
37
|
import { queryData, searchData, sortData } from "./dataQuery.js";
|
|
38
38
|
import { getAttributes, getAttributeNames, setAttributeNames } from "./attributes.js";
|
|
39
|
-
import { safeParse } from "./safeParse.js";
|
|
39
|
+
// import { safeParse } from "./safeParse.js";
|
|
40
40
|
import { processOperators, processOperatorsAsync } from "./operators.js";
|
|
41
41
|
|
|
42
42
|
const utils = {
|
|
@@ -62,7 +62,7 @@ const utils = {
|
|
|
62
62
|
getAttributes,
|
|
63
63
|
setAttributeNames,
|
|
64
64
|
getAttributeNames,
|
|
65
|
-
safeParse,
|
|
65
|
+
// safeParse,
|
|
66
66
|
processOperators,
|
|
67
67
|
processOperatorsAsync
|
|
68
68
|
};
|