This repository was archived by the owner on Aug 23, 2024. It is now read-only.
Conversation
* Add API endpoint to invalidate cached URL Added an endpoint GET `/invalidate/<url>` to remove entries from cache. TODO Fix test cases * Fix Unit Tests for invalidating cache * Added ability to pass a mock configuration object for tests * Fixed unit tests to use cache Co-authored-by: Martin Splitt <splitti@google.com>
* Fixes security issue with AppEngine deployments * Adjusts appengine fix Co-authored-by: martinsplitt <martin@geekonaut.de>
* Fixes .travis.yml * Update .travis.yml * Fix incorrect cache config in travis.yml * Fixes failing memory-cache test Co-authored-by: martinsplitt <martin@geekonaut.de>
* Add API invalidate filesystem cache (#420) * Adds missing attributes to mock_config for 'endpoint for invalidating memory cache...' which was preventing build. * Updates documentation to reflect invalidate API endpoint added to all cache types (#420) * test for filesystem cache and invalidate endpoint added (#420) * leftover console log removed. * filesystem cache test uses os default temp dir, as per default settings. * Adds cache removal to filesystem-cache-test & fixes caches & serves test * Fixes cache removal + caches & serves test * Code formatting clean up * Erroneous replace for /render/ left in invalidate function. * fixes to src/filesystem-cache.ts & src/test/app-test.ts to properly handle invalidate URLs Co-authored-by: Martin Splitt <splitti@google.com>
Co-authored-by: martinsplitt <martin@geekonaut.de>
* Expand /invalidate API documentation * Updates API reference docs * Adds filesystem to API docs for /invalidate * Bumps major version to 3 * Updates changelog for 3.0.0 Co-authored-by: martinsplitt <martin@geekonaut.de>
* Filesystem cache bug Fixed, additional logging added * code formatting fix, missing ;
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update lock file * Update @webcomponents/webcomponentsjs * Update chrome-launcher * Update chrome-remote-interface * Update fs-extra * Update @types/fs-extra * Update semver * Update supertest and @types/supertest * Update nodemon * Update tslint * Update typescript * Update @types/google-cloud__datastore * Update koa * Update @types/koa * Update koa-bodyparser and @types/koa-bodyparser * Update @types/node * Update @types/koa-static * Update @types/koa-route * Update koa-logger and @types/koa-logger * Regenerate package-lock.json * Update @types/koa-compress * Update rendertron-middleware dependencies
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.7 to 4.17.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.8.3 to 4.0.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v3.8.3...v4.0.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [koa-send](https://github.com/koajs/send) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/koajs/send/releases) - [Changelog](https://github.com/koajs/send/blob/master/History.md) - [Commits](koajs/send@5.0.0...v5.0.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/puppeteer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/puppeteer) from 2.0.1 to 3.0.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/puppeteer) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/koa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa) from 2.11.3 to 2.11.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Remove pathName from base href * Remove pathName from base href * Remove pathName from base href * Remove pathName from base href * Remove pathName from base href * Remove pathName from base href Unit tests * Remove pathName from base href Fix Lint problems
* add reqHeaders * remove unnecessary console log * remove comments
Bumps [ava](https://github.com/avajs/ava) from 3.11.1 to 3.12.1. - [Release notes](https://github.com/avajs/ava/releases) - [Commits](avajs/ava@v3.11.1...v3.12.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/koa-compress](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa-compress) from 2.0.9 to 4.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa-compress) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.27 to 14.10.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add test for URL whitelisting support * add URL whitelisting support
according to `package.json` (https://github.com/GoogleChrome/rendertron/blob/d1bcb13422395264f3f39aa2a1b5ec83438c681e/package.json#L8) Rendertron requires Node.js >= 10 to work, seems to be reasonble to bump its version in bin/rendertron
* Provide endpoint to clear all cache entries * Provide endpoint to clear all cache entries Fix lint warnings * Fix merge conflict * Provide endpoint to clear all cache entries Update documentation
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.2 to 14.14.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fixes issue with binary payloads in FilesystemCache * Updating deps to fix vulnerabilities * Add url whitelisting support (#475) * add test for URL whitelisting support * add URL whitelisting support * Update required version of Node in bin/rendertron (#485) according to `package.json` (https://github.com/GoogleChrome/rendertron/blob/d1bcb13422395264f3f39aa2a1b5ec83438c681e/package.json#L8) Rendertron requires Node.js >= 10 to work, seems to be reasonble to bump its version in bin/rendertron * Update new Buffer(...) to Buffer.from(...) (#490) * Feature/expose clear all cache endpoint (#487) * Provide endpoint to clear all cache entries * Provide endpoint to clear all cache entries Fix lint warnings * Fix merge conflict * Provide endpoint to clear all cache entries Update documentation * Bump @types/node from 14.10.2 to 14.14.2 (#493) Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.2 to 14.14.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Updating deps to fix vulnerabilities * Cleans up tests * Fixes async issue in FilesystemCache clearAllCache * Fixes an async issue with clearing fs cache * Updates google-cloud-datastore * Updates deps, fixing middleware Co-authored-by: martinsplitt <martin@geekonaut.de> Co-authored-by: Vasilii Ermilov <inkz@xakep.ru> Co-authored-by: Hugo Alves <hugo.ma.alves@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…int-7.19.0 Bump eslint from 7.16.0 to 7.19.0
…dleware/typescript-4.1.4 Bump typescript from 4.1.3 to 4.1.4 in /middleware
Bumps [ava](https://github.com/avajs/ava) from 3.14.0 to 3.15.0. - [Release notes](https://github.com/avajs/ava/releases) - [Commits](avajs/ava@v3.14.0...v3.15.0) Signed-off-by: dependabot[bot] <support@github.com>
…-2.13.1 Bump koa from 2.13.0 to 2.13.1
Bumps [supertest](https://github.com/visionmedia/supertest) from 6.0.1 to 6.1.3. - [Release notes](https://github.com/visionmedia/supertest/releases) - [Commits](forwardemail/supertest@v6.0.1...v6.1.3) Signed-off-by: dependabot[bot] <support@github.com>
…-3.15.0 Bump ava from 3.14.0 to 3.15.0
…ertest-6.1.3 Bump supertest from 6.0.1 to 6.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.1.4...v4.1.5) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 9.0.6 to 9.0.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra) Signed-off-by: dependabot[bot] <support@github.com>
…es/fs-extra-9.0.7 Bump @types/fs-extra from 9.0.6 to 9.0.7
…dleware/typescript-4.1.5 Bump typescript from 4.1.4 to 4.1.5 in /middleware
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.15.0 to 4.15.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/eslint-plugin) Signed-off-by: dependabot[bot] <support@github.com>
…escript-eslint/eslint-plugin-4.15.1 Bump @typescript-eslint/eslint-plugin from 4.15.0 to 4.15.1
Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 9.0.1 to 9.1.0. - [Release notes](https://github.com/jprichardson/node-fs-extra/releases) - [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md) - [Commits](jprichardson/node-fs-extra@9.0.1...9.1.0) Signed-off-by: dependabot[bot] <support@github.com>
…extra-9.1.0 Bump fs-extra from 9.0.1 to 9.1.0
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.5 to 4.2.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [eslint](https://github.com/eslint/eslint) from 7.19.0 to 7.23.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v7.19.0...v7.23.0) Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.10 to 2.0.11. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest) Signed-off-by: dependabot[bot] <support@github.com>
…dleware/typescript-4.2.3 Bump typescript from 4.1.5 to 4.2.3 in /middleware
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.3 to 4.2.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) Signed-off-by: dependabot[bot] <support@github.com>
…dleware/types/supertest-2.0.11 Bump @types/supertest from 2.0.10 to 2.0.11 in /middleware
…dleware/typescript-4.2.4 Bump typescript from 4.2.3 to 4.2.4 in /middleware
…int-7.23.0 Bump eslint from 7.19.0 to 7.23.0
2. Fixed renderer.ts for puppeteer changes. 3. replaced deprecated page.addListener with page.on
Upgrade puppeteer to latest (10.0.0)
Adds deprecation note to readme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Actualizar Cambios!