melody-compiler
Advanced tools
Comparing version 1.2.0-commit.b0c42b3d to 1.2.0-commit.cd6a9bf1
{ | ||
"name": "melody-compiler", | ||
"version": "1.2.0-commit.b0c42b3d", | ||
"version": "1.2.0-commit.cd6a9bf1", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "main": "./lib/index.js", | ||
"lodash": "^4.12.0", | ||
"melody-code-frame": "1.2.0-commit.b0c42b3d", | ||
"melody-code-frame": "1.2.0-commit.cd6a9bf1", | ||
"random-seed": "^0.3.0" | ||
@@ -35,6 +35,6 @@ }, | ||
"devDependencies": { | ||
"melody-extension-core": "1.2.0-commit.b0c42b3d", | ||
"melody-plugin-idom": "1.2.0-commit.b0c42b3d", | ||
"melody-extension-core": "1.2.0-commit.cd6a9bf1", | ||
"melody-plugin-idom": "1.2.0-commit.cd6a9bf1", | ||
"rollup-plugin-babel": "^2.6.1" | ||
} | ||
} |
@@ -249,2 +249,11 @@ /** | ||
exit(path) { | ||
const sourceType = path.node.source.type; | ||
if (sourceType !== 'StringLiteral') { | ||
this.error( | ||
'Expected a StringLiteral', | ||
0, | ||
'Include statement expected StringLiteral but got' + | ||
sourceType | ||
); | ||
} | ||
const includeName = this.addDefaultImportFrom( | ||
@@ -251,0 +260,0 @@ path.node.source.value, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
205935
5012
0
+ Addedmelody-code-frame@1.2.0-commit.cd6a9bf1(transitive)
- Removedmelody-code-frame@1.2.0-commit.b0c42b3d(transitive)