@sepveneto/dnde-core 0.3.0 → 0.3.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.
|
@@ -112,19 +112,6 @@ var RootNode = class {
|
|
|
112
112
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
113
113
|
this.style = (info == null ? void 0 : info.style) || {};
|
|
114
114
|
}
|
|
115
|
-
validate(only = false) {
|
|
116
|
-
return __async(this, null, function* () {
|
|
117
|
-
if (only || !this.list) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
for (const item of this.list) {
|
|
121
|
-
const invalid = yield item.validate();
|
|
122
|
-
if (invalid) {
|
|
123
|
-
return invalid;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
115
|
};
|
|
129
116
|
|
|
130
117
|
export {
|
package/dist/class/Node.cjs
CHANGED
|
@@ -168,19 +168,6 @@ var RootNode = class {
|
|
|
168
168
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
169
169
|
this.style = (info == null ? void 0 : info.style) || {};
|
|
170
170
|
}
|
|
171
|
-
validate(only = false) {
|
|
172
|
-
return __async(this, null, function* () {
|
|
173
|
-
if (only || !this.list) {
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
for (const item of this.list) {
|
|
177
|
-
const invalid = yield item.validate();
|
|
178
|
-
if (invalid) {
|
|
179
|
-
return invalid;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
171
|
};
|
|
185
172
|
// Annotate the CommonJS export names for ESM import in node:
|
|
186
173
|
0 && (module.exports = {
|
package/dist/class/Node.d.cts
CHANGED
package/dist/class/Node.d.ts
CHANGED
package/dist/class/Node.js
CHANGED
package/dist/class/index.cjs
CHANGED
|
@@ -251,19 +251,6 @@ var RootNode = class {
|
|
|
251
251
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
252
252
|
this.style = (info == null ? void 0 : info.style) || {};
|
|
253
253
|
}
|
|
254
|
-
validate(only = false) {
|
|
255
|
-
return __async(this, null, function* () {
|
|
256
|
-
if (only || !this.list) {
|
|
257
|
-
return;
|
|
258
|
-
}
|
|
259
|
-
for (const item of this.list) {
|
|
260
|
-
const invalid = yield item.validate();
|
|
261
|
-
if (invalid) {
|
|
262
|
-
return invalid;
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
254
|
};
|
|
268
255
|
// Annotate the CommonJS export names for ESM import in node:
|
|
269
256
|
0 && (module.exports = {
|
package/dist/class/index.js
CHANGED