Socket
Socket
Sign inDemoInstall

@typescript-eslint/scope-manager

Package Overview
Dependencies
Maintainers
1
Versions
3098
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/scope-manager - npm Package Compare versions

Comparing version 4.0.2-alpha.1 to 4.0.2-alpha.2

9

dist/analyze.js

@@ -7,2 +7,3 @@ "use strict";

const ScopeManager_1 = require("./ScopeManager");
const lib_1 = require("./lib");
const DEFAULT_OPTIONS = {

@@ -20,7 +21,5 @@ childVisitorKeys: visitor_keys_1.visitorKeys,

}
if (version > 2000) {
return `es${version}`;
}
const year = 2015 + (version - 6);
return `es${year}`;
const year = version > 2000 ? version : 2015 + (version - 6);
const lib = `es${year}`;
return lib in lib_1.lib ? lib : year > 2020 ? 'esnext' : 'es5';
}

@@ -27,0 +26,0 @@ /**

{
"name": "@typescript-eslint/scope-manager",
"version": "4.0.2-alpha.1+bfe255fd",
"version": "4.0.2-alpha.2+20a7dcc8",
"description": "TypeScript scope analyser for ESLint",

@@ -42,8 +42,8 @@ "keywords": [

"dependencies": {
"@typescript-eslint/types": "4.0.2-alpha.1+bfe255fd",
"@typescript-eslint/visitor-keys": "4.0.2-alpha.1+bfe255fd"
"@typescript-eslint/types": "4.0.2-alpha.2+20a7dcc8",
"@typescript-eslint/visitor-keys": "4.0.2-alpha.2+20a7dcc8"
},
"devDependencies": {
"@types/glob": "*",
"@typescript-eslint/typescript-estree": "4.0.2-alpha.1+bfe255fd",
"@typescript-eslint/typescript-estree": "4.0.2-alpha.2+20a7dcc8",
"glob": "*",

@@ -68,3 +68,3 @@ "jest-specific-snapshot": "*",

},
"gitHead": "bfe255fde0cb5fe5e32c02eb5ba35d27fb23d9ea"
"gitHead": "20a7dcc808a39cd447d6e52fc5a1e1373d7122e9"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc