Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • js-team/node-wide-align
1 result
Show changes
Commits on Source (13)
*~
/node_modules
.#*
/.nyc_output
/coverage
node-wide-align (1.1.0-2) UNRELEASED; urgency=medium node-wide-align (1.1.3-1) unstable; urgency=medium
* Switch to github tarballs * Team upload
-- Pirate Praveen <praveen@debian.org> Fri, 12 May 2017 10:36:26 +0530 [ Pirate Praveen ]
* Switch to github tarballs
[ Xavier Guimard ]
* Bump debhelper compatibility level to 12
* Declare compliance with policy 4.4.0
* Change section to javascript
* Add debian/gbp.conf
* Add upstream/metadata
* New upstream version 1.1.3
* Switch install to pkg-js-tools
* Enable upstream test using pkg-js-tools
* Update VCS fields to salsa
* Update debian/copyright
-- Xavier Guimard <yadd@debian.org> Wed, 28 Aug 2019 22:29:28 +0200
node-wide-align (1.1.0-1) unstable; urgency=low node-wide-align (1.1.0-1) unstable; urgency=low
......
9
Source: node-wide-align Source: node-wide-align
Section: web
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen@debian.org> Uploaders: Pirate Praveen <praveen@debian.org>
Section: javascript
Testsuite: autopkgtest-pkg-nodejs
Priority: optional
Build-Depends: Build-Depends:
debhelper (>= 9) debhelper-compat (= 12)
, dh-buildinfo
, nodejs , nodejs
Standards-Version: 3.9.8 , node-string-width <!nocheck>
, node-tap <!nocheck>
, pkg-js-tools (>= 0.9.8)
Standards-Version: 4.4.0
Vcs-Browser: https://salsa.debian.org/js-team/node-wide-align
Vcs-Git: https://salsa.debian.org/js-team/node-wide-align.git
Homepage: https://github.com/iarna/wide-align#readme Homepage: https://github.com/iarna/wide-align#readme
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-wide-align.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-wide-align.git
Package: node-wide-align Package: node-wide-align
Architecture: all Architecture: all
Depends: Depends:
${misc:Depends} ${misc:Depends}
, nodejs , nodejs
, node-string-width (>= 1.0.1) , node-string-width
Description: Wide-character aware text alignment function Description: Wide-character aware text alignment function
Wide-character aware text alignment function for use on the console or with Wide-character aware text alignment function for use on the console or with
fixed width fonts. fixed width fonts.
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: wide-align Upstream-Name: wide-align
Upstream-Contact: https://github.com/iarna/wide-align/issues Upstream-Contact: https://github.com/iarna/wide-align/issues
Source: https://github.com/iarna/wide-align#readme Source: https://github.com/iarna/wide-align#readme
Files: * Files: *
Copyright: 2014 Rebecca Turner <me@re-becca.org> (http://re-becca.org/) Copyright: 2015 Rebecca Turner <me@re-becca.org>
License: ISC License: ISC
Files: debian/* Files: debian/*
Copyright: 2017 Pirate Praveen <praveen@debian.org> Copyright: 2017 Pirate Praveen <praveen@debian.org>
2019, Xavier Guimard <yadd@debian.org>
License: ISC License: ISC
License: ISC License: ISC
...@@ -23,4 +24,3 @@ License: ISC ...@@ -23,4 +24,3 @@ License: ISC
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[DEFAULT]
pristine-tar = True
[import-orig]
filter = [ '.gitignore', '.travis.yml', '.git*' ]
align.js usr/lib/nodejs/wide-align/
package.json usr/lib/nodejs/wide-align/
...@@ -5,11 +5,4 @@ ...@@ -5,11 +5,4 @@
#export DH_VERBOSE=1 #export DH_VERBOSE=1
%: %:
dh $@ dh $@ --with nodejs
#override_dh_auto_build:
#override_dh_auto_test:
Tests: require
Depends: node-wide-align
tap --coverage test/*.js
#!/bin/sh
set -e
nodejs -e "require('wide-align');"
---
Archive: GitHub
Bug-Database: https://github.com/iarna/wide-align/issues
Contact: https://github.com/iarna/wide-align/issues
Name: wide-align
Repository: https://github.com/iarna/wide-align.git
Repository-Browse: https://github.com/iarna/wide-align
This diff is collapsed.
{ {
"name": "wide-align", "name": "wide-align",
"version": "1.1.0", "version": "1.1.3",
"description": "A wide-character aware text alignment function for use on the console or with fixed width fonts.", "description": "A wide-character aware text alignment function for use on the console or with fixed width fonts.",
"main": "align.js", "main": "align.js",
"scripts": { "scripts": {
"test": "tap --coverage test/*.js" "test": "tap --coverage test/*.js",
"version": "perl -pi -e 's/^( \"version\": $ENV{npm_config_node_version}\").*?\",/$1abc\",/' package-lock.json ; git add package-lock.json"
}, },
"keywords": [ "keywords": [
"wide", "wide",
...@@ -21,9 +22,12 @@ ...@@ -21,9 +22,12 @@
"url": "https://github.com/iarna/wide-align" "url": "https://github.com/iarna/wide-align"
}, },
"dependencies": { "dependencies": {
"string-width": "^1.0.1" "string-width": "^1.0.2 || 2"
}, },
"devDependencies": { "devDependencies": {
"tap": "^2.3.2" "tap": "10 || 11 || 12"
} },
"files": [
"align.js"
]
} }
...@@ -29,9 +29,9 @@ test('align', function (t) { ...@@ -29,9 +29,9 @@ test('align', function (t) {
t.is(align.center(' ', 2), ' ', 'center align whitespace overflow') t.is(align.center(' ', 2), ' ', 'center align whitespace overflow')
t.is(align.right(' ', 2), ' ', 'right align whitespace overflow') t.is(align.right(' ', 2), ' ', 'right align whitespace overflow')
t.is(align.left('x ', 10), 'x ', 'left align whitespace mix') t.is(align.left(' x ', 10), ' x ', 'left align whitespace mix')
t.is(align.center('x ', 10), ' x ', 'center align whitespace mix') t.is(align.center(' x ', 10), ' x ', 'center align whitespace mix')
t.is(align.right('x ', 10), ' x', 'right align whitespace mix') t.is(align.right(' x ', 10), ' x ', 'right align whitespace mix')
t.end() t.end()
}) })