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

typhonjs-escomplex-commons

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typhonjs-escomplex-commons - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

20

dist/utils/ast/astSyntax.js

@@ -25,3 +25,5 @@ 'use strict';

ForInStatement = void 0,
FunctionDeclaration = void 0;
FunctionDeclaration = void 0,
Property = void 0,
RestElement = void 0;

@@ -663,3 +665,5 @@ exports.default = {

},
RestElement: function RestElement(node, state) {
RestElement: RestElement = function RestElement(node, state) {
state.output.write('...');

@@ -670,2 +674,3 @@ state.output.operators.push('... (rest)');

},
SpreadElement: function SpreadElement(node, state) {

@@ -794,3 +799,5 @@ state.output.write('...');

},
Property: function Property(node, state) {
Property: Property = function Property(node, state) {
if (node.method || node.kind && node.kind[0] !== 'i') {

@@ -821,2 +828,3 @@ this.MethodDefinition(node, state); // Either a method or of kind `set` or `get` (not `init`)

},
ObjectPattern: function ObjectPattern(node, state) {

@@ -834,3 +842,3 @@ var output = state.output;

for (var i = 0;;) {
this.Property(properties[i], state);
this[properties[i].type](properties[i], state);

@@ -1064,2 +1072,6 @@ if (++i < length) {

ObjectProperty: Property,
RestProperty: RestElement,
BooleanLiteral: function BooleanLiteral(node, state) {

@@ -1066,0 +1078,0 @@ state.output.write(node.value);

2

package.json
{
"name": "typhonjs-escomplex-commons",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/typhonjs-node-escomplex/typhonjs-escomplex-commons/",

@@ -5,0 +5,0 @@ "description": "Provides core common utilities for typhonjs-escomplex modules and plugins.",

@@ -6,3 +6,3 @@ /* eslint-disable eqeqeq */

let ArrayExpression, BinaryExpression, ForInStatement, FunctionDeclaration;
let ArrayExpression, BinaryExpression, ForInStatement, FunctionDeclaration, Property, RestElement;

@@ -699,3 +699,3 @@ export default {

RestElement(node, state)
RestElement: RestElement = function(node, state)
{

@@ -844,3 +844,3 @@ state.output.write('...');

Property(node, state)
Property: Property = function(node, state)
{

@@ -892,3 +892,3 @@ if (node.method || (node.kind && node.kind[0] !== 'i'))

{
this.Property(properties[i], state);
this[properties[i].type](properties[i], state);

@@ -1173,2 +1173,6 @@ if (++i < length)

ObjectProperty: Property,
RestProperty: RestElement,
BooleanLiteral(node, state)

@@ -1175,0 +1179,0 @@ {

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