Jeff Posnick

Results 82 issues of Jeff Posnick

`butternut` `0.1.0` minifies the following code ```js const asyncArrowFunction = async ({value}) => { console.log(`value is ${value}`); }; asyncArrowFunction({value: 1}); ``` to ```js let asyncArrowFunction=async {value:g})=>{console.log(`value is ${g}`)};asyncArrowFunction({value:1}) ``` The...

[``](https://elements.polymer-project.org/elements/platinum-https-redirect) could save you the trouble of [specifically asking users](https://github.com/notwaldorf/caturday-post/blob/master/public/index.html#L70) to the visit the site via HTTPS. It knows about the whitelist for `localhost` and its synonyms.

enhancement

If you use `rollup-plugin-off-main-thread` while bundling a service worker script, and one of the files that is pulled in via [`importScripts()` inside of a `Promise`](https://github.com/surma/rollup-plugin-off-main-thread/blob/640c74295778b23b430b40b4c23c93b3ccbe7f4e/loader.ejs#L27-L37) ends up calling `addEventListener('fetch', ...)`,...

The code in https://github.com/vuejs-templates/pwa/blob/development/template/build/service-worker-dev.js is meant to be the content of a service worker file, and will only run as expected if inside of the `ServiceWorkerGlobalScope`. However, as part of...

bug

[`stale-while-revalidate`](https://www.mnot.net/blog/2014/06/01/chrome_and_stale-while-revalidate) is an HTTP caching header that isn't widely honored by user agents, but might get some actual use "in the wild" in HTTP responses. @igrigorik suggested that we might...

I know that there's a decent number of folks who follow the issues here, so I wanted to provide a link to some of the team's thinking about the next-generation...

I took a quick look and there's a decent amount of cruft that could be eliminated (related to the old testing framework, old linting, old docs, etc.) and other dependencies...

hygiene

Right now, the logic for cache expiration (if enabled) is started asynchronously in the `onfetch` handler following the call to `FetchEvent.respondWith()`. This ensures that the controlled page gets the response...

The current hardcoded Markdown documentation is fragile and there aren't any enforced standards. One of the options described at http://stackoverflow.com/questions/15694267/how-to-easily-create-github-friendly-markdown-for-documented-javascript-function might be a better choice.

There are a number of novel things you can build on top of the core `sw-toolbox` library, e.g.: - Offline Google Analytics - An Appcache-manifest converter - A set of...