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

astring-flow

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astring-flow - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

8

dist/flowGenerator.js

@@ -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",

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