automatic-semicolon-insertion
Advanced tools
Comparing version 2.0.4 to 2.0.5
{ | ||
"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))); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8498
Updated@babel/traverse@^7.6.2
Updated@babel/types@^7.6.1