Socket
Socket
Sign inDemoInstall

eslint-plugin-roblox-ts

Package Overview
Dependencies
115
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.30 to 0.0.31

2

out/index.js

@@ -58,3 +58,3 @@ "use strict";

...rules_1.robloxTSSettings({
"no-any": "error",
"no-any": "off",
"no-delete": "error",

@@ -61,0 +61,0 @@ "no-enum-merging": "error",

@@ -41,5 +41,5 @@ "use strict";

}
function isDefinitelyType(type, cb) {
function isDefinitelyType(type, callback) {
var _a;
return isDefinitelyTypeInner((_a = type.getConstraint()) !== null && _a !== void 0 ? _a : type, cb);
return isDefinitelyTypeInner((_a = type.getConstraint()) !== null && _a !== void 0 ? _a : type, callback);
}

@@ -66,9 +66,14 @@ exports.isDefinitelyType = isDefinitelyType;

}
function isPossiblyType(type, cb) {
function isPossiblyType(type, callback) {
var _a;
return isPossiblyTypeInner((_a = type.getConstraint()) !== null && _a !== void 0 ? _a : type, cb);
return isPossiblyTypeInner((_a = type.getConstraint()) !== null && _a !== void 0 ? _a : type, callback);
}
exports.isPossiblyType = isPossiblyType;
function isDefinedType(type) {
return (type.flags === typescript_1.default.TypeFlags.Object && type.getProperties().length === 0 && type.getCallSignatures().length === 0);
return (type.flags === typescript_1.default.TypeFlags.Object &&
type.getProperties().length === 0 &&
type.getCallSignatures().length === 0 &&
type.getConstructSignatures().length === 0 &&
type.getNumberIndexType() === undefined &&
type.getStringIndexType() === undefined);
}

@@ -75,0 +80,0 @@ exports.isDefinedType = isDefinedType;

{
"name": "eslint-plugin-roblox-ts",
"version": "0.0.30",
"version": "0.0.31",
"main": "out/index.js",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1"
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.3.2"
},

@@ -13,0 +13,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc