ts-enum-util
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -91,5 +91,3 @@ "use strict"; | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? undefined : _this.keysList[index] | ||
value: _this.keysList[index] | ||
}; | ||
@@ -122,5 +120,3 @@ ++index; | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? undefined : _this.valuesList[index] | ||
value: _this.valuesList[index] | ||
}; | ||
@@ -150,6 +146,4 @@ ++index; | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
// NOTE: defensive copy not necessary because entries are "frozen" | ||
value: isDone ? undefined : _this[index] | ||
value: _this[index] | ||
}; | ||
@@ -156,0 +150,0 @@ ++index; |
@@ -89,5 +89,3 @@ /** | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? undefined : _this.keysList[index] | ||
value: _this.keysList[index] | ||
}; | ||
@@ -120,5 +118,3 @@ ++index; | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? undefined : _this.valuesList[index] | ||
value: _this.valuesList[index] | ||
}; | ||
@@ -148,6 +144,4 @@ ++index; | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
// NOTE: defensive copy not necessary because entries are "frozen" | ||
value: isDone ? undefined : _this[index] | ||
value: _this[index] | ||
}; | ||
@@ -154,0 +148,0 @@ ++index; |
{ | ||
"name": "ts-enum-util", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript Enum Utilities", | ||
@@ -50,3 +50,3 @@ "repository": { | ||
"devDependencies": { | ||
"@types/jest": "22.2.3", | ||
"@types/jest": "23.0.0", | ||
"@types/node": "10.3.0", | ||
@@ -57,3 +57,3 @@ "coveralls": "3.0.1", | ||
"npm-run-all": "4.1.3", | ||
"prettier": "1.13.3", | ||
"prettier": "1.13.4", | ||
"rimraf": "2.6.2", | ||
@@ -60,0 +60,0 @@ "ts-jest": "22.4.6", |
@@ -205,5 +205,3 @@ /** | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? (undefined as any) : this.keysList[index] | ||
value: this.keysList[index] | ||
}; | ||
@@ -238,5 +236,3 @@ | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
value: isDone ? (undefined as any) : this.valuesList[index] | ||
value: this.valuesList[index] | ||
}; | ||
@@ -268,6 +264,4 @@ | ||
done: isDone, | ||
// "as any" cast is necessary to work around this bug: | ||
// https://github.com/Microsoft/TypeScript/issues/11375 | ||
// NOTE: defensive copy not necessary because entries are "frozen" | ||
value: isDone ? (undefined as any) : this[index] | ||
value: this[index] | ||
}; | ||
@@ -274,0 +268,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156290
2163