babel-plugin-attach-doc-info
Advanced tools
Comparing version 7.0.0-alpha.0 to 7.0.0-alpha.1
{ | ||
"name": "babel-plugin-attach-doc-info", | ||
"version": "7.0.0-alpha.0", | ||
"version": "7.0.0-alpha.1", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "test": "node fixtures/run-test.js" |
@@ -13,2 +13,9 @@ const transformTSOnly = require('./transformTSOnly'); | ||
function nodeLocExpression(loc) { | ||
if (loc == null) { | ||
return t.objectExpression([ | ||
t.objectProperty(t.identifier('start'), t.nullLiteral()), | ||
t.objectProperty(t.identifier('end'), t.nullLiteral()), | ||
]); | ||
} | ||
return t.objectExpression([ | ||
@@ -15,0 +22,0 @@ t.objectProperty( |
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
13716
213