🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ts-enum-util

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-enum-util - npm Package Compare versions

Comparing version

to
3.0.4

12

dist/commonjs/index.js

@@ -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