Skip to content

Commit

Permalink
Update UI audit dependencies (hashicorp#11523)
Browse files Browse the repository at this point in the history
* Upgrade ember-cli-storybook, ember-cli-browserstack, add resolutions

* Swap out custom DurationJS for current
  • Loading branch information
hashishaw committed May 4, 2021
1 parent 8722dd1 commit ef10aed
Show file tree
Hide file tree
Showing 5 changed files with 937 additions and 2,505 deletions.
2 changes: 1 addition & 1 deletion ui/lib/core/addon/components/ttl-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { typeOf } from '@ember/utils';
import EmberError from '@ember/error';
import Component from '@ember/component';
import { set, computed } from '@ember/object';
import Duration from 'Duration.js';
import Duration from '@icholy/duration';
import layout from '../templates/components/ttl-picker';

const ERROR_MESSAGE = 'TTLs must be specified in whole number increments, please enter a whole number.';
Expand Down
2 changes: 1 addition & 1 deletion ui/lib/core/addon/components/ttl-picker2.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

import { computed } from '@ember/object';
import { typeOf } from '@ember/utils';
import Duration from 'Duration.js';
import Duration from '@icholy/duration';
import TtlForm from './ttl-form';
import layout from '../templates/components/ttl-picker2';

Expand Down
2 changes: 1 addition & 1 deletion ui/lib/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dependencies": {
"autosize": "*",
"date-fns": "*",
"Duration.js": "*",
"@icholy/duration": "*",
"base64-js": "*",
"ember-auto-import": "*",
"ember-basic-dropdown": "*",
Expand Down
17 changes: 13 additions & 4 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@glimmer/component": "^1.0.2",
"@glimmer/tracking": "^1.0.2",
"@hashicorp/structure-icons": "^1.3.0",
"@storybook/ember-cli-storybook": "^0.3.0",
"Duration.js": "icholy/Duration.js#golang_compatible",
"@icholy/duration": "^5.1.0",
"@storybook/ember-cli-storybook": "^0.4.0",
"autosize": "^4.0.0",
"babel-eslint": "^10.1.0",
"base64-js": "^1.3.1",
Expand Down Expand Up @@ -74,7 +74,7 @@
"ember-cli": "~3.22.0",
"ember-cli-autoprefixer": "^0.8.1",
"ember-cli-babel": "^7.23.0",
"ember-cli-browserstack": "^0.0.7",
"ember-cli-browserstack": "^1.1.0",
"ember-cli-clipboard": "^0.13.0",
"ember-cli-content-security-policy": "^1.0.0",
"ember-cli-dependency-checker": "^3.2.0",
Expand Down Expand Up @@ -160,6 +160,7 @@
"lint-staged": "^10.5.1"
},
"resolutions": {
"cryptiles": "^4.1.2",
"eslint-utils": "^1.4.1",
"growl": "^1.10.0",
"handlebars": "^4.3.0",
Expand All @@ -177,6 +178,7 @@
"minimist": "^1.2.2",
"node-notifier": "^8.0.1",
"prismjs": "^1.21.0",
"qs": "^6.3.0",
"serialize-javascript": "^3.1.0",
"yargs-parser": "^13.1.2"
},
Expand All @@ -197,5 +199,12 @@
"lib/service-worker-authenticated-download"
]
},
"dependencies": {}
"dependencies": {
"handlebars": "^4.3.0",
"highlight.js": "^10.4.1",
"jquery": "^3.5.0",
"js-yaml": "^3.13.1",
"lodash": "^4.17.13",
"node-notifier": "^8.0.1"
}
}
Loading

0 comments on commit ef10aed

Please sign in to comment.