p-hatan/ mirror

pub repository

mirror.p-hatan.ir

source_maps

0.9.2+3

Library to programmatically manipulate source map files.

Download archive

Readme

Source Maps

This project implements a Dart pub package to work with source maps. The implementation is based on the source map version 3 spec which was originated from the Closure Compiler and has been implemented in Chrome and Firefox.

In this package we provide:

  • Data types defining file locations and spans: these are not part of the original source map specification. These data types are great for tracking source locations on source maps, but they can also be used by tools to reporting useful error messages that include on source locations.
  • A builder that creates a source map programatically and produces the encoded source map format.
  • A parser that reads the source map format and provides APIs to read the mapping information.

Some upcoming features we are planning to add to this package are:

  • A printer that lets you generate code, but record source map information in the process.
  • A tool that can compose source maps together. This would be useful for instance, if you have 2 tools that produce source maps and you call one with the result of the other.
Changelog

0.9.2+2

  • Fix a bug in FixedSpan.getLocationMessage.

0.9.2+1

  • Minor readability improvements to FixedSpan.getLocationMessage and SpanException.toString.

0.9.2

  • Add SpanException and SpanFormatException classes.

0.9.1

  • Support unmapped areas in source maps.

  • Increase the readability of location messages.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add source_maps
pubspec.yaml
name: source_maps

# Note! This version number is referenced directly in the pub source code in
# lib/src/barback.dart. Pub implicitly places a version constraint on
# source_maps to ensure users only select a version of source_maps that works
# with their current version of pub.
#
# When the minor version is upgraded, you *must* update that version constraint
# in pub to stay in sync with this.
version: 0.9.2+3
author: Dart Team <misc@dartlang.org>
description: Library to programmatically manipulate source map files.
homepage: http://www.dartlang.org
dependencies:
  path: '>=1.2.0 <2.0.0'
environment:
  sdk: '>=0.8.10+6 <2.0.0'
dev_dependencies:
  unittest: '>=0.9.0 <0.10.0'

Version history

