Skip to content

Commit

Permalink
Update license
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkevork committed Jul 18, 2018
1 parent 8708b71 commit 3a118a4
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The MIT License (MIT)

Copyright (c) Juga Paazmaya <paazmaya@yahoo.com> (https://paazmaya.fi)
Copyright (c) David Kevork <david@davidkevork.me> (https://davidkevork.me)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/**
* shuji (周氏)
* https://github.com/paazmaya/shuji
* reverse.js
* https://github.com/davidkevork/reverse
*
* Reverse engineering JavaScript and CSS sources from sourcemaps
*
* Copyright (c) Juga Paazmaya <paazmaya@yahoo.com> (https://paazmaya.fi)
* Copyright (c) David Kevork <david@davidkevork.me> (https://davidkevork.me)
* Licensed under the MIT license
*/

'use strict';

const path = require('path');

const sourceMap = require('source-map');

/**
Expand All @@ -33,7 +33,7 @@ module.exports = (input, options) => {

consumer.sources.forEach((source) => {
const contents = consumer.sourceContentFor(source);
map[path.basename(source)] = contents;
map[path.normalize(source).replace(/^(\.\.[/\\])+/, '').replace(/(\?).*$/, '').replace(/[&#,+()$~%'":*?<>{}]/g, '').replace(' ', '.')] = contents;
});
}
else if (options.verbose) {
Expand Down
11 changes: 6 additions & 5 deletions tests/cli_test.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
/**
* shuji (周氏)
* https://github.com/paazmaya/shuji
* reverse.js
* https://github.com/davidkevork/reverse
*
* Reverse engineering JavaScript and CSS sources from sourcemaps
*
* Copyright (c) Juga Paazmaya <paazmaya@yahoo.com> (https://paazmaya.fi)
* Copyright (c) David Kevork <david@davidkevork.me> (https://davidkevork.me)
* Licensed under the MIT license
*/
'use strict';

const fs = require('fs'),
path = require('path'),
execFile = require('child_process').execFile;
const fs = require('fs');
const path = require('path');
const execFile = require('child_process').execFile;

const tape = require('tape');

Expand Down
9 changes: 5 additions & 4 deletions tests/index_test.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
/**
* shuji (周氏)
* https://github.com/paazmaya/shuji
* reverse.js
* https://github.com/davidkevork/reverse
*
* Reverse engineering JavaScript and CSS sources from sourcemaps
*
* Copyright (c) Juga Paazmaya <paazmaya@yahoo.com> (https://paazmaya.fi)
* Copyright (c) David Kevork <david@davidkevork.me> (https://davidkevork.me)
* Licensed under the MIT license
*/
'use strict';

const tape = require('tape'),
shuji = require('../index');
const tape = require('tape');
const shuji = require('../index');

tape('function is exported', (test) => {
test.plan(1);
Expand Down

0 comments on commit 3a118a4

Please sign in to comment.