Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump immutable from 3.8.2 to 4.3.7 #1108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@
"express-session": "^1.17.3",
"express-slow-down": "^1.3.1",
"http-status": "^1.6.2",
"immutable": "^3.8.2",
"immutable": "^4.3.7",
"influx": "^5.9.3",
"isomorphic-dompurify": "^0.13.0",
"jsesc": "^3.0.2",
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -5121,10 +5121,10 @@ immutable@^3.8.2:
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=

immutable@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23"
integrity sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==
immutable@^4.0.0, immutable@^4.3.7:
version "4.3.7"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.3.7.tgz#c70145fc90d89fb02021e65c84eb0226e4e5a381"
integrity sha512-1hqclzwYwjRDFLjcFxOM5AYkkG0rpFPpr1RLPMEuGczoS7YA8gLhy8SWXYRAA/XwfEHpfo3cw5JGioS32fnMRw==

import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1:
version "3.3.0"

Unchanged files with check annotations Beta

location.reload();
})
.catch((res) => {
// TODO: Add proper error handling.

Check warning on line 177 in src/client/components/pages/revision.js

GitHub Actions / ESLint

src/client/components/pages/revision.js#L177

Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)
const {error} = res.body;
return error;
});
return filteredOptions.map(this.entityToOption);
}
renderInputGroup({buttonAfter, help, wrappedSelect, ...props}) {

Check warning on line 129 in src/client/entity-editor/common/entity-search-field-option.js

GitHub Actions / ESLint

src/client/entity-editor/common/entity-search-field-option.js#L129

'props' is defined but never used (@typescript-eslint/no-unused-vars)
if (!buttonAfter) {
return (
<>
import * as search from '../../common/helpers/search';
import {camelCase, differenceWith, isEqual, toLower, upperFirst} from 'lodash';
import {BadRequestError} from '../../common/helpers/error';
import log from 'log';

Check warning on line 22 in src/server/helpers/collectionRouteUtils.js

GitHub Actions / ESLint

src/server/helpers/collectionRouteUtils.js#L22

'log' is defined but never used (@typescript-eslint/no-unused-vars)
/**
* A handler for create or edit actions on collections.
*/
import * as error from '../../common/helpers/error';
import * as handler from '../helpers/handler';

Check warning on line 22 in src/server/routes/register.js

GitHub Actions / ESLint

src/server/routes/register.js#L22

'handler' is defined but never used (@typescript-eslint/no-unused-vars)
import * as middleware from '../helpers/middleware';
import * as propHelpers from '../../client/helpers/props';
import * as search from '../../common/helpers/search';
import Immutable from 'immutable';
const EMPTY_ALIAS = Immutable.Map({

Check failure on line 26 in src/client/entity-editor/alias-editor/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/alias-editor/reducer.js#L26

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
language: null,
name: '',
primary: false,
});
function reducer(
state = Immutable.OrderedMap(),

Check failure on line 34 in src/client/entity-editor/alias-editor/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/alias-editor/reducer.js#L34

Caution: `Immutable` also has a named export `OrderedMap`. Check if you meant to write `import {OrderedMap} from 'immutable'` instead (import/no-named-as-default-member)
action
) {
const {payload, type} = action;
function reducer(
state = Immutable.Map({content: ''}),

Check failure on line 24 in src/client/entity-editor/annotation-section/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/annotation-section/reducer.js#L24

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
action
) {
switch (action.type) {
function reducer(
state = Immutable.Map({

Check failure on line 28 in src/client/entity-editor/button-bar/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/button-bar/reducer.js#L28

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
aliasEditorVisible: false,
identifierEditorVisible: false
}),
};
const store = createStore(
rootReducer,
Immutable.fromJS(initialState),

Check failure on line 81 in src/client/entity-editor/controller.js

GitHub Actions / ESLint

src/client/entity-editor/controller.js#L81

Caution: `Immutable` also has a named export `fromJS`. Check if you meant to write `import {fromJS} from 'immutable'` instead (import/no-named-as-default-member)
composeEnhancers(applyMiddleware(debouncer, ReduxThunk))
);
if (isUnifiedForm && setDefault) {
return {
disambiguationDefaultValue: '',
exactMatches: Immutable.Map([]),

Check failure on line 336 in src/client/entity-editor/name-section/name-section.js

GitHub Actions / ESLint

src/client/entity-editor/name-section/name-section.js#L336

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
languageValue: null,
nameValue: '',
searchResults: Immutable.Map([]),

Check failure on line 339 in src/client/entity-editor/name-section/name-section.js

GitHub Actions / ESLint

src/client/entity-editor/name-section/name-section.js#L339

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
sortNameValue: ''
};
}
function reducer(
state = Immutable.Map({

Check failure on line 27 in src/client/entity-editor/name-section/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/name-section/reducer.js#L27

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
disambiguation: '',
exactMatches: [],
language: null,
function reducer(
state = Immutable.Map({

Check failure on line 26 in src/client/entity-editor/submission-section/reducer.js

GitHub Actions / ESLint

src/client/entity-editor/submission-section/reducer.js#L26

Caution: `Immutable` also has a named export `Map`. Check if you meant to write `import {Map} from 'immutable'` instead (import/no-named-as-default-member)
note: '',
submitError: '',
submitted: false
const store = createStore(
rootReducer,
Immutable.fromJS(initialState),

Check failure on line 41 in src/client/unified-form/controller.js

GitHub Actions / ESLint

src/client/unified-form/controller.js#L41

Caution: `Immutable` also has a named export `fromJS`. Check if you meant to write `import {fromJS} from 'immutable'` instead (import/no-named-as-default-member)
composeEnhancers(applyMiddleware(debouncer, ReduxThunk))
);