Skip to content

Commit

Permalink
Minor dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Oct 19, 2020
1 parent 45ff741 commit 997eb56
Show file tree
Hide file tree
Showing 35 changed files with 1,359 additions and 1,361 deletions.
6 changes: 6 additions & 0 deletions .changeset/warm-starfishes-itch.md
@@ -0,0 +1,6 @@
---
'@remirror/extension-emoji': patch
'@remirror/pm': patch
---

Minor dependency updates.
38 changes: 19 additions & 19 deletions package.json
Expand Up @@ -87,21 +87,21 @@
"since 2017"
],
"dependencies": {
"@babel/core": "^7.12.0",
"@babel/parser": "^7.12.0",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-decorators": "^7.10.5",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.0",
"@babel/plugin-proposal-numeric-separator": "^7.12.0",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-proposal-optional-chaining": "^7.12.0",
"@babel/plugin-proposal-private-methods": "^7.10.4",
"@babel/core": "^7.12.3",
"@babel/parser": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-numeric-separator": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-proposal-private-methods": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.12.0",
"@babel/plugin-transform-template-literals": "^7.10.5",
"@babel/plugin-transform-typescript": "^7.12.0",
"@babel/preset-env": "^7.12.0",
"@babel/preset-react": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/plugin-transform-template-literals": "^7.12.1",
"@babel/plugin-transform-typescript": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.1",
"@babel/runtime": "^7.12.0",
"@changesets/changelog-github": "^0.2.7",
"@changesets/cli": "^2.11.1",
Expand All @@ -111,14 +111,14 @@
"@lingui/react": "^3.0.0-18",
"@manypkg/cli": "^0.16.1",
"@manypkg/get-packages": "^1.1.1",
"@preconstruct/cli": "^1.1.29",
"@preconstruct/cli": "^1.1.31",
"@remirror/testing": "^0.0.4",
"@size-limit/preset-big-lib": "^4.5.7",
"@testing-library/jest-dom": "^5.11.4",
"@types/eslint": "^7.2.4",
"@types/jest": "^26.0.14",
"@types/jest-axe": "^3.5.0",
"@types/node": "^14.11.8",
"@types/node": "^14.11.10",
"@types/testing-library__jest-dom": "^5.9.4",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
Expand All @@ -132,7 +132,7 @@
"cpy-cli": "^3.1.1",
"cross-env": "^7.0.2",
"eslint": "^7.11.0",
"eslint-config-prettier": "^6.12.0",
"eslint-config-prettier": "^6.13.0",
"eslint-formatter-github": "^1.0.11",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-graphql": "^4.0.0",
Expand All @@ -146,7 +146,7 @@
"eslint-plugin-react-hooks": "^4.1.2",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslint-plugin-sonarjs": "^0.5.0",
"eslint-plugin-unicorn": "^22.0.0",
"eslint-plugin-unicorn": "^23.0.0",
"husky": "^4.2.5",
"if-env": "^1.0.4",
"jest": "^26.5.3",
Expand All @@ -158,7 +158,7 @@
"jest-watch-typeahead": "^0.6.0",
"json.macro": "^1.3.0",
"linaria": "^2.0.0-rc.3",
"lint-staged": "^10.4.0",
"lint-staged": "^10.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"prettier-plugin-packagejson": "^2.2.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/@remirror/cli/package.json
Expand Up @@ -49,9 +49,9 @@
"@types/ink-spinner": "^3.0.0",
"@types/ink-testing-library": "^1.0.1",
"@types/jsesc": "^2.5.1",
"@types/node": "^14.11.8",
"@types/node": "^14.11.10",
"@types/parcel-bundler": "^1.12.1",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/rimraf": "^3.0.0",
"ink-testing-library": "^2.1.0"
},
Expand Down
6 changes: 1 addition & 5 deletions packages/@remirror/core-helpers/src/core-helpers.ts
Expand Up @@ -893,11 +893,7 @@ export function unset(path: Array<string | number>, target: Shape): Shape {
return clonedObject;
}

if (isArray(item)) {
item = [...item];
} else {
item = { ...item };
}
item = isArray(item) ? [...item] : { ...item };

value[key] = item;
value = item;
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/core-utils/package.json
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@remirror/pm": "1.0.0-next.50",
"@types/node": "^14.11.8",
"@types/node": "^14.11.10",
"domino": "^2.1.6"
},
"peerDependencies": {
Expand Down
Expand Up @@ -39,16 +39,13 @@ export class PersistentSelectionExtension extends PlainExtension<PersistentSelec
return;
}

let decoration: Decoration;
const decorationAttrs = {
class: this.options.persistentSelectionClass,
};

if (isNodeSelection(selection)) {
decoration = Decoration.node(selection.from, selection.to, decorationAttrs);
} else {
decoration = Decoration.inline(selection.from, selection.to, decorationAttrs);
}
const decoration = isNodeSelection(selection)
? Decoration.node(selection.from, selection.to, decorationAttrs)
: Decoration.inline(selection.from, selection.to, decorationAttrs);

return DecorationSet.create(doc, [decoration]);
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/dev/package.json
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@testing-library/react": "^11.1.0",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
10 changes: 8 additions & 2 deletions packages/@remirror/extension-code-block/package.json
Expand Up @@ -38,11 +38,17 @@
"devDependencies": {
"@remirror/core": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50",
"@types/prettier": "^2.1.2"
"@types/prettier": "^2.1.5"
},
"peerDependencies": {
"@remirror/core": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50"
"@remirror/pm": "1.0.0-next.50",
"@types/prettier": "^2.1.5"
},
"peerDependenciesMeta": {
"@types/prettier": {
"optional": true
}
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/@remirror/extension-emoji/package.json
Expand Up @@ -33,10 +33,10 @@
"dependencies": {
"@babel/runtime": "^7.12.0",
"@types/emoji-regex": "^8.0.0",
"@types/match-sorter": "^4.0.0",
"@types/match-sorter": "^5.0.0",
"emoji-regex": "^9.1.1",
"escape-string-regexp": "^4.0.0",
"match-sorter": "^4.2.1"
"match-sorter": "^5.0.0"
},
"devDependencies": {
"@remirror/core": "1.0.0-next.50",
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/extension-emoji/src/emoji-extension.ts
@@ -1,5 +1,5 @@
import escapeStringRegex from 'escape-string-regexp';
import matchSorter from 'match-sorter';
import { matchSorter } from 'match-sorter';

import {
bool,
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/extension-react-component/package.json
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@remirror/core": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/extension-react-ssr/package.json
Expand Up @@ -36,7 +36,7 @@
"devDependencies": {
"@remirror/core": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"react": "^16.14.0"
},
"peerDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/@remirror/playground/package.json
Expand Up @@ -22,8 +22,8 @@
},
"dependencies": {
"@babel/runtime": "^7.12.0",
"@babel/standalone": "^7.12.0",
"@babel/types": "^7.12.0",
"@babel/standalone": "^7.12.3",
"@babel/types": "^7.12.1",
"@remirror/core": "1.0.0-next.50",
"@remirror/core-helpers": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50",
Expand All @@ -38,8 +38,8 @@
"remirror": "1.0.0-next.50"
},
"devDependencies": {
"@types/prettier": "^2.1.2",
"@types/react": "^16.9.52",
"@types/prettier": "^2.1.5",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"chalk": "^4.1.0",
"prettier": "^2.1.2",
Expand Down
26 changes: 11 additions & 15 deletions packages/@remirror/playground/src/playground.tsx
Expand Up @@ -210,21 +210,17 @@ export const Playground: FC = () => {
}, [windowHash, setPlaygroundState]);

const getPlaygroundState = useCallback(() => {
let state;

if (!advanced) {
state = {
m: 0,
a: Object.keys(modules).filter((n) => !REQUIRED_MODULES.includes(n)),
e: options.extensions,
p: options.presets,
};
} else {
state = {
m: 1,
c: value,
};
}
const state = !advanced
? {
m: 0,
a: Object.keys(modules).filter((n) => !REQUIRED_MODULES.includes(n)),
e: options.extensions,
p: options.presets,
}
: {
m: 1,
c: value,
};

return state;
}, [advanced, value, options, modules]);
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/pm/package.json
Expand Up @@ -42,7 +42,7 @@
"@types/prosemirror-history": "^1.0.1",
"@types/prosemirror-inputrules": "^1.0.2",
"@types/prosemirror-keymap": "^1.0.3",
"@types/prosemirror-model": "^1.7.4",
"@types/prosemirror-model": "^1.11.0",
"@types/prosemirror-schema-list": "^1.0.1",
"@types/prosemirror-state": "^1.2.5",
"@types/prosemirror-transform": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/preset-react/package.json
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@remirror/core": "1.0.0-next.50",
"@remirror/pm": "1.0.0-next.50",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react-components/package.json
Expand Up @@ -34,7 +34,7 @@
"@remirror/pm": "1.0.0-next.50",
"@remirror/react": "1.0.0-next.50",
"@testing-library/react": "^11.1.0",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react-hooks/package.json
Expand Up @@ -49,7 +49,7 @@
"@testing-library/dom": "^7.26.0",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/user-event": "^12.1.8",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@types/testing-library__react-hooks": "^3.4.1",
"react": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react-social/package.json
Expand Up @@ -45,7 +45,7 @@
"@remirror/react": "1.0.0-next.50",
"@testing-library/dom": "^7.26.0",
"@testing-library/react-hooks": "^3.4.2",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@types/testing-library__react-hooks": "^3.4.1",
"react": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react-utils/package.json
Expand Up @@ -32,7 +32,7 @@
"@remirror/core-types": "1.0.0-next.50"
},
"devDependencies": {
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"react": "^16.14.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react-wysiwyg/package.json
Expand Up @@ -41,7 +41,7 @@
"@remirror/pm": "1.0.0-next.50",
"@remirror/react": "1.0.0-next.50",
"@testing-library/react": "^11.1.0",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/react/package.json
Expand Up @@ -44,7 +44,7 @@
"@remirror/pm": "1.0.0-next.50",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.4.2",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.2",
"@types/testing-library__react-hooks": "^3.4.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/@remirror/showcase/package.json
Expand Up @@ -31,13 +31,13 @@
"@remirror/extension-code-block": "1.0.0-next.50",
"@remirror/react-hooks": "1.0.0-next.50",
"@remirror/react-social": "1.0.0-next.50",
"@types/match-sorter": "^4.0.0",
"@types/prettier": "^2.1.2",
"match-sorter": "^4.2.1",
"@types/match-sorter": "^5.0.0",
"@types/prettier": "^2.1.5",
"match-sorter": "^5.0.0",
"prettier": "^2.1.2"
},
"devDependencies": {
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"react": "^16.14.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/showcase/src/social-showcase.tsx
@@ -1,4 +1,4 @@
import matchSorter from 'match-sorter';
import { matchSorter } from 'match-sorter';
import React, { FC, useCallback, useMemo, useState } from 'react';

import { startCase, take } from '@remirror/core';
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/styles/package.json
Expand Up @@ -23,7 +23,7 @@
"devDependencies": {
"@emotion/core": "^10.0.35",
"@emotion/styled": "^10.0.27",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"@types/styled-components": "^5.1.4",
"emotion": "^10.0.27",
"react": "^16.14.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@remirror/testing/package.json
Expand Up @@ -40,7 +40,7 @@
"min-document": "^2.19.0"
},
"devDependencies": {
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"react": "^16.14.0"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-remirror/package.json
Expand Up @@ -34,7 +34,7 @@
"sanitize-html": "^2.1.0"
},
"devDependencies": {
"@types/node": "^14.11.8",
"@types/node": "^14.11.10",
"jest": "^26.5.3"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/multishift/package.json
Expand Up @@ -31,7 +31,7 @@
},
"devDependencies": {
"@testing-library/react": "^11.1.0",
"@types/react": "^16.9.52",
"@types/react": "^16.9.53",
"react": "^16.14.0"
},
"peerDependencies": {
Expand Down

1 comment on commit 997eb56

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://remirror.io as production
🚀 Deployed on https://5f8d524dfe9a520f6fb8f333--remirror.netlify.app

Please sign in to comment.