VersionPublishedArchiveSHA-256
0.3.02013-02-06T02:10:53.832750ZDownloadbc71c76c39a22433ad92bda49dee1ce182ed25425358a8c77be63e1b8758f46f
0.3.0+12013-02-06T03:24:15.233970ZDownload400facb49bcc8960c00a266e785f47fd9a96969b3a1dbe674ea9cf65e94a512e
0.3.12013-02-11T18:01:07.342570ZDownload972e6ae9d2b1cb450676cf228bea7f25b11c7bfa59f3198e86580993ad1920a2
0.3.1+12013-02-15T03:24:29.278260ZDownload1701239e5a7c1299f7e86481672194470f9c00c0ba8781ff7c44f165adfbfb74
0.3.1+22013-02-15T03:51:37.299890ZDownload46e26aa1f2f262d7a0f10fe7c561c360d55822575bcfbe535a410a1969045967
0.3.22013-02-19T16:23:18.477670ZDownloadaa35a2ae97e225aec2de9ee7c47565d4a09c400033014c733a1c2d19862d7cc2
0.4.02013-03-06T23:01:50.386110ZDownload9b81b360220671413037af0e99434f0b86a5a2e82061fef7d49ce4f3a13478d2
0.4.12013-03-16T00:29:48.313ZDownload14b698cd9bd0ac1a02b8a3205bc31b7f6d2b9b2dc18d9385cdf8a9c2d7ca176c
0.4.1+12013-03-20T19:34:09.515990ZDownloadc465f617072996cfd81952bd1d81800e731756d8b577ce3fc8d94f1f832aceef
0.4.1+22013-03-20T19:59:15.476310ZDownloadc0e18a0e67db381705d8c4b9abd946f9ff7a3e593adca9124a1998a989ad576f
0.4.22013-03-20T22:34:58.774730ZDownload9c6265ac9d563df26dad3245fc8e3c74a769cc5a61c4cee5098b58253b48d9fb
0.4.3+12013-03-25T19:54:29.588470ZDownload27dcfaf80646ff92eeba30a7f6ba4095c2455a60991080b463559652265096de
0.4.4+42013-04-03T17:57:23.665590ZDownload488a399aab4b8972c5c3141b83fb487a7bad09e482d625b4f1b6ef376af291d7
0.4.5+12013-04-08T23:14:09.999900ZDownload88ff72992a448c2254fdffae146f6d17163b32e45245b37a8552e7730738e418
0.4.7+12013-04-16T15:43:31.217750ZDownload757cbbf65f157697ec7783be6ecdb45fcf5c2ff25200c9a99e5f6c74f11d8816
0.5.0+12013-04-23T00:51:59.383730ZDownload4ebadf49dde2750d97c70789bbd5f3da6b91f4e991069219bb5434e3ba8dbc5b
0.5.12013-04-29T18:53:50.708420ZDownloadf51355ed6646f7b0b2911663d98ef1de0710ff2284ab8774adce7a30efaec72d
0.5.42013-05-03T16:43:24.461170ZDownload3d65213eaa158fcc6aba794c522db17a6ea82d7850932f2097093822ba44dc82
0.5.52013-05-06T19:20:24.914070ZDownloada6349f6a681435d01c4cdc3db7c37ca18fa230e291fca71cdbccb43b6a69137d
0.5.62013-05-08T16:44:06.084990ZDownloadbd1c4b2976a623392b57dfa5114eb83f84005f25f7ba9a5a239c14cc069b4f08
0.5.72013-05-10T05:07:11.756380ZDownload655970a29cb40dbab64c704adbadc49e8189a6f4d81c5906b2c1eab53960cfc6
0.5.92013-05-20T15:48:05.395620ZDownload128e9cad7caafb7cba94a6bbe4c3e883cc3e4a3e8768e3c617c815b0a977d83f
0.5.11+12013-05-29T00:11:25.334750ZDownload671ed4ede9c9118bf37a47b0bebb272e554715e170581f9240ea0cd5266442ec
0.5.122013-05-29T18:33:19.171770ZDownload4b6454001ce3bfd402d1ce6aad024a8541f52fd660fdc710cdf817a5ca7575a9
0.5.132013-06-03T16:06:12.767260ZDownload8712f31e047f3b01665cc40f2e7ae372a4c2646498f63d380880d2be7679b425
0.5.14+12013-06-05T15:06:17.026020ZDownload8727904e3e0c3c4589ff7c74ab0b4d5e0dcc6db7dcef278b13f943f32cd46dc9
0.5.14+32013-06-06T16:39:22.042490ZDownload69fe4970fb88c405082a18011efe5cefc54a71c9315168cdafc15dfb31adec19
0.5.152013-06-07T23:01:45.441240ZDownloadedfa254b97d9495ee301231b553d478f68cefd0133d8225178fea55110043b40
0.5.162013-06-10T16:38:37.634340ZDownload16c23960e05ee471f52772539956a2182e842afe3755403128cebc18806548bb
0.5.172013-06-12T17:53:33.349350ZDownload266ecaa030c57eeda15ecb623890a3e58c52d927ce349da80c678de1dfecd567
0.5.202013-06-17T22:08:50.468770ZDownload233fd1775357a5ecc59d227bb4ebe8f4805c9490ebbdfe9686d2c3bdcdce54b5
0.6.12013-06-27T19:34:47.583830ZDownload4e2cb27edb8801fb3317d4e66b20539279879b71d538c71f3bdf42ae4954d991
0.6.22013-06-28T20:57:33.172370ZDownloade5750df04ee81dd2ff64d44310a76c17e840e64edd204c19b8dd7c86b67a0efd
0.6.3+12013-07-09T00:25:23.323500ZDownload178afb5dd48af8b677408bb2a9239f25127555f6f58e14404cec0ded8b72ab6e
0.6.3+22013-07-10T20:00:10.908310ZDownloadc5e8e77d80326a2742a349f83d1e2d56e35ae3afa5cf9b830e2b3652416ad00d
0.6.3+32013-07-12T23:17:20.461810ZDownloadcc646875d4614cf89bf432b0e03c3dcbf348cf2ebd4ef49c499a88220d077b3f
0.6.52013-07-16T00:22:09.979740ZDownload21b7b7486d7076979dfd0da768ad589af22be6bbbbe44c731aa329c16524965c
0.6.62013-07-17T19:45:58.532040ZDownload5855edd41e4b109473a1c81091567f5a9f0ce8b34077f984fd8e174f5a91ae39
0.6.82013-07-19T20:57:03.535020ZDownloaded39ebcc7f6c7d3cf99966dbcf5d6bb2fe67f57698c5bae5a02a8ec08be84875
0.6.92013-07-22T15:17:48.715190ZDownload35530f25afc7d3a3b20a1c1b7c9e0bc979afc5ee436a5d19ce77b3efd4da11fd
0.6.9+22013-07-24T04:00:23.879460ZDownload3a8457ee209ff3b79ab4a118486e11d6145e103306894ce738eed4d16df6d17d
0.6.112013-07-25T05:10:55.447730ZDownload5f31f70519bbcf9a421ef6df62580d276dd5764d2db39f5ac8ed974d7b801a50
0.6.122013-07-26T20:07:46.990080ZDownload7f069c4bec400419e7df25fe478c2103a700d6907d9f1a98ef1ab585e3619c61
0.6.132013-07-30T21:57:33.079730ZDownload1d72eabc7b2b2dbc0dc79773efba2568e0ae1900aa5a10fa75878b098ceeb894
0.6.142013-08-02T16:28:33.163200ZDownload44641ffd04e4cd3a5f33b2b8b2a18a2cf322f60afa5ff862dbae173b9993624a
0.6.15+22013-08-05T22:51:13.854890ZDownload3a61b23112cf8ad358b946a11b315188780dc9b319c06ce2cce4fd7e58a74a7b
0.6.15+32013-08-06T20:14:22.345280ZDownload1e7ec81a86b3eb86e93aaa9941ec04dc85c4fddb2325932d8217763655d2414f
0.6.172013-08-10T17:36:40.732730ZDownload42e1e09b6282d947df8b8235be480d40e309562b7317f6984b0fc0e072737b23
0.6.17+22013-08-12T22:23:37.917360ZDownload86440e848bb4e3d15db27f6cb65fa6e41e4bd1d54b9363ff8b8be80ad311d387
0.6.192013-08-19T16:12:06.219160ZDownloadebb3d1bb4f004daaa300feffa2e0ed1568a1cceac3e60c532b2fce3b184c2e40
0.6.20+12013-08-22T18:20:41.575330ZDownload1c138153411e309ef17f24957ff3cbece22ea33733a7f6847382d23ee0f4f759
0.6.21+32013-08-26T17:44:25.050800ZDownload361ad7d3ee4330520c14f4f8afdaf69b54646620e37e08643387669f5fb78642
0.7.02013-08-28T19:30:15.439790ZDownloadb920ed08c5fc954a3431bf21a5b71c268226bf1efe1277735f5da8ba34bfafd7
0.7.12013-09-03T15:55:54.835600ZDownload59f56da759cf3ee0b44d9405d9a0c37939e89f25d232f64f379e292319e03bc9
0.7.22013-09-06T15:52:48.768600ZDownloade43c47ef2edc28f7e79048ab4f3d83385f21cbafcae2679c6eec17c10d7a8297
0.7.2+12013-09-08T15:48:56.035350ZDownload6d3409b13e4d1c58a0708b576cf39f473b0b35001f4e723da109c5cc5ef35395
0.7.3+12013-09-16T15:45:50.894610ZDownloadd2a7f7e18aa90a28c21e01811226e3c050c0ee500064232cf3dd5988ef50d91c
0.7.42013-09-18T03:05:22.304930ZDownload7da33cf5ddd53ee53333d5e6d0857df3fb27bd3d5e6496a2dcd7f5f79efea7b5
0.7.52013-09-21T00:44:05.850140ZDownloadb00280d995f2e6e4b3a3f2bc846d4ca0e3c3f1d62be6dd89520ddfe32a1e5d44
0.7.62013-09-27T14:59:11.918110ZDownload42629dc64866a3c62f6c5c3bd2403b990c0ccc93b30d730d3744387cd5175cfe
0.7.6+42013-10-01T23:50:23.655350ZDownload3e2693e20c00e8c151fa2900151837407bc92af0a8f46168a419994fd60180aa
0.8.02013-10-03T16:29:58.217530ZDownloada7d3e7dd60d4da143cec1eb70355c71cb322e1996e67031d525a13c2e6d02c95
0.8.12013-10-04T21:55:49.498790ZDownloadcb329bd6d05ec0d49e6c10cd35cb756d71b0689c27865aa49c2adacfbfd9df12
0.8.22013-10-14T21:42:28.042110ZDownload27b55dc021e8a5892462fe97c7120a901c6c63042700ca604bc48445a8618061
0.8.32013-10-17T16:02:06.030720ZDownload72b1157491a3ab978cdf452e76034ee10c1fe4257ac4e663abe484af31d9cd19
0.8.42013-10-19T21:10:28.173100ZDownload3738aa9dccf437eb735c43ffb98639e9c18b5d20e1e49e80ccd4f4ff0ded0d34
0.8.52013-10-21T15:53:38.052500ZDownloada51d8a244405c997f0533d39b0fcced9e27a1cc27576cd73b58e44332b425892
0.8.62013-10-24T08:22:09.993380ZDownload2009ae2f38afbf61c16f3be723988e4349dcb171516db31775e94f9bad962ec9
0.8.72013-10-28T14:34:59.810960ZDownload2cc229d323e3ac6f7f40b7bbbd68b5a1e584af9258d7b40d4f770fe1c7dac1f3
0.8.82013-10-30T03:30:47.069480ZDownload70afdf8964fd1ae3d04785af74cdf9715dd82b45f7a88746d62df561b905b6b2
0.8.92013-10-31T15:17:21.443890ZDownload606d675980cc14d4b2125ac0b09d41b012f61d04789d871575b1682562d4fcc5
0.8.102013-11-01T19:24:31.813470ZDownload2b7ba08c9cf7a9473de177c0a262bf0d7532493a37d0c474322501c27403ddc9
0.8.10+32013-11-04T16:51:01.149200ZDownload72ce3a77d6dee036a673bc14a0d6cdc72ad6ecfec0d6f44a5986e71c3942f339
0.8.10+42013-11-05T16:07:20.104020ZDownload5ed110c8bb6f096f165ffee878747f2e287e6a9fa65ba1f7f9c45806e096a125
0.9.02013-11-06T19:35:03.768870ZDownload269e7d1ef352bb39f525985e07dedc9b899926d523198250c17ea9f9b9017d93
0.9.12014-05-28T21:38:42.672090ZDownload6b58cd226c314aca95a0688a96012f5e5436ecf67689ba84ddf0f9d27f56fe85
0.9.22014-06-19T19:29:52.126240ZDownload66a325736c592b59a4dae7ded943e556ca3ce8db080705144fe76dbfe7d69038
0.9.2+12014-06-20T01:56:37.432550ZDownloade28931754827b4c8b00cc0ce070528a4654dccec88e237589ce3a85f0bd7dbd5
0.9.2+32014-06-27T19:07:47.508220ZDownloada7ffb66b25d0c1f28ac79a66f10f2234924cc94a8127ebe585a2c40427a01535
0.9.32014-07-16T20:08:06.206450ZDownload533ec878eea4da62084dca2bbc188b57fcad1efd6018db85b311cc99a22e80e7
0.9.42014-07-31T22:08:38.897400ZDownload741ced7e85c5406b00330d2a2d98d76025fd8454e408c17c11e8cc9bc1dd1729
0.10.02014-08-01T00:39:43.460840ZDownloadc39745788c976ec4cd361c9575463045e8dbdca16f19383efcaa5b7564e546ab
0.10.0+12014-12-04T01:19:32.787250ZDownload54747fb9f3d92c066d5824bb549aa86eeefcf569f5ef78d5255c984c89812f28
0.10.0+22015-03-28T00:41:10.788370ZDownload4889c78750d133f134dca15e132e3e1f9be4da13cc8e00cf5ef4f150034cabeb
0.10.12015-04-29T18:25:24.696790ZDownloadc1ca3310804991b94d1d6fe291627b4aeabbb2c7d3067055fa05b71fd45eb966
0.10.1+12016-03-24T20:23:11.883ZDownloadef5b5f1359aa3b21d6c2d5b2cc6c9f9f526285893c1d55f9015adb049f1d912b
0.10.1+22016-10-31T16:33:04.350ZDownloadee462c195c886303ce3c3be7d657523aad0f43d382770ae7eb021b74aea17092
0.10.1+32016-12-08T19:00:44.509ZDownloadb42839ea0ba3245f429ba98ae57aeb5f0db957938ce914e96a40d1b860d6040f
0.10.1+42016-12-09T17:57:53.389ZDownloadb0e2c207c6d45aa621f749f9572cac98bce4e7615a5d533b535148b12dfe4780
0.10.1+52016-12-12T17:00:25.939ZDownload63c4b431d7da7fbdf7c241dc8c5767cda439136cb9641d6876c1b9a52d0f3a95
0.10.22016-12-14T19:36:50.047ZDownload1b77163b33baf614454ad34c79233754e120fbd03ac491dee70a2612a15eae85
0.10.32017-03-07T19:32:13.814ZDownloadd09cb010d868080c7feb207e59308e686113912e56f23d98f0f1608b8fe0e999
0.10.42017-03-23T21:52:21.661225ZDownloadd0ede1ae6dd171b0d4d78a9299a2023324561b9ec96c7a9b1a244be9652f0a74
0.10.52018-04-25T22:33:13.937101ZDownloadfd9bd1b4e0f4ff6b2cb93be7b582d333f5440ead355882a338ce182dd19d9962
0.10.62018-06-26T23:30:58.050831ZDownload82a2a97b2c5836c3ee2f2aedc244b3307f703d5a1fb91b654299981a0e0e1e9b
0.10.72018-07-17T17:12:06.065434ZDownloada874201d16e63b576339696b21ed0466d08b54cf5271eb8ad54ce123cf7e6496
0.10.82018-10-03T18:07:26.242527ZDownload3973268febf643a934065d0a56b5fe9f0f0c4b02a15ecbe5f1b14b7f9370dcb9
0.10.92020-02-11T19:30:54.843251ZDownload651a090e98727d604285b7b5019fd083aa62200a5cc66a02aca04e42420a8b4c
0.10.10-nullsafety2020-07-29T20:32:36.453928ZDownload0a05682734787d5368a18fede46e5c6890beed2a6fc17e65ce693908355cffc6
0.10.10-nullsafety.12020-09-22T16:10:09.752340ZDownloadc49a23e04b286e976840fcd0fb0bf12c630957a53bda066c1af8d8ee897ad0b1
0.10.10-nullsafety.22020-10-23T20:07:22.718309ZDownloade27fe90aaf66cd95bb21ff26964e68213d71001b9bca7fdd9d0e1b071d9957fc
0.10.10-nullsafety.32020-11-03T22:26:06.997568ZDownload19d9e5769dbc9c76970cc5121f2a078022c112ab7b6d57e755ae21510568f55c
0.10.102021-02-03T00:32:01.294507ZDownload52de2200bb098de739794c82d09c41ac27b2e42fd7e23cce7b9c74bf653c7296
0.10.112022-10-19T17:16:38.361589ZDownload490098075234dcedb83c5d949b4c93dad5e6b7702748de000be2b57b8e6b2427
0.10.122023-02-17T01:32:40.357723ZDownload708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703
0.10.132024-12-11T10:56:24.170855ZDownload190222579a448b03896e0ca6eca5998fa810fda630c1d65e2f78b3f638f54812
0.10.142026-08-20T08:38:19.679662ZDownload14c2945847669b44089bb1222f66873d7ff7103c58911917f2a63c5a62327898

Dependencies

path "\u003e=1.2.0 \u003c2.0.0"