[Pkg-javascript-commits] [Git][js-team/node-gauge][master] 4 commits: Declare compliance with policy 4.6.1

Yadd (@yadd) gitlab at salsa.debian.org
Thu May 19 09:56:55 BST 2022



Yadd pushed to branch master at Debian JavaScript Maintainers / node-gauge


Commits:
52f80459 by Yadd at 2022-05-19T10:50:05+02:00
Declare compliance with policy 4.6.1

- - - - -
747bcf7e by Yadd at 2022-05-19T10:54:43+02:00
New upstream version 4.0.4
- - - - -
7308d241 by Yadd at 2022-05-19T10:54:44+02:00
Update upstream source from tag 'upstream/4.0.4'

Update to upstream version '4.0.4'
with Debian dir e8b6c688aa01dcaf0a9067cdb835a142ac493f71
- - - - -
b6ea1bb5 by Yadd at 2022-05-19T10:56:32+02:00
releasing package node-gauge version 4.0.4-1

- - - - -


9 changed files:

- .commitlintrc.js
- .eslintrc.js
- .npmrc
- CHANGELOG.md
- debian/changelog
- debian/control
- lib/index.js
- package.json
- test/plumbing.js


Changes:

=====================================
.commitlintrc.js
=====================================
@@ -1,10 +1,9 @@
-// This file is automatically added by @npmcli/template-oss. Do not edit.
+/* This file is automatically added by @npmcli/template-oss. Do not edit. */
 
 module.exports = {
   extends: ['@commitlint/config-conventional'],
-  // If you change rules be sure to also update release-please.yml
   rules: {
-    'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'chore', 'deps']],
+    'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
     'header-max-length': [2, 'always', 80],
     'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
   },


=====================================
.eslintrc.js
=====================================
@@ -1,4 +1,4 @@
-// This file is automatically added by @npmcli/template-oss. Do not edit.
+/* This file is automatically added by @npmcli/template-oss. Do not edit. */
 
 const { readdirSync: readdir } = require('fs')
 


=====================================
.npmrc
=====================================
@@ -1,3 +1,3 @@
-;This file is automatically added by @npmcli/template-oss. Do not edit.
+; This file is automatically added by @npmcli/template-oss. Do not edit.
 
 package-lock=false


=====================================
CHANGELOG.md
=====================================
@@ -1,3 +1,12 @@
+# Changelog
+
+### [4.0.4](https://github.com/npm/gauge/compare/v4.0.3...v4.0.4) (2022-03-28)
+
+
+### Bug Fixes
+
+* fix always true condition ([#160](https://github.com/npm/gauge/issues/160)) ([bebaf0b](https://github.com/npm/gauge/commit/bebaf0b0655f0bdc58a6548b04230cd420245e5e))
+
 ### v4.0.0
 
 * BREAKING CHANGE: Drops support for Node v10 and non-LTS versions of v12 and v14


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+node-gauge (4.0.4-1) unstable; urgency=medium
+
+  * Team upload
+  * Declare compliance with policy 4.6.1
+  * New upstream version 4.0.4
+
+ -- Yadd <yadd at debian.org>  Thu, 19 May 2022 10:54:59 +0200
+
 node-gauge (4.0.3-1) unstable; urgency=medium
 
   * Team upload


=====================================
debian/control
=====================================
@@ -16,7 +16,7 @@ Build-Depends: debhelper-compat (= 13)
  , node-strip-ansi <!nocheck>
  , node-tap <!nocheck>
  , node-wide-align <!nocheck>
-Standards-Version: 4.6.0
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/js-team/node-gauge
 Vcs-Git: https://salsa.debian.org/js-team/node-gauge.git
 Homepage: https://github.com/npm/gauge


=====================================
lib/index.js
=====================================
@@ -91,8 +91,7 @@ Gauge.prototype._computeTheme = function (theme) {
   if (typeof theme === 'string') {
     theme = this._themes.getTheme(theme)
   } else if (
-    theme &&
-    (Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor != null)
+    Object.keys(theme).length === 0 || theme.hasUnicode != null || theme.hasColor != null
   ) {
     var useUnicode = theme.hasUnicode == null ? hasUnicode() : theme.hasUnicode
     var useColor = theme.hasColor == null ? hasColor : theme.hasColor


=====================================
package.json
=====================================
@@ -1,23 +1,23 @@
 {
   "name": "gauge",
-  "version": "4.0.3",
+  "version": "4.0.4",
   "description": "A terminal based horizontal gauge",
   "main": "lib",
   "scripts": {
     "test": "tap",
-    "lint": "eslint '**/*.js'",
-    "postlint": "npm-template-check",
+    "lint": "eslint \"**/*.js\"",
+    "postlint": "template-oss-check",
     "lintfix": "npm run lint -- --fix",
     "preversion": "npm test",
     "postversion": "npm publish",
     "prepublishOnly": "git push origin --follow-tags",
     "snap": "tap",
     "posttest": "npm run lint",
-    "template-copy": "npm-template-copy --force"
+    "template-oss-apply": "template-oss-apply --force"
   },
   "repository": {
     "type": "git",
-    "url": "https://github.com/npm/gauge"
+    "url": "https://github.com/npm/gauge.git"
   },
   "keywords": [
     "progressbar",
@@ -41,16 +41,17 @@
     "wide-align": "^1.1.5"
   },
   "devDependencies": {
-    "@npmcli/template-oss": "^2.9.2",
+    "@npmcli/eslint-config": "^3.0.1",
+    "@npmcli/template-oss": "3.2.0",
     "readable-stream": "^3.6.0",
-    "tap": "^15.1.6"
+    "tap": "^16.0.1"
   },
   "files": [
-    "bin",
-    "lib"
+    "bin/",
+    "lib/"
   ],
   "engines": {
-    "node": "^12.13.0 || ^14.15.0 || >=16"
+    "node": "^12.13.0 || ^14.15.0 || >=16.0.0"
   },
   "tap": {
     "branches": 79,
@@ -59,6 +60,7 @@
     "lines": 90
   },
   "templateOSS": {
-    "version": "2.9.2"
+    "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
+    "version": "3.2.0"
   }
 }


=====================================
test/plumbing.js
=====================================
@@ -57,9 +57,9 @@ t.test('show', function (t) {
 })
 
 t.test('width', function (t) {
-  const plumbing = new Plumbing(theme, template)
+  const defaultWidth = new Plumbing(theme, template)
   t.equal(
-    plumbing.show({ name: 'test' }),
+    defaultWidth.show({ name: 'test' }),
     'w:80, t:[{"type":"name"}], v:{"name":"test"}COLOR:resetERASECR'
   )
   t.end()



View it on GitLab: https://salsa.debian.org/js-team/node-gauge/-/compare/fcdff0b31efc5cd3643be1227e0292f0f6e3299a...b6ea1bb58fbf38b6a47d66055f1c251a7a12fe1f

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-gauge/-/compare/fcdff0b31efc5cd3643be1227e0292f0f6e3299a...b6ea1bb58fbf38b6a47d66055f1c251a7a12fe1f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-commits/attachments/20220519/4b69fdc0/attachment-0001.htm>


More information about the Pkg-javascript-commits mailing list