New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-source-map

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-source-map - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

.travis.yml

4

index.js

@@ -65,5 +65,5 @@ 'use strict';

if (smap !== null) {
var comment = '//# sourceMappingURL=' + relativePath + '.map';
var comment = '//# sourceMappingURL=' + path.basename(relativePath) + '.map';
if (destPath.slice(-4) === '.css') {
comment = '/*# sourceMappingURL=' + relativePath + '.map */';
comment = '/*# sourceMappingURL=' + path.basename(relativePath) + '.map */';
}

@@ -70,0 +70,0 @@ fs.writeFileSync(destPath, convert.removeComments(srcCode) + '\n' + comment);

{
"name": "broccoli-source-map",
"description": "A Broccoli plugin for inlining or extracting sourcemaps",
"version": "0.2.0",
"version": "0.2.1",
"author": "Greg V <greg@unrelenting.technology>",

@@ -18,9 +18,12 @@ "engines": {

"walk-sync": "^0.1.2",
"convert-source-map": "^0.4.1"
"convert-source-map": "^1.1.1"
},
"devDependencies": {
"mocha": "^2.1.0",
"broccoli": "^0.13.0",
"mocha": "^2.2.5",
"broccoli": "^0.16.3",
"expect.js": "^0.3.1"
},
"scripts": {
"test": "mocha test/ --full-trace"
},
"repository": {

@@ -30,6 +33,3 @@ "type": "git",

},
"license": [{
"type": "WTFPL",
"url": "https://github.com/myfreeweb/broccoli-source-map/blob/master/COPYING"
}],
"license": "Unlicense",
"bugs": {

@@ -36,0 +36,0 @@ "url": "https://github.com/myfreeweb/broccoli-source-map/issues"

@@ -1,2 +0,2 @@

# broccoli-source-map [![npm version](https://img.shields.io/npm/v/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![npm downloads](https://img.shields.io/npm/dm/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![Dependency Status](https://img.shields.io/gemnasium/myfreeweb/broccoli-source-map.svg?style=flat)](https://gemnasium.com/myfreeweb/broccoli-source-map) [![WTFPL](https://img.shields.io/badge/license-WTFPL-brightgreen.svg?style=flat)](https://www.tldrlegal.com/l/wtfpl)
# broccoli-source-map [![npm version](https://img.shields.io/npm/v/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![npm downloads](https://img.shields.io/npm/dm/broccoli-source-map.svg?style=flat)](https://www.npmjs.org/package/broccoli-source-map) [![Build Status](https://img.shields.io/travis/myfreeweb/broccoli-source-map.svg?style=flat)](https://travis-ci.org/myfreeweb/broccoli-source-map) [![Dependency Status](https://img.shields.io/gemnasium/myfreeweb/broccoli-source-map.svg?style=flat)](https://gemnasium.com/myfreeweb/broccoli-source-map) [![Unlicense](https://img.shields.io/badge/un-license-green.svg?style=flat)](http://unlicense.org)

@@ -38,7 +38,12 @@ A [Broccoli] plugin for inlining or extracting [JavaScript source maps] using [convert-source-map].

## Contributing
Please feel free to submit pull requests!
Bugfixes and simple non-breaking improvements will be accepted without any questions :-)
By participating in this project you agree to follow the [Contributor Code of Conduct](http://contributor-covenant.org/version/1/1/0/).
## License
Copyright © 2014-2015 Greg V <greg@unrelenting.technology>
This work is free. You can redistribute it and/or modify it under the
terms of the Do What The Fuck You Want To Public License, Version 2,
as published by Sam Hocevar. See the COPYING file for more details.
This is free and unencumbered software released into the public domain.
For more information, please refer to the `UNLICENSE` file or [unlicense.org](http://unlicense.org).
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