{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/7547","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/7547/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/7547/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/7547/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/7547","id":353019906,"node_id":"MDU6SXNzdWUzNTMwMTk5MDY=","number":7547,"title":"[v2] Service worker install fails on Firefox due to incompatible regex","user":{"login":"davidbailey00","id":4248177,"node_id":"MDQ6VXNlcjQyNDgxNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/4248177?v=4","gravatar_id":"","url":"https://api.github.com/users/davidbailey00","html_url":"https://github.com/davidbailey00","followers_url":"https://api.github.com/users/davidbailey00/followers","following_url":"https://api.github.com/users/davidbailey00/following{/other_user}","gists_url":"https://api.github.com/users/davidbailey00/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbailey00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbailey00/subscriptions","organizations_url":"https://api.github.com/users/davidbailey00/orgs","repos_url":"https://api.github.com/users/davidbailey00/repos","events_url":"https://api.github.com/users/davidbailey00/events{/privacy}","received_events_url":"https://api.github.com/users/davidbailey00/received_events","type":"User","site_admin":false},"labels":[{"id":214544672,"node_id":"MDU6TGFiZWwyMTQ1NDQ2NzI=","url":"https://api.github.com/repos/gatsbyjs/gatsby/labels/%F0%9F%8F%B7%20type:%20bug","name":"🏷 type: bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-22T15:59:04Z","updated_at":"2018-08-22T21:45:48Z","closed_at":null,"author_association":"MEMBER","body":"Thanks to @dbrookes for finding this - I used a negative lookbehind in a regex in `gatsby-plugin-offline/gatsby-node.js`, which isn't compatible with Firefox or older versions of Node. I'll submit a PR shortly - just creating this issue to keep track"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/415191619","html_url":"https://github.com/gatsbyjs/gatsby/issues/7547#issuecomment-415191619","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/7547","id":415191619,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTE5MTYxOQ==","user":{"login":"davidbailey00","id":4248177,"node_id":"MDQ6VXNlcjQyNDgxNzc=","avatar_url":"https://avatars1.githubusercontent.com/u/4248177?v=4","gravatar_id":"","url":"https://api.github.com/users/davidbailey00","html_url":"https://github.com/davidbailey00","followers_url":"https://api.github.com/users/davidbailey00/followers","following_url":"https://api.github.com/users/davidbailey00/following{/other_user}","gists_url":"https://api.github.com/users/davidbailey00/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbailey00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbailey00/subscriptions","organizations_url":"https://api.github.com/users/davidbailey00/orgs","repos_url":"https://api.github.com/users/davidbailey00/repos","events_url":"https://api.github.com/users/davidbailey00/events{/privacy}","received_events_url":"https://api.github.com/users/davidbailey00/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T21:45:48Z","updated_at":"2018-08-22T21:45:48Z","author_association":"MEMBER","body":"cc @KyleAMathews\r\nAfter trying the `importScripts` and `templateFilePath` options, it turns out that I do need to fork sw-precache after all - I need to add another option (for the blacklist), which isn't possible with the template alone because options are handled by `libs/sw-precache.js`.\r\n\r\nReally sorry for messing this up, I'll try to get two pull requests in ASAP once a repo is ready for the fork (one for the sw-precache repo, another for the main Gatsby repo). If a fork isn't possible then I can try patching files, but this will take me significantly longer to write and probably won't be maintainable in the long term."}}
{"actor":{"display_login":"davidbailey00"}}