46 Commits
Author SHA1 Message Date
Andrey Kim c5059e1501 Convert istanbul ignores to c8 2021-11-15 23:10:13 +03:00
Andrey Sitnik 347f8383b8 Remove console.log 2021-10-21 14:41:05 +02:00
Andrey Sitnik 087de827dc Fix stack overflow on complex RegExp 2021-10-20 17:32:09 +02:00
Andrey Sitnik 64986b7d91 Fix import order 2021-06-14 01:30:55 -04:00
Valentin SemirulnikandAndrey Sitnik 6b07218c74 move from source-map to source-map-js 2021-05-17 08:50:13 -04:00
Barak Igal 2840ce2d8d remove source-map from browser build 2021-05-05 12:47:14 +03:00
Yeting Li 746b4ed8c4 Fix ReDoS in previous-map
Fix Strategy: Replace `(.*)` with `(?:(?!sourceMappingURL=).)*`
2021-04-26 14:26:52 +08:00
Andrey Sitnik 14947459c9 Fix unsafe regexp in getAnnotationURL() too 2021-04-11 09:03:18 -04:00
Andrey Sitnik bb4f975e1b Fix unsafe regexp 2021-04-08 02:57:25 -04:00
Andrey Sitnik 843ab11b6e Add Prettier 2021-03-11 19:11:37 -05:00
Remco Haszing b94a22e19f Fix usage of default exports with TypeScript
This is done by assigning the property `default` for all properties that are
exported using `export default` according to their type definitions.

Closes #1424
2020-11-10 14:24:37 +01:00
Andrey Sitnik a99b67b5de Fix import order 2020-10-01 19:32:56 -04:00
Oscar OteroandGitHub 4357171f9d Code style changes to Deno port (#1432)
* code style changes to port to Deno

* import only the used functions from 'path'
2020-10-01 19:29:25 -04:00
Andrey Sitnik 0048657b13 Add "use strict" because it may effect on tokenizer performance 2020-09-08 01:46:46 -04:00
Andrey Sitnik fd5e72671e Add index source map support 2020-09-07 18:06:41 -04:00
Andrey Sitnik 1ae90b7f70 Speed up PostCSS 2020-09-02 22:17:01 -04:00
Andrey Sitnik 99acbcaded Update PrettierX 2020-08-10 22:07:58 -07:00
Andrey Sitnik c3b3015661 Improve test coverage 2020-08-04 17:37:21 -07:00
Andrey Sitnik 82663d7856 Work with sources as URL 2020-07-22 20:13:50 -07:00
Andrey Sitnik ffa5699271 Fix root for pathes from previous map 2020-07-22 15:27:53 -07:00
Andrey Sitnik 8aae507a45 Clean up types and replace JSDoc to TypeDoc 2020-07-08 17:55:13 -07:00
Andrey Sitnik fa6b5f9981 Add PrettierX 2020-07-06 17:24:57 -07:00
Andrey Sitnik 507f187dcf Clean up RegExp 2020-06-21 19:13:54 -04:00
Andrey Sitnik 288d2ffdb6 Clean up code 2020-06-21 19:13:53 -04:00
Andrey Sitnik 6407a95d28 Update dependencies 2020-06-21 19:13:53 -04:00
Ben MelluishandAndrey Sitnik 79b3fd681e Add application/json source map support (#1282) 2020-06-21 19:13:53 -04:00
Andrey Sitnik 04b816cbde Remove Babel 2020-06-21 19:13:52 -04:00
Andrey Sitnik f43a45a907 Use .es6 ext for ES6 sources 2015-08-17 16:20:40 +03:00
Andrey Sitnik c128e5b954 Clean up code styles 2015-08-17 16:20:37 +03:00
Andrey Sitnik dbafda0af1 Add support for inlined map with base64 encoding 2015-06-23 18:42:13 -04:00
Andrey Sitnik 709200a2b4 Lint code with ESLint 2015-03-14 22:02:49 +03:00
Andrey Sitnik 9eb7f69d31 Remove outdated comments because we have API.md 2015-03-14 22:02:49 +03:00
Andrey Sitnik 419e724de0 Clean up code 2015-02-24 15:18:34 +03:00
Andrey Sitnik a6af7ab64e Clean up imports 2015-02-14 13:23:49 +03:00
Andrey Sitnik 35e3c61417 Use ES6 export statement instead of module.exports 2015-02-14 13:17:18 +03:00
Andrey Sitnik 912d6ea2a0 Use ES6 import 2015-02-02 07:07:53 +03:00
Andrey Sitnik dd2755318a Inline maps by default 2014-11-06 13:22:04 +03:00
Andrey Sitnik 82d7a1aa0f Add Input class to take repeated code from Parser and Tokenizer 2014-11-06 13:22:04 +03:00
Andrey Sitnik 517876fb42 Detect from input file name by prev map 2014-11-06 13:22:03 +03:00
Andrey Sitnik 24c92165af PreviousMap now works with CSS string 2014-11-06 13:22:03 +03:00
Andrey Sitnik 682fb5d008 Typo 2014-09-29 18:18:50 +04:00
Mohammad Younes 6202b75688 Trim UTF-8 BOM marker 2014-09-24 22:21:52 +03:00
Andrey Sitnik 1bf5b44473 Fix UTF-8 support in inline maps 2014-08-08 02:41:37 +04:00
Andrey Sitnik ad5e64c7ae Allow to miss file name for inline maps 2014-08-06 00:53:21 +04:00
Andrey Sitnik 0b894e2044 Add JS lint and fix all warnings 2014-07-08 18:30:53 +11:00
Andrey Sitnik a4e8b61f0b Convert PreviousMap to ES6 2014-07-03 01:05:06 +09:00