[Pkg-javascript-commits] [node-pikaday] 01/01: Fixed lintian privacy breach errors.

Daniel Ring techwolf-guest at moszumanska.debian.org
Sat Dec 16 08:18:50 UTC 2017


This is an automated email from the git hooks/post-receive script.

techwolf-guest pushed a commit to branch master
in repository node-pikaday.

commit 87a49cafe6cb0e727ef798b86ed61b25aa59bfa4
Author: Daniel Ring <dring at wolfishly.me>
Date:   Sat Dec 16 00:18:24 2017 -0800

    Fixed lintian privacy breach errors.
---
 debian/patches/lintian-privacy-breach.patch | 432 ++++++++++++++++++++++++++++
 debian/patches/series                       |   1 +
 2 files changed, 433 insertions(+)

diff --git a/debian/patches/lintian-privacy-breach.patch b/debian/patches/lintian-privacy-breach.patch
new file mode 100644
index 0000000..8ef2a36
--- /dev/null
+++ b/debian/patches/lintian-privacy-breach.patch
@@ -0,0 +1,432 @@
+--- a/examples/bound-container.html
++++ b/examples/bound-container.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - Container example</h1>
+ 
+@@ -49,4 +49,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/calendars.html
++++ b/examples/calendars.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday</h1>
+ 
+--- a/examples/container.html
++++ b/examples/container.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - Container example</h1>
+ 
+@@ -49,4 +49,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/daysInNextMonth.html
++++ b/examples/daysInNextMonth.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - show days in next and previous month example</h1>
+ 
+@@ -41,4 +41,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/diableDayFn.html
++++ b/examples/diableDayFn.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - disableDayFn example</h1>
+ 
+@@ -42,4 +42,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/jquery.html
++++ /dev/null
+@@ -1,46 +0,0 @@
+-<!DOCTYPE html>
+-<html>
+-<head>
+-    <meta charset="utf-8">
+-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
+-    <title>Pikaday - jQuery example</title>
+-    <meta name="author" content="Ramiro Rikkert">
+-    <link rel="stylesheet" href="../css/pikaday.css">
+-    <link rel="stylesheet" href="../css/site.css">
+-</head>
+-<body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+-
+-    <h1>Pikaday - jQuery example</h1>
+-
+-    <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
+-
+-    <label for="datepicker">Date:</label>
+-    <br>
+-    <input type="text" id="datepicker">
+-
+-    <h2>What is this?</h2>
+-
+-    <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p>
+-
+-    <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Example by <a href="https://github.com/rikkert">Ramiro Rikkert</a></p>
+-
+-
+-    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
+-    <!-- First load pikaday.js and then the jQuery plugin -->
+-    <script src="../pikaday.js"></script>
+-    <script src="../plugins/pikaday.jquery.js"></script>
+-    <script>
+-
+-    var $datepicker = $('#datepicker').pikaday({
+-        firstDay: 1,
+-        minDate: new Date(2000, 0, 1),
+-        maxDate: new Date(2020, 12, 31),
+-        yearRange: [2000,2020]
+-    });
+-    // chain a few methods for the first datepicker, jQuery style!
+-    $datepicker.pikaday('show').pikaday('nextMonth');
+-
+-    </script>
+-</body>
+-</html>
+\ No newline at end of file
+--- a/examples/pick-whole-week.html
++++ b/examples/pick-whole-week.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - pickWholeWeek example</h1>
+ 
+@@ -42,4 +42,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/positions.html
++++ b/examples/positions.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday alignement example</h1>
+ 
+--- a/examples/theme.html
++++ b/examples/theme.html
+@@ -11,7 +11,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - Theme example</h1>
+ 
+--- a/examples/trigger.html
++++ b/examples/trigger.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - custom trigger example</h1>
+ 
+@@ -43,4 +43,4 @@
+ 
+     </script>
+ </body>
+-</html>
+\ No newline at end of file
++</html>
+--- a/examples/weeknumbers.html
++++ b/examples/weeknumbers.html
+@@ -9,7 +9,7 @@
+     <link rel="stylesheet" href="../css/site.css">
+ </head>
+ <body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
++    <a href="https://github.com/dbushell/Pikaday">Pikaday source on GitHub</a>
+ 
+     <h1>Pikaday - showing weeknumbers</h1>
+ 
+--- a/examples/amd.html
++++ /dev/null
+@@ -1,50 +0,0 @@
+-<!DOCTYPE html>
+-<html>
+-<head>
+-    <meta charset="utf-8">
+-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
+-    <title>Pikaday - AMD example</title>
+-    <meta name="author" content="Ramiro Rikkert">
+-    <link rel="stylesheet" href="../css/pikaday.css">
+-    <link rel="stylesheet" href="../css/site.css">
+-</head>
+-<body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+-
+-    <h1>Pikaday - AMD example</h1>
+-
+-    <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
+-
+-    <label for="datepicker">Date:</label>
+-    <br>
+-    <input type="text" id="datepicker">
+-
+-    <h2>What is this?</h2>
+-
+-    <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p>
+-
+-    <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Example by <a href="https://github.com/rikkert">Ramiro Rikkert</a></p>
+-
+-    <script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.js"></script>
+-    <script>
+-
+-    require.config({
+-        baseUrl: '../',
+-        // To get timely, correct error triggers in IE, force a define/shim exports check.
+-        enforceDefine: true
+-    });
+-    require(['pikaday'], function(Pikaday)
+-    {
+-        var picker = new Pikaday(
+-        {
+-            field: document.getElementById('datepicker'),
+-            firstDay: 1,
+-            minDate: new Date(2000, 0, 1),
+-            maxDate: new Date(2020, 12, 31),
+-            yearRange: [2000,2020]
+-        });
+-    });
+-
+-    </script>
+-</body>
+-</html>
+\ No newline at end of file
+--- a/examples/date-fns.html
++++ /dev/null
+@@ -1,57 +0,0 @@
+-<!DOCTYPE html>
+-<html>
+-<head>
+-    <meta charset="utf-8">
+-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
+-    <title>Pikaday - date-fns example</title>
+-    <meta name="author" content="Ramiro Rikkert">
+-    <link rel="stylesheet" href="../css/pikaday.css">
+-    <link rel="stylesheet" href="../css/site.css">
+-</head>
+-<body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+-
+-    <h1>Pikaday + date-fns</h1>
+-
+-    <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
+-
+-    <label for="datepicker">Date:</label>
+-    <br>
+-    <input type="text" id="datepicker">
+-    <div id="selected"></div>
+-    <br>
+-
+-    <h2>What is this?</h2>
+-
+-    <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p>
+-
+-    <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Example by <a href="https://github.com/rikkert">Ramiro Rikkert</a></p>
+-
+-
+-    <script src="https://cdnjs.cloudflare.com/ajax/libs/date-fns/1.28.5/date_fns.min.js"></script>
+-    <script src="../pikaday.js"></script>
+-    <script>
+-
+-    // You can get and set dates with custom formatter (and thus also date-fns)
+-    new Pikaday(
+-    {
+-        field: document.getElementById('datepicker'),
+-        toString: function(date, format) {
+-            return dateFns.format(date, format);
+-        },
+-        parse: function(dateString, format) {
+-            return dateFns.parse(dateString);
+-        },
+-        onSelect: function(selectedDate) {
+-            // not necessary, just showing off
+-            if (dateFns.isValid(selectedDate)) {
+-                var p = document.createElement('p');
+-                p.innerText = dateFns.distanceInWordsToNow(selectedDate, {addSuffix: true});
+-                document.getElementById('selected').appendChild(p);
+-            }
+-        }
+-    });
+-
+-    </script>
+-</body>
+-</html>
+\ No newline at end of file
+--- a/examples/jquery-amd.html
++++ /dev/null
+@@ -1,54 +0,0 @@
+-<!DOCTYPE html>
+-<html>
+-<head>
+-    <meta charset="utf-8">
+-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
+-    <title>Pikaday - jQuery + AMD example</title>
+-    <meta name="author" content="Ramiro Rikkert">
+-    <link rel="stylesheet" href="../css/pikaday.css">
+-    <link rel="stylesheet" href="../css/site.css">
+-</head>
+-<body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+-
+-    <h1>Pikaday - jQuery + AMD example</h1>
+-
+-    <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
+-
+-    <label for="datepicker">Date:</label>
+-    <br>
+-    <input type="text" id="datepicker">
+-
+-    <h2>What is this?</h2>
+-
+-    <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p>
+-
+-    <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Example by <a href="https://github.com/rikkert">Ramiro Rikkert</a></p>
+-
+-
+-    <script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.js"></script>
+-    <script>
+-
+-    require.config({
+-        baseUrl: '../',
+-        // To get timely, correct error triggers in IE, force a define/shim exports check.
+-        enforceDefine: true,
+-        paths: {
+-            jquery: '//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min'
+-        }
+-    });
+-    require(['jquery', 'plugins/pikaday.jquery'], function($)
+-    {
+-        var $datepicker = $('#datepicker').pikaday({
+-            firstDay: 1,
+-            minDate: new Date(2000, 0, 1),
+-            maxDate: new Date(2020, 12, 31),
+-            yearRange: [2000,2020]
+-        });
+-        // chain a few methods for the first datepicker, jQuery style!
+-        $datepicker.pikaday('show').pikaday('nextMonth');
+-    });
+-
+-    </script>
+-</body>
+-</html>
+\ No newline at end of file
+--- a/examples/moment.html
++++ /dev/null
+@@ -1,53 +0,0 @@
+-<!DOCTYPE html>
+-<html>
+-<head>
+-    <meta charset="utf-8">
+-    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
+-    <title>Pikaday - moment.js example</title>
+-    <meta name="author" content="Ramiro Rikkert">
+-    <link rel="stylesheet" href="../css/pikaday.css">
+-    <link rel="stylesheet" href="../css/site.css">
+-</head>
+-<body>
+-    <a href="https://github.com/dbushell/Pikaday"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
+-
+-    <h1>Pikaday + moment.js</h1>
+-
+-    <p class="large">A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS.</p>
+-
+-    <label for="datepicker">Date:</label>
+-    <br>
+-    <input type="text" id="datepicker">
+-    <div id="selected"></div>
+-    <br>
+-
+-    <h2>What is this?</h2>
+-
+-    <p>Since version 1.0 Pikaday is a stable and battle tested date-picker. Feel free to use it however you like but please report any bugs or feature requests to the <a href="https://github.com/dbushell/Pikaday/issues">GitHub issue tracker</a>, thanks!</p>
+-
+-    <p class="small">Copyright © 2014 <a href="http://dbushell.com/">David Bushell</a> | BSD & MIT license | Example by <a href="https://github.com/rikkert">Ramiro Rikkert</a></p>
+-
+-
+-    <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.5.1/moment.min.js"></script>
+-    <script src="../pikaday.js"></script>
+-    <script>
+-
+-    // You can get and set dates with moment objects
+-    var picker = new Pikaday(
+-    {
+-        field: document.getElementById('datepicker'),
+-        firstDay: 1,
+-        minDate: new Date(2000, 0, 1),
+-        maxDate: new Date(2020, 12, 31),
+-        yearRange: [2000,2020],
+-        onSelect: function() {
+-            var date = document.createTextNode(this.getMoment().format('Do MMMM YYYY') + ' ');
+-            document.getElementById('selected').appendChild(date);
+-        }
+-    });
+-    
+-    picker.setMoment(moment().dayOfYear(366));
+-    
+-    </script>
+-</body>
+-</html>
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d69b9c3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+lintian-privacy-breach.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-pikaday.git



More information about the Pkg-javascript-commits mailing list