Socket
Socket
Sign inDemoInstall

source-map

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

source-map - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

4

lib/source-map/source-node.js

@@ -184,4 +184,4 @@ /* -*- Mode: js; js-indent-level: 2; -*- */

}
chunk.split('').forEach(function (char) {
if (char === '\n') {
chunk.split('').forEach(function (ch) {
if (ch === '\n') {
generated.line++;

@@ -188,0 +188,0 @@ generated.column = 0;

{
"name": "source-map",
"description": "Generates and consumes source maps",
"version": "0.1.8",
"version": "0.1.9",
"homepage": "https://github.com/mozilla/source-map",

@@ -6,0 +6,0 @@ "author": "Nick Fitzgerald <nfitzgerald@mozilla.com>",

@@ -16,3 +16,3 @@ # Source Map

* With NodeJS versions 0.4.X and higher
* With NodeJS versions 0.8.X and higher

@@ -256,3 +256,3 @@ ## Installing with NPM (for use with NodeJS)

Install NodeJS version 0.4.0 or greater, then run `node test/run-tests.js`.
Install NodeJS version 0.8.0 or greater, then run `node test/run-tests.js`.

@@ -259,0 +259,0 @@ To add new tests, create a new file named `test/test-<your new test name>.js`

@@ -12,3 +12,9 @@ /* -*- Mode: js; js-indent-level: 2; -*- */

var sourceMap = require('../../lib/source-map');
var sourceMap;
try {
sourceMap = require('../../lib/source-map');
} catch (e) {
sourceMap = {};
Components.utils.import('resource:///modules/devtools/SourceMap.jsm', sourceMap);
}

@@ -15,0 +21,0 @@ exports['test that the api is properly exposed in the top level'] = function (assert, util) {

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