[Pkg-javascript-commits] [Git][js-team/node-carto][master] 3 commits: debian/patches/yaml.patch: update with commit from https://github.com/mapbox/carto/pull/514

Johannes Schauer Marin Rodrigues (@josch) gitlab at salsa.debian.org
Fri Dec 10 23:09:33 GMT 2021



Johannes Schauer Marin Rodrigues pushed to branch master at Debian JavaScript Maintainers / node-carto


Commits:
b81dd8c2 by Johannes Schauer Marin Rodrigues at 2021-12-11T00:06:11+01:00
debian/patches/yaml.patch: update with commit from https://github.com/mapbox/carto/pull/514

- - - - -
2183c0bb by Johannes Schauer Marin Rodrigues at 2021-12-11T00:07:47+01:00
add .travis.yml to make dgit happy

- - - - -
448780c1 by Johannes Schauer Marin Rodrigues at 2021-12-11T00:07:47+01:00
debian/changelog: upload

- - - - -


3 changed files:

- + .travis.yml
- debian/changelog
- debian/patches/yaml.patch


Changes:

=====================================
.travis.yml
=====================================
@@ -0,0 +1,13 @@
+language: node_js
+
+sudo: false
+
+node_js:
+  - "11"
+  - "10"
+  - "8"
+  - "6"
+
+script:
+  - npm test
+  - if [[ ${TRAVIS_NODE_VERSION} == "8" ]]; then npm run coverage; fi;


=====================================
debian/changelog
=====================================
@@ -1,9 +1,9 @@
-node-carto (1.2.0-2) UNRELEASED; urgency=medium
+node-carto (1.2.0-2) unstable; urgency=medium
 
   * debian/salsa-ci.yml: disable aptly
   * yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead
 
- -- Johannes Schauer Marin Rodrigues <josch at debian.org>  Fri, 10 Dec 2021 23:06:37 +0100
+ -- Johannes Schauer Marin Rodrigues <josch at debian.org>  Sat, 11 Dec 2021 00:06:26 +0100
 
 node-carto (1.2.0-1) unstable; urgency=medium
 


=====================================
debian/patches/yaml.patch
=====================================
@@ -1,6 +1,18 @@
+From 3951644f3f54a08d1eda6c328fe10710aaa49b05 Mon Sep 17 00:00:00 2001
+From: Johannes Schauer Marin Rodrigues <josch at mister-muffin.de>
+Date: Sat, 11 Dec 2021 00:02:21 +0100
+Subject: [PATCH] lib/carto/mml.js: FIX: Error: Function yaml.safeLoad is
+ removed in js-yaml 4. Use yaml.load instead, which is now safe by default.
+
+---
+ lib/carto/mml.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/carto/mml.js b/lib/carto/mml.js
+index aab6bc9..afacf62 100644
 --- a/lib/carto/mml.js
 +++ b/lib/carto/mml.js
-@@ -22,7 +22,7 @@ carto.MML.prototype.load = function load
+@@ -22,7 +22,7 @@ carto.MML.prototype.load = function load(basedir, data, callback) {
          env = {};
  
      try {
@@ -9,3 +21,6 @@
      } catch (err) {
          env = {};
          util.error(env, {
+-- 
+2.33.0
+



View it on GitLab: https://salsa.debian.org/js-team/node-carto/-/compare/80cd6cadb21c0d221e7a1b2d974c1fd8c4182837...448780c19fbe9c2a63fc930aa905d07d1918bf9f

-- 
View it on GitLab: https://salsa.debian.org/js-team/node-carto/-/compare/80cd6cadb21c0d221e7a1b2d974c1fd8c4182837...448780c19fbe9c2a63fc930aa905d07d1918bf9f
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/20211210/bb120c94/attachment-0001.htm>


More information about the Pkg-javascript-commits mailing list