Commit graph

149 commits

Author SHA1 Message Date
David Reed
97b17e4da5
cooler bare server
incog.dev/bare/ was changed to client.incog.dev, however this is cooler
2022-11-27 19:13:57 -05:00
David Reed
60e9a734ad
1.0.4-beta.6 2022-11-26 17:11:33 -05:00
David Reed
82d50484e6
Fix cookies
The set-cookie header was flattened, preventing cookies from being set

The way headers were being read from the BareResponseFetch API meant they were headers that were already flattened (new Headers())

This is fix makes the headers identical to earlier UV versions
2022-11-26 16:30:52 -05:00
David Reed
7b53361367
check if __uv is set before setting uv data 2022-11-26 15:41:31 -05:00
David Reed
a9c94002ae
fix parse5 sourcemap warnings 2022-11-26 15:08:57 -05:00
David Reed
e891c6a831
redundant setting of host
This is already done in bare-client
2022-11-26 14:58:17 -05:00
David Reed
ec5a798764
1.0.4-beta.5 2022-11-23 15:08:51 -05:00
David Reed
90d5b9ad78
fix reference 2022-11-23 15:03:39 -05:00
David Reed
28fd40fb43
1.0.4-beta.4 2022-11-23 14:47:12 -05:00
David Reed
6dc79663c6
source-map-loader 2022-11-23 14:41:02 -05:00
David Reed
f34bb3d640
js-safe worker injection 2022-11-23 14:37:37 -05:00
David Reed
ed867b9f48
importScripts relative 2022-11-23 14:36:14 -05:00
David Reed
313bb54ccc
fix jsdoc annotation 2022-11-23 14:35:16 -05:00
David Reed
bd4a3a6258
add eslint-webpack-plugin 2022-11-23 14:34:41 -05:00
David Reed
782aa2672e
refactor mime-types 2022-11-23 14:33:18 -05:00
David Reed
38a715b3a2
less annoying JSDoc types 2022-11-23 14:28:11 -05:00
David Reed
b366f3af8f
remove unused parsel 2022-11-23 14:09:50 -05:00
David Reed
d2839332dc
upgrade dependencies 2022-11-23 13:59:06 -05:00
David Reed
602414a586
conditional reference to HTMLIFrameElement
This will prevent an exception being thrown in workers.
2022-11-23 13:57:14 -05:00
David Reed
26d17cd241
smart detection for uv.client.js
People may forget to update uv.config.js or cache may need to update
2022-11-23 13:38:36 -05:00
David Reed
e502dc33ea
export UVClient separate 2022-11-23 13:34:38 -05:00
David Reed
fddd5cd698
Revert if in logic
See f0611a980c
Fixing these broke a lot of behavior
2022-11-23 13:11:00 -05:00
David Reed
f905b01477
use ultraviolet.script values 2022-11-23 13:02:07 -05:00
David Reed
6cb068740f
correct config properties 2022-11-23 13:01:57 -05:00
David Reed
dda683aa68
wrong fallback for configScript used 2022-11-23 12:58:18 -05:00
David Reed
71e7a4e48f
add JSDoc types to ctx 2022-11-23 12:52:56 -05:00
David Reed
d6ce4ff0cd
npm run build dev watch 2022-11-23 12:39:40 -05:00
David Reed
561a1ee190
run ESLint
Several bugs were found (and fixed):
src/client/index.js:71
the following if() was equivalent to if (false in obj)

src/client/dom/element.js:207
the following if() was equivalent to if (!element || false in element)

src/client/rewrite/html.js:179
an undefined iterate() was referenced
2022-11-23 12:37:00 -05:00
David Reed
f0611a980c
unused protocol encoding 2022-11-23 12:24:54 -05:00
David Reed
dbc01b3d56
remove unused bowser 2022-11-23 12:23:42 -05:00
David Reed
07fa54b096
string 2022-11-20 21:46:58 -05:00
David Reed
bea03730b8
remove return from setters 2022-11-20 21:43:22 -05:00
David Reed
f8c67ff3e9
1.0.4-beta.3 2022-11-20 01:48:59 -05:00
David Reed
1b35d03f6c
catch uvHook failure, use window.websocket 2022-11-20 01:48:43 -05:00
David Reed
4c6c652fe2
cleanup injection, pass important properties to iframe 2022-11-20 01:38:57 -05:00
David Reed
ff527d9732
fix undefined 2022-11-20 01:28:51 -05:00
David Reed
f08364edcd
remove case for status 500 2022-11-19 20:06:02 -05:00
David Reed
1a1bf9b500
npm events, expose EventEmitter via bundle 2022-11-19 19:57:18 -05:00
David Reed
7ef4fb9732
log error, add fetch to try catch 2022-11-19 19:51:15 -05:00
David Reed
2a6289e80c
1.0.4-beta.2 2022-11-19 19:20:37 -05:00
David Reed
edb339b137
remove requestCtx.forward 2022-11-19 19:11:41 -05:00
David Reed
17c5b6b7b7
produce sourcemap 2022-11-19 19:07:22 -05:00
David Reed
f48e34b5b5
1.0.4-beta.1 2022-11-19 19:06:06 -05:00
David Reed
30f17a2b5c
set user-agent in fetch
Firefox doesn't pass user-agent in the serviceworker request headers. We need to manaully provide this.
2022-11-19 19:05:55 -05:00
David Reed
12e9d3c0f8
bareClient 2022-11-19 19:02:37 -05:00
David Reed
1700d17e09
use correct address API 2022-11-19 19:02:17 -05:00
David Reed
d8f4fecca7
1.0.4-beta 2022-11-19 18:35:04 -05:00
David Reed
32cab57fc3
add NPM badge 2022-11-19 18:35:03 -05:00
David Reed
a782296b85
1.0.3-beta 2022-11-19 18:31:50 -05:00
David Reed
ad0de820ef
protect WebSocket methods 2022-11-19 18:18:49 -05:00