astring-flow
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -124,5 +124,4 @@ 'use strict'; | ||
o.write('Array<'); | ||
this[_generatorSymbols.next](elementType, state); | ||
o.write('>'); | ||
o.write('[]'); | ||
}), (0, _defineProperty3.default)(_extends2, 'ObjectTypeAnnotation', function ObjectTypeAnnotation(_ref5, state) { | ||
@@ -217,5 +216,8 @@ var properties = _ref5.properties; | ||
var typeAnnotation = _ref15.typeAnnotation; | ||
var node = (0, _objectWithoutProperties3.default)(_ref15, ['typeAnnotation']); | ||
var optional = _ref15.optional; | ||
var node = (0, _objectWithoutProperties3.default)(_ref15, ['typeAnnotation', 'optional']); | ||
var o = state.output; | ||
_es7Generator2.default.Identifier.call(this, node, state); | ||
if (optional) o.write('?'); | ||
this[_generatorSymbols.nextMaybe](typeAnnotation, state); | ||
@@ -222,0 +224,0 @@ }), (0, _defineProperty3.default)(_extends2, 'TypeParameterDeclaration', h.TypeParameters), (0, _defineProperty3.default)(_extends2, 'TypeParameterInstantiation', h.TypeParameters), (0, _defineProperty3.default)(_extends2, 'TypeParameter', function TypeParameter(_ref16, state) { |
{ | ||
"name": "astring-flow", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Flow AST types for Astring", | ||
@@ -19,3 +19,3 @@ "main": "dist/index.js", | ||
"test:ci": "run-s --continue-on-error test:coverage-and-xunit eslint:xunit-to-file", | ||
"test:local": "run-s test:coverage eslint coverage:html", | ||
"test:local": "run-s test:coverage coverage:html eslint", | ||
"test:coverage": "cross-env NODE_ENV=test nyc --silent mocha", | ||
@@ -22,0 +22,0 @@ "test:coverage-and-xunit": "cross-env NODE_ENV=test nyc --silent mocha --reporter mocha-junit-reporter", |
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
36290
713