Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metro-source-map

Package Overview
Dependencies
Maintainers
5
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metro-source-map - npm Package Compare versions

Comparing version 0.24.3 to 0.24.4

2

package.json
{
"version": "0.24.3",
"version": "0.24.4",
"name": "metro-source-map",

@@ -4,0 +4,0 @@ "description": "🚇 Source map generator for Metro.",

@@ -31,2 +31,22 @@ /**

/**

@@ -70,3 +90,5 @@ * Creates a source map from modules with "raw mappings", i.e. an array of

*/
function toRawMappings(sourceMap) {
function toBabelSegments(
sourceMap)
{
const rawMappings = [];

@@ -92,3 +114,5 @@

function compactMapping(mapping) {var _mapping$generated =
function toSegmentTuple(
mapping)
{var _mapping$generated =
mapping.generated;const column = _mapping$generated.column,line = _mapping$generated.line;const

@@ -149,5 +173,17 @@ name = mapping.name,original = mapping.original;

function createIndexMap(
file,
sections)
{
return {
version: 3,
file,
sections };
}
module.exports = {
createIndexMap,
fromRawMappings,
toRawMappings,
compactMapping };
toBabelSegments,
toSegmentTuple };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc