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

upgrade loader-utils, ts-jest, & babel/core to fix security warnings #1321

Merged
merged 5 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/cold-hairs-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'spectacle': patch
---

security update: increment ts-jest and babel/core
Burnett2k marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 5 additions & 0 deletions .changeset/funny-frogs-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'spectacle-mdx-loader': patch
---

security update: bump loader-utils to 2.0.4
6 changes: 3 additions & 3 deletions examples/one-page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,16 @@
const html = htm.bind(React.createElement);
const formidableLogo = 'https://avatars2.githubusercontent.com/u/5078602?s=280&v=4';



// SPECTACLE_CLI_THEME_START
const theme = {
fonts: {
header: '"Open Sans Condensed", Helvetica, Arial, sans-serif',
text: '"Open Sans Condensed", Helvetica, Arial, sans-serif'
}
};

// SPECTACLE_CLI_THEME_END
const SlideFragments = () => html`
<${Slide}>
Expand All @@ -97,10 +100,8 @@
</${Appear}>
</${Slide}>
`;

const template = html`
<${DefaultTemplate} />`;

const Presentation = () => html`<${Deck} theme=${theme} template=${template}>
<${Slide}>
<${FlexBox} height="100%">
Expand Down Expand Up @@ -272,7 +273,6 @@
<${SlideLayout.List} title="Slide layouts!" items=${['Two-column', 'Lists' , 'And more!' ]} animateListItems />
</${Deck}>
`;

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(html`<${Presentation}/>`);
</script>
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "spectacle-monorepo",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/core": "^7.19.6",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.19.3",
Expand Down Expand Up @@ -36,7 +36,7 @@
"raw-loader": "^4.0.0",
"rimraf": "^3.0.0",
"serve": "^14.0.1",
"ts-jest": "^29.0.3",
"ts-jest": "^29.1.2",
"typescript": "^4.8.4",
"wait-on": "^6.0.1",
"webpack": "5.76.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/spectacle-mdx-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@mdx-js/mdx": "^1.5.3",
"gray-matter": "^4.0.2",
"loader-utils": "^1.4.2",
"loader-utils": "^2.0.4",
"normalize-newline": "^3.0.0"
},
"scripts": {
Expand Down