remult 0.13.15 → 0.13.16
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/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
<a href="https://circleci.com/gh/remult/remult/tree/master">
|
|
7
7
|
<img alt="CircleCI" src="https://circleci.com/gh/remult/remult/tree/master.svg?style=svg">
|
|
8
8
|
</a>
|
|
9
|
-
<a href="https://
|
|
9
|
+
<a href="https://codecov.io/gh/remult/remult">
|
|
10
|
+
<img src="https://codecov.io/gh/remult/remult/branch/master/graph/badge.svg?token=LYWQRUN3D1"/>
|
|
11
|
+
</a>
|
|
12
|
+
<a href="https://raw.githubusercontent.com/remult/remult/master/LICENSE">
|
|
10
13
|
<img alt="GitHub license" src="https://img.shields.io/badge/license-MIT-blue.svg">
|
|
11
14
|
</a>
|
|
12
15
|
<a href="https://www.npmjs.com/package/remult">
|
|
@@ -15,6 +18,9 @@
|
|
|
15
18
|
<a href="https://www.npmjs.com/package/remult">
|
|
16
19
|
<img alt="npm downloads" src="https://img.shields.io/npm/dm/remult">
|
|
17
20
|
</a>
|
|
21
|
+
<a href="https://snyk.io/test/npm/remult">
|
|
22
|
+
<img alt="snyk" src="https://snyk.io/test/npm/remult/badge.svg"/>
|
|
23
|
+
</a>
|
|
18
24
|
</div>
|
|
19
25
|
|
|
20
26
|
## What is Remult?
|
|
@@ -524,7 +524,6 @@ var RepositoryImplementation = /** @class */ (function () {
|
|
|
524
524
|
RepositoryImplementation.prototype.create = function (item) {
|
|
525
525
|
var e_8, _a;
|
|
526
526
|
var r = new this.entity(this.remult);
|
|
527
|
-
var z = this.getEntityRef(r);
|
|
528
527
|
if (item)
|
|
529
528
|
try {
|
|
530
529
|
for (var _b = tslib_1.__values(this.metadata.fields), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
@@ -539,6 +538,7 @@ var RepositoryImplementation = /** @class */ (function () {
|
|
|
539
538
|
}
|
|
540
539
|
finally { if (e_8) throw e_8.error; }
|
|
541
540
|
}
|
|
541
|
+
var z = this.getEntityRef(r);
|
|
542
542
|
return r;
|
|
543
543
|
};
|
|
544
544
|
RepositoryImplementation.prototype.fromJson = function (json, newRow) {
|