Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firescript-linter

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firescript-linter - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

10

package.json
{
"name": "firescript-linter",
"version": "0.10.0",
"version": "0.10.1",
"description": "Linter for Firescript",

@@ -24,6 +24,6 @@ "main": "app.js",

"eslint-plugin-standard": "^5.0.0",
"firescript": "^0.16.5",
"firescript-parser": "^0.5.3",
"firescript": "^0.17.0",
"firescript-parser": "^0.5.4",
"firescript-syntax-test": "^0.1.0",
"firescript-test": "^0.10.15",
"firescript-test": "^0.10.16",
"git-hooks": "^1.1.10",

@@ -34,4 +34,4 @@ "inspect.js": "^1.12.4",

"dependencies": {
"colorfy": "^2.1.3"
"colorfy": "^2.2.0"
}
}

@@ -6,3 +6,7 @@ const LinterNode = require('../LinterNode').LinterNode

lint (ast) {
this.addScopeFunc(ast.id.name, this.astGetParams(ast))
if (ast.id) {
this.addScopeFunc(ast.id.name, this.astGetParams(ast))
} else {
this.debug(`Handle function types of ${ast.type}`)
}
this.setNewScope() // set function scope

@@ -9,0 +13,0 @@

@@ -39,3 +39,5 @@ const path = require('path')

const paths = this.getRequirePaths()
require.resolve(modulePath, paths)
require.resolve(modulePath, {
paths: paths
})
return true

@@ -60,4 +62,2 @@ } catch (err) {

paths.push(`${process.env.HOME}/.node_modules`)
paths.push(`${process.env.HOME}/.node_libraries`)
return paths

@@ -64,0 +64,0 @@ }

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