Skip to content

Commit

Permalink
Remove deprecated and duplicated APIs (#1382)
Browse files Browse the repository at this point in the history
* Remove deprecated `jslib/expect` library

* Remove deprecated Extension page

* Remove duplicated AWS.SecretsManagerClient.deleteSecret
  • Loading branch information
ppcano authored Oct 27, 2023
1 parent 5e1c2cd commit 223d6ed
Show file tree
Hide file tree
Showing 21 changed files with 28 additions and 1,013 deletions.
28 changes: 28 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,12 @@ const createRedirects = ({ actions }) => {
isPermanent: true,
});

createRedirect({
fromPath: '/extensions/guides/create-an-extension/',
toPath: '/extensions/get-started/create/javascript-extensions/',
isPermanent: true,
});

createRedirect({
fromPath: '/misc/k6-extensions/',
toPath: '/extensions/guides/',
Expand Down Expand Up @@ -1699,6 +1705,28 @@ const createRedirects = ({ actions }) => {
isPermanent: true,
});

[
'/',
'/describe/',
'/expect/',
'/and/',
'/as/',
'/toequal/',
'/tobegreaterthan/',
'/tobegreaterthanorequal/',
'/tobelessthan/',
'/tobelessthanorequal/',
'/tobebetween/',
'/tobetruthy/',
'/tohavevalidjson/',
].forEach((item) => {
createRedirect({
fromPath: `/javascript-api/jslib/expect${item}`,
toPath: '/javascript-api/jslib/k6chaijs/',
isPermanent: true,
});
});

const redirects = {
'/javascript-api/k6-http/cookiejar-k6-http/':
'/javascript-api/k6-http/cookiejar/',
Expand Down
16 changes: 0 additions & 16 deletions src/data/markdown/docs/07 extensions/03 Guides/03 develop.md

This file was deleted.

This file was deleted.

This file was deleted.

134 changes: 0 additions & 134 deletions src/data/markdown/docs/20 jslib/01 jslib/10 expect.md

This file was deleted.

Loading

0 comments on commit 223d6ed

Please sign in to comment.