greybel-mock-environment 2.4.35 → 2.4.37
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.
|
@@ -104,7 +104,6 @@ var Entity = /** @class */ (function (_super) {
|
|
|
104
104
|
Entity.prototype.rename = function (newName) {
|
|
105
105
|
if (this.isProtected)
|
|
106
106
|
return false;
|
|
107
|
-
this.name = newName;
|
|
108
107
|
if (this.parent) {
|
|
109
108
|
var parent = this.parent;
|
|
110
109
|
if (Folder.isFolder(this)) {
|
|
@@ -116,6 +115,7 @@ var Entity = /** @class */ (function (_super) {
|
|
|
116
115
|
parent.files.set(newName, this);
|
|
117
116
|
}
|
|
118
117
|
}
|
|
118
|
+
this.name = newName;
|
|
119
119
|
return true;
|
|
120
120
|
};
|
|
121
121
|
Entity.prototype.getTraversalPath = function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "greybel-mock-environment",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.37",
|
|
4
4
|
"description": "Mock environment",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"typings": "dist/index",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@types/random-seed": "^0.3.3",
|
|
51
51
|
"blueimp-md5": "^2.19.0",
|
|
52
|
-
"greyscript-core": "~2.5.
|
|
52
|
+
"greyscript-core": "~2.5.5",
|
|
53
53
|
"random-seed": "^0.3.0",
|
|
54
54
|
"random-username-generator": "^1.0.4"
|
|
55
55
|
}
|