Sha256: 8b7c7379f1c20145b0ac73224f6883e8147f8794e7b96bb8db7ae702f43e8f85

Contents?: true

Size: 927 Bytes

Versions: 23

Compression:

Stored size: 927 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isIterableIterator = isIterableIterator;
exports.mergeOptions = mergeOptions;
function mergeOptions(target, source) {
  for (const k of Object.keys(source)) {
    if ((k === "parserOpts" || k === "generatorOpts" || k === "assumptions") && source[k]) {
      const parserOpts = source[k];
      const targetObj = target[k] || (target[k] = {});
      mergeDefaultFields(targetObj, parserOpts);
    } else {
      const val = source[k];
      if (val !== undefined) target[k] = val;
    }
  }
}
function mergeDefaultFields(target, source) {
  for (const k of Object.keys(source)) {
    const val = source[k];
    if (val !== undefined) target[k] = val;
  }
}
function isIterableIterator(value) {
  return !!value && typeof value.next === "function" && typeof value[Symbol.iterator] === "function";
}
0 && 0;

//# sourceMappingURL=util.js.map

Version data entries

23 entries across 16 versions & 3 rubygems

Version Path
trusty-cms-6.3.1 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.51 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.50 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.49 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.48 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.47 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.47 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.46 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.46 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.45 node_modules/jscodeshift/node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.45 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.44 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.43 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.42 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.41 node_modules/@babel/core/lib/config/util.js
immosquare-cleaner-0.1.40 node_modules/@babel/core/lib/config/util.js