Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (#768)
Browse files Browse the repository at this point in the history
* chore(deps): update all non-major dependencies

* update snapshot

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Pooya Parsa <[email protected]>
  • Loading branch information
3 people authored Mar 2, 2021
1 parent a93dcf4 commit 50acbf0
Show file tree
Hide file tree
Showing 8 changed files with 512 additions and 1,041 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@nuxt/content-theme-docs": "^0.9.0",
"nuxt": "^2.14.12",
"nuxt": "^2.15.2",
"nuxt-ackee": "^2.0.0",
"vue-multiselect": "^2.1.6"
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@
"test:packages:create-nuxt-content-docs": "jest packages/create-nuxt-content-docs"
},
"devDependencies": {
"@babel/core": "^7.12.13",
"@babel/preset-env": "^7.12.13",
"@nuxt/typescript-build": "^2.0.4",
"@nuxt/typescript-runtime": "^2.0.1",
"@babel/core": "^7.13.8",
"@babel/preset-env": "^7.13.9",
"@nuxt/typescript-build": "^2.0.6",
"@nuxt/typescript-runtime": "^2.0.2",
"@nuxtjs/eslint-config": "^5.0.0",
"@nuxtjs/eslint-config-typescript": "^5.0.0",
"@nuxtjs/module-test-utils": "^1.6.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"codecov": "^3.8.1",
"eslint": "^7.19.0",
"eslint": "^7.21.0",
"highlight.js": "^10.6.0",
"husky": "^5.0.9",
"husky": "^5.1.3",
"jest": "^26.6.3",
"lerna": "^3.22.1",
"nuxt": "^2.15.2",
"puppeteer": "^8.0.0",
"shiki": "^0.9.2",
"shiki-twoslash": "^1.0.0",
"shiki-twoslash": "^1.2.6",
"tib": "^0.7.5"
}
}
8 changes: 4 additions & 4 deletions packages/content/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@lokidb/full-text-search": "^2.1.0",
"@lokidb/loki": "^2.1.0",
"@nuxt/types": "^2.14.12",
"@nuxt/types": "^2.15.2",
"@types/js-yaml": "^4.0.0",
"@types/xml2js": "^0.4.8",
"change-case": "^4.1.2",
Expand All @@ -27,10 +27,10 @@
"graceful-fs": "^4.2.6",
"gray-matter": "^4.0.2",
"hasha": "^5.2.2",
"hookable": "^4.4.0",
"hookable": "^4.4.1",
"html-tags": "^3.1.0",
"js-yaml": "4.0.0",
"mdast-util-to-hast": "^10.1.1",
"mdast-util-to-hast": "^10.2.0",
"mkdirp": "^1.0.4",
"node-req": "^2.1.2",
"node-res": "^5.0.1",
Expand All @@ -48,7 +48,7 @@
"remark-rehype": "^8.0.0",
"remark-slug": "^6.0.0",
"remark-squeeze-paragraphs": "^4.0.0",
"unified": "^9.2.0",
"unified": "^9.2.1",
"unist-builder": "^2.0.3",
"ws": "^7.4.3",
"xml2js": "^0.4.23"
Expand Down
12 changes: 4 additions & 8 deletions packages/content/test/highlighter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,8 @@ describe("highlighter", () => {

test("renders correctly", () => {
expect(nuxtContent).toMatchInlineSnapshot(`
"<div class=\\"nuxt-content-highlight\\"><pre class=\\"shiki twoslash lsp\\"><div class=\\"code-container\\"><code><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"var console: Console\\" class=\\"data-lsp\\">console</span></span><span style=\\"color:#ECEFF4;\\">.</span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"(method) Console.log(...data: any[]): void\\" class=\\"data-lsp\\">log</span></span><span style=\\"color:#D8DEE9FF;\\">(</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#A3BE8C;\\">Highlighter</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#D8DEE9FF;\\">)</span></code></div></pre></div>
<div class=\\"nuxt-content-highlight\\"><pre class=\\"shiki twoslash lsp\\"><div class=\\"code-container\\"><code><span style=\\"color:#81A1C1;\\">function</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"function sum(a: number, b: number): string\\" class=\\"data-lsp\\">sum</span></span><span style=\\"color:#ECEFF4;\\">(</span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) a: number\\" class=\\"data-lsp\\">a</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">,</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) b: number\\" class=\\"data-lsp\\">b</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">)</span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">string</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#ECEFF4;\\">{</span>
<span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">return</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">true</span>
<span class=\\"error\\"><span>Type 'boolean' is not assignable to type 'string'.</span><span class=\\"code\\">2322</span></span><span class=\\"error-behind\\">Type 'boolean' is not assignable to type 'string'.</span><span style=\\"color:#ECEFF4;\\">}</span></code></div></pre></div>"
"<div class=\\"nuxt-content-highlight\\"><pre class=\\"shiki twoslash lsp\\" style=\\"background-color:#fff;color:black;\\"><div class=\\"code-container\\"><code><div class=\\"line\\"><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"var console: Console\\" class=\\"data-lsp\\">console</span></span><span style=\\"color:#ECEFF4;\\">.</span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"(method) Console.log(...data: any[]): void\\" class=\\"data-lsp\\">log</span></span><span style=\\"color:#D8DEE9FF;\\">(</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#A3BE8C;\\">Highlighter</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#D8DEE9FF;\\">)</span></div></code></div></pre></div>
<div class=\\"nuxt-content-highlight\\"><pre class=\\"shiki twoslash lsp\\" style=\\"background-color:#fff;color:black;\\"><div class=\\"code-container\\"><code><div class=\\"line\\"><span style=\\"color:#81A1C1;\\">function</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"function sum(a: number, b: number): string\\" class=\\"data-lsp\\">sum</span></span><span style=\\"color:#ECEFF4;\\">(</span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) a: number\\" class=\\"data-lsp\\">a</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">,</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) b: number\\" class=\\"data-lsp\\">b</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">)</span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">string</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#ECEFF4;\\">{</span></div><div class=\\"line\\"><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">return</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">true</span></div><span class=\\"error\\"><span>Type 'boolean' is not assignable to type 'string'.</span><span class=\\"code\\">2322</span></span><span class=\\"error-behind\\">Type 'boolean' is not assignable to type 'string'.</span><div class=\\"line\\"><span style=\\"color:#ECEFF4;\\">}</span></div></code></div></pre></div>"
`)
})
})
Expand Down Expand Up @@ -434,10 +432,8 @@ describe("highlighter", () => {

test("renders correctly", () => {
expect(nuxtContent).toMatchInlineSnapshot(`
"<div class=\\"highlighted-using-shiki-twoslash\\"><pre class=\\"shiki twoslash lsp\\"><div class=\\"code-container\\"><code><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"var console: Console\\" class=\\"data-lsp\\">console</span></span><span style=\\"color:#ECEFF4;\\">.</span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"(method) Console.log(...data: any[]): void\\" class=\\"data-lsp\\">log</span></span><span style=\\"color:#D8DEE9FF;\\">(</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#A3BE8C;\\">Highlighter</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#D8DEE9FF;\\">)</span></code></div></pre></div>
<div class=\\"highlighted-using-shiki-twoslash index.ts\\" data-line=\\"1\\"><pre class=\\"shiki twoslash lsp\\"><div class=\\"code-container\\"><code><span style=\\"color:#81A1C1;\\">function</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"function sum(a: number, b: number): string\\" class=\\"data-lsp\\">sum</span></span><span style=\\"color:#ECEFF4;\\">(</span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) a: number\\" class=\\"data-lsp\\">a</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">,</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) b: number\\" class=\\"data-lsp\\">b</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">)</span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">string</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#ECEFF4;\\">{</span>
<span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">return</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">true</span>
<span class=\\"error\\"><span>Type 'boolean' is not assignable to type 'string'.</span><span class=\\"code\\">2322</span></span><span class=\\"error-behind\\">Type 'boolean' is not assignable to type 'string'.</span><span style=\\"color:#ECEFF4;\\">}</span></code></div></pre></div>"
"<div class=\\"highlighted-using-shiki-twoslash\\"><pre class=\\"shiki twoslash lsp\\" style=\\"background-color:#fff;color:black;\\"><div class=\\"code-container\\"><code><div class=\\"line\\"><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"var console: Console\\" class=\\"data-lsp\\">console</span></span><span style=\\"color:#ECEFF4;\\">.</span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"(method) Console.log(...data: any[]): void\\" class=\\"data-lsp\\">log</span></span><span style=\\"color:#D8DEE9FF;\\">(</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#A3BE8C;\\">Highlighter</span><span style=\\"color:#ECEFF4;\\">'</span><span style=\\"color:#D8DEE9FF;\\">)</span></div></code></div></pre></div>
<div class=\\"highlighted-using-shiki-twoslash index.ts\\" data-line=\\"1\\"><pre class=\\"shiki twoslash lsp\\" style=\\"background-color:#fff;color:black;\\"><div class=\\"code-container\\"><code><div class=\\"line\\"><span style=\\"color:#81A1C1;\\">function</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#88C0D0;\\"><span data-lsp=\\"function sum(a: number, b: number): string\\" class=\\"data-lsp\\">sum</span></span><span style=\\"color:#ECEFF4;\\">(</span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) a: number\\" class=\\"data-lsp\\">a</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">,</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#D8DEE9;\\"><span data-lsp=\\"(parameter) b: number\\" class=\\"data-lsp\\">b</span></span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">number</span><span style=\\"color:#ECEFF4;\\">)</span><span style=\\"color:#81A1C1;\\">:</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#8FBCBB;\\">string</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#ECEFF4;\\">{</span></div><div class=\\"line\\"><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">return</span><span style=\\"color:#D8DEE9FF;\\"> </span><span style=\\"color:#81A1C1;\\">true</span></div><span class=\\"error\\"><span>Type 'boolean' is not assignable to type 'string'.</span><span class=\\"code\\">2322</span></span><span class=\\"error-behind\\">Type 'boolean' is not assignable to type 'string'.</span><div class=\\"line\\"><span style=\\"color:#ECEFF4;\\">}</span></div></code></div></pre></div>"
`)
})
})
Expand Down
2 changes: 1 addition & 1 deletion packages/create-nuxt-content-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"bin": "src/cli.js",
"dependencies": {
"cac": "^6.7.1",
"cac": "^6.7.2",
"sao": "^1.7.1"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-nuxt-content-docs/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"generate": "nuxt generate"
},
"dependencies": {
"@nuxt/content-theme-docs": "^0.10.0",
"nuxt": "^2.14.12"
"@nuxt/content-theme-docs": "^0.10.1",
"nuxt": "^2.15.2"
}
}
10 changes: 5 additions & 5 deletions packages/theme-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
"@docsearch/css": "^1.0.0-alpha.28",
"@docsearch/js": "^1.0.0-alpha.28",
"@nuxt/content": "^1.13.1",
"@nuxt/types": "^2.14.12",
"@nuxt/types": "^2.15.2",
"@nuxtjs/color-mode": "^2.0.3",
"@nuxtjs/google-fonts": "1.2.0",
"@nuxtjs/pwa": "^3.3.5",
"@nuxtjs/tailwindcss": "^3.4.2",
"@tailwindcss/typography": "0.2.0",
"@tailwindcss/typography": "0.4.0",
"clipboard": "^2.0.6",
"defu": "^3.2.2",
"lodash.groupby": "^4.6.0",
"marked": "^2.0.0",
"nuxt-i18n": "^6.20.0",
"marked": "^2.0.1",
"nuxt-i18n": "^6.20.4",
"prism-themes": "^1.5.0",
"tailwind-css-variables": "^2.0.3",
"theme-colors": "^0.0.5",
"vue-scrollactive": "^0.9.3"
},
"devDependencies": {
"nuxt": "^2.14.12"
"nuxt": "^2.15.2"
},
"types": "./src/index.d.ts"
}
Loading

0 comments on commit 50acbf0

Please sign in to comment.