Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
fix(deps): drop individual 'lodash.*' packages in favor of lodash pac…
Browse files Browse the repository at this point in the history
…kage (#661)

* chore(deps): bump lodash 4.17.19 -> 4.17.21

Signed-off-by: Markus Maga <[email protected]>

* chore(deps): drop individual lodash packages in favor of lodash package

Signed-off-by: Markus Maga <[email protected]>
  • Loading branch information
Flydiverny authored Mar 18, 2021
1 parent faf2093 commit cfe3366
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 60 deletions.
4 changes: 2 additions & 2 deletions config/aws-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/* eslint-disable no-process-env */
const AWS = require('aws-sdk')
const clonedeep = require('lodash.clonedeep')
const merge = require('lodash.merge')
const clonedeep = require('lodash/cloneDeep')
const merge = require('lodash/merge')
const proxy = require('proxy-agent')

if (process.env.HTTP_PROXY !== '') {
Expand Down
2 changes: 1 addition & 1 deletion lib/custom-resource-manager.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const clonedeep = require('lodash.clonedeep')
const clonedeep = require('lodash/cloneDeep')

const SLEEP_MILLISECONDS = 1000

Expand Down
6 changes: 3 additions & 3 deletions lib/poller.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict'

const clonedeep = require('lodash.clonedeep')
const merge = require('lodash.merge')
const mapValues = require('lodash.mapvalues')
const clonedeep = require('lodash/cloneDeep')
const merge = require('lodash/merge')
const mapValues = require('lodash/mapValues')
const { compileObjectTemplateKeys } = require('./utils')

/**
Expand Down
4 changes: 2 additions & 2 deletions lib/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const yaml = require('js-yaml')
const parseTemplate = require('lodash.template')
const mapValues = require('lodash.mapvalues')
const parseTemplate = require('lodash/template')
const mapValues = require('lodash/mapValues')

const compileTemplate = (template, data) => parseTemplate(template, { imports: { yaml }, variable: 'data' })(data)

Expand Down
64 changes: 16 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
"js-yaml": "^3.14.1",
"json-stream": "^1.0.0",
"kubernetes-client": "^9.0.0",
"lodash.clonedeep": "^4.5.0",
"lodash.mapvalues": "^4.6.0",
"lodash.merge": "^4.6.2",
"lodash.template": "^4.5.0",
"lodash": "^4.17.21",
"make-promises-safe": "^5.1.0",
"node-vault": "^0.9.18",
"pino": "^6.4.1",
Expand Down

0 comments on commit cfe3366

Please sign in to comment.