Sha256: f5826085c2fe5df9ec2849ec50a259ae4587447c8cce1bb91db52dd6bd2b8a91

Contents?: true

Size: 426 Bytes

Versions: 69

Compression:

Stored size: 426 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = appendToMemberExpression;

var _generated = require("../builders/generated");

function appendToMemberExpression(member, append, computed = false) {
  member.object = (0, _generated.memberExpression)(member.object, member.property, member.computed);
  member.property = append;
  member.computed = !!computed;
  return member;
}

Version data entries

69 entries across 61 versions & 12 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.0 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.2 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.7 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.6 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.5 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.4 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.16.1 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.16.1 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.15.2 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.15.2 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.3 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
trusty-cms-5.0.2 node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.4 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.4 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.1 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.18.1 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js
disco_app-0.14.0 test/dummy/node_modules/@babel/preset-modules/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js