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

automatic-semicolon-insertion

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automatic-semicolon-insertion - npm Package Compare versions

Comparing version 2.0.4 to 2.0.5

10

package.json
{
"name": "automatic-semicolon-insertion",
"version": "2.0.4",
"version": "2.0.5",
"description": "Insert missing semicolons, remove unneeded ones.",

@@ -34,7 +34,7 @@ "main": "src/index.js",

"dependencies": {
"@babel/traverse": "^7.5.5",
"@babel/types": "^7.5.5"
"@babel/traverse": "^7.6.2",
"@babel/types": "^7.6.1"
},
"devDependencies": {
"@babel/parser": "^7.5.5",
"@codemod/parser": "^1.0.3",
"@types/babel__traverse": "^7.0.7",

@@ -49,3 +49,3 @@ "@types/jest": "^24.0.15",

"resolutions": {
"**/@babel/types": "7.5.5"
"**/@babel/types": "7.6.1"
},

@@ -52,0 +52,0 @@ "publishConfig": {

@@ -16,6 +16,6 @@ # automatic-semicolon-insertion

```js
import asi from 'automatic-semicolon-insertion';
import { parse } from '@babel/parser';
import asi from "automatic-semicolon-insertion";
import { parse } from "@codemod/parser";
const source = 'let a = class {}'; // should have a semicolon after it
const source = "let a = class {}"; // should have a semicolon after it

@@ -22,0 +22,0 @@ console.log(asi(source, parse(source)));

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