wip esm adapt lodash

This commit is contained in:
Gregor Martynus
2021-07-30 13:57:35 -07:00
parent ab7a428102
commit e72d201afe
26 changed files with 52 additions and 26 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import {isNil, uniqBy} from 'lodash';
import lodash from 'lodash'
const {isNil, uniqBy} = lodash
import semver from 'semver';
import {isMaintenanceRange} from '../utils.js';
+2 -1
View File
@@ -1,5 +1,6 @@
import {inspect} from 'util';
import {toLower, isString, trim} from 'lodash';
import lodash from 'lodash'
const {toLower, isString, trim} = lodash
import pkg from '../../package.json';
import {RELEASE_TYPE} from './constants.js';
+2 -1
View File
@@ -1,4 +1,5 @@
import {isString, isPlainObject} from 'lodash';
import lodash from 'lodash'
const {isString, isPlainObject} = lodash
import {getGitHead} from '../git.js';
import hideSensitive from '../hide-sensitive.js';