Ben McCann
5b2fa1f247
chore: upgrade magic-string ( #8339 )
...
- overwrite -> update
- update comments
2 years ago
Bjorn Lu
be1eff0305
[feat] add enableSourcemap option ( #6835 )
3 years ago
Tommy Groshong
a232d68a41
docs: small spelling fixes in docs and comments ( #6653 )
3 years ago
Dominik G
e94d1f50bc
[fix] use consistent relative source filename for js sourcemaps ( #6598 )
3 years ago
Simon H
4ca2af41df
[fix] add filename to combined source map if needed ( #6089 )
3 years ago
Hofer Ivan
5cfefeb6e7
support rendering components in a shadow dom ( #5870 )
3 years ago
Tan Li Hau
cb189ad0ec
[chore] update code-red, estree-walker, is-reference ( #6551 )
...
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
3 years ago
Tan Li Hau
2cec6a94bc
[feat] sourcemap markup ( #6427 )
...
* sourcemap markup
* sourcemap textnode
* update test
3 years ago
Ben McCann
37b1a20c17
Add spaces next to infix operators ( #5902 )
4 years ago
Conduitry
93cf65d804
Revert "work around mysterious test failure and add TODO"
...
This reverts commit c4419007f0
.
4 years ago
Conduitry
c4419007f0
work around mysterious test failure and add TODO
4 years ago
milahu
0d19f67ec4
Parse attached sourcemap from preprocessor ( #5854 )
4 years ago
dmitrage
68538c61eb
Fix various issues with preprocess source maps ( #5754 )
4 years ago
milahu
3d68ceaf8f
support using decoded sourcemaps from SourceMapGenerator ( #5732 )
...
Co-authored-by: Conduitry <git@chor.date>
4 years ago
halfnelson
dcfbd69516
Preprocessor sourcemap support ( #5584 )
...
Co-authored-by: Milan Hauth <milahu@gmail.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
4 years ago
halfnelson
7c1e6a6ce7
refactor sourcemap and preprocessor tests ( #5583 )
...
Co-authored-by: Milan Hauth <milahu@gmail.com>
4 years ago
Ben McCann
229a16d6e7
upgrade ESLint config ( #5472 )
4 years ago
Ben McCann
0645631b28
Use TypeScript in tests ( #5433 )
4 years ago
nomnomnomnom
cf72b41575
fix misaligned line numbers in sourcemaps ( #4738 )
5 years ago
Rich Harris
cd21acfb3c
Bitmask-based change tracking ( #3945 )
...
* start updating tests
* start implementing bitmask-based change tracking (#1943 )
* oops
* fix some await block stuff
* slots
* reactive declarations
* component bindings etc
* start fixing slots
* fix store value invalidations
* slot stuff
* fixes
* fix
* fixes
* fix some slot stuff
* fix some invalidations
* fix if blocks
* fix a test
* destructuring in lets
* fix shadowing
* fix if block case
* all runtime tests passinfg
* almost all tests passing
* update tests
* never hoist writable vars in dev mode, fix debug statements
* beef up shadowing test
* always use renderer.reference
* fix sourcemaps
* ugh so close
* all tests passing. phase one complete, i guess
* add test for component with more than 31 dynamic values
* stable sort
* stable sort that preserves order
* linting
* failing test for bitmask overflow
* ok i think this is it
* lint
* rename changed to dirty, for more internal consistency
* update tests
* use bitwise comparison
* add comments... sort of
* update tests
* moar comments
* I don't know what happened to these tests
5 years ago
Tan Li Hau
5dbb08d19b
allow solo for test suite ( #3747 )
5 years ago
Rich Harris
b9f14846b0
Structured code generation ( #3539 )
5 years ago
James Garbutt
caebe0deb8
Introduce ESLint to svelte sources ( #2958 )
...
* introduce eslint
* add lint npm script
* first eslint run
* use tsc stronger checks for unused vars
* fix strict typescript unused checks
* reintroduce unicode oddities
* revert ordering changes
* revert whitespace changes
* set indent lint rule as error and ignore outliers
* revert some more unicode
* reintroduce scissors unicode again
5 years ago
Richard Harris
80ce72362b
update css tests
6 years ago
Richard Harris
de0aa3ccaa
update sourcemap tests
6 years ago
Rich Harris
206a3d0131
update tests
6 years ago
Rich Harris
687e352209
rename .html files to .svelte
6 years ago
Rich Harris
f45e2b70fd
Implement reactive assignments ( #1839 )
...
This also includes elements of RFCs 2 and 3
6 years ago
Rich Harris
9031c16905
[WIP] Refactor, change where validation occurs ( #1721 )
...
Refactor, change where validation occurs
6 years ago
Rich Harris
5a457bfb87
rename loc to start, include character info in locations
7 years ago
Rich Harris
cae4dd93bf
fix some more tests
7 years ago
Rich Harris
87a8e37150
remove cascade option
7 years ago
Rich Harris
a3add04e7c
remove code, map and cssMap from svelte.compile output
7 years ago
Rich-Harris
9092b1c58a
dont generate test output if no css
7 years ago
Rich-Harris
00877e8ebd
output { js, css, ast } from svelte.compile - fixes #795
7 years ago
Rich Harris
1ad28e6fe6
use base36 for style classes
7 years ago
Rich Harris
9971283671
update tests
7 years ago
Emil Ajdyna
f9fc7c9e91
Base scoping hashes on CSS content rather than entire file
7 years ago
Rich Harris
b5821b846a
fix annoying test failure
7 years ago
Rich Harris
7cc192ad4c
fix test
7 years ago
Rich Harris
7b1299904b
minify css and remove unused styles ( #697 )
7 years ago
Rich Harris
1271510d00
better CSS sourcemaps
7 years ago
Rich Harris
4639b8d349
move css logic into new Stylesheet class, add CSS sourcemap support
7 years ago
Rich Harris
4e28c9b82c
hack sourcemap to mitigate confusion caused by missing data for each block ( #681 )
7 years ago
Rich Harris
10ecd81734
prettierfy test files
8 years ago
Rich-Harris
cf626ff880
retain binding sourcemaps to the extent possible
8 years ago
Rich Harris
da3f751e3c
fix test
8 years ago
Rich Harris
1579c50327
test binding values work with sourcemaps
8 years ago
Rich-Harris
6de2ee1bf8
update gitignore, remove some files from repo
8 years ago
Rich-Harris
60ed068a59
move tests around to facilitate registering babel based on environment
8 years ago