[Pkg-javascript-devel] Bug#888940: enable tests for node-babel
Pirate Praveen
praveen at debian.org
Wed Jan 31 11:31:46 UTC 2018
Package: src:node-babel
Version: 6.26.0+dfsg-3
severity: wishlist
Control: block -1 by 888926
Enabling tests will help us catch breakages when dependencies change
(like recent node-source-map update which broke some tests).
I have pushed some changes to tests branch on alioth
https://anonscm.debian.org/cgit/pkg-javascript/node-babel.git/log/?h=tests
Some failure are related to node-source-map 0.7 and others are because
--expose_debug_as option is dropped in node version 8.
see https://github.com/nodejs/node/issues/13410
1723 passing (40s)
7 pending
17 failing
1) babel-plugin-transform-runtime/runtime
custom runtime:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/custom-runtime/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/custom-runtime/expected.js
+ expected - actual
import _regeneratorRuntime from "foo/regenerator";
import _Symbol from "foo/core-js/symbol";
-var _marked = [giveWord].map(_regeneratorRuntime.mark);
+var _marked = /*#__PURE__*/_regeneratorRuntime.mark(giveWord);
import foo, * as bar from "someModule";
export const myWord = _Symbol("abc");
--
case 2:
case "end":
return _context.stop();
}
- }, _marked[0], this);
+ }, _marked, this);
}
foo;
bar;
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
2) babel-plugin-transform-runtime/runtime
full:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/full/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/full/expected.js
+ expected - actual
import _regeneratorRuntime from "babel-runtime/regenerator";
import _Symbol from "babel-runtime/core-js/symbol";
-var _marked = [giveWord].map(_regeneratorRuntime.mark);
+var _marked = /*#__PURE__*/_regeneratorRuntime.mark(giveWord);
import foo, * as bar from "someModule";
export const myWord = _Symbol("abc");
--
case 2:
case "end":
return _context.stop();
}
- }, _marked[0], this);
+ }, _marked, this);
}
foo;
bar;
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
3) babel-plugin-transform-runtime/runtime
regenerator runtime:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/regenerator-runtime/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-runtime/test/fixtures/runtime/regenerator-runtime/expected.js
+ expected - actual
import _regeneratorRuntime from "babel-runtime/regenerator";
-void _regeneratorRuntime.mark(function _callee() {
+void /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
return _regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
case "end":
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
4) babel-plugin-transform-regenerator/computed properties
example:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/computed-properties/example/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/computed-properties/example/expected.js
+ expected - actual
var o = {
- foo() {
+ foo: /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", "foo");
--
case "end":
return _context.stop();
}
}, _callee, this);
- }
+ })
};
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
5) babel-plugin-transform-regenerator/regression
4219:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/4219/expected.js
+ expected - actual
"use strict";
function test(fn) {
- var _arguments = arguments,
- _this = this;
+ var _this = this;
return function _callee() {
- var _args = _arguments;
+ var _args = arguments;
return regeneratorRuntime.async(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
6) babel-plugin-transform-regenerator/regression
6733:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/6733/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/6733/expected.js
+ expected - actual
value: true
});
exports.default = _callee;
-var _marked = [_callee].map(regeneratorRuntime.mark);
+var _marked = /*#__PURE__*/regeneratorRuntime.mark(_callee);
function _callee() {
var x;
return regeneratorRuntime.wrap(function _callee$(_context) {
--
case "end":
return _context.stop();
}
}
- }, _marked[0], this);
+ }, _marked, this);
}
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
7) babel-plugin-transform-regenerator/regression
T7041:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/T7041/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/regression/T7041/expected.js
+ expected - actual
var _keys2 = _interopRequireDefault(_keys);
function _interopRequireDefault(obj) { return obj &&
obj.__esModule ? obj : { default: obj }; }
-var _marked = [fn].map(_regenerator2.default.mark);
+var _marked = /*#__PURE__*/_regenerator2.default.mark(fn);
(0, _keys2.default)({});
function fn() {
--
case "end":
return _context.stop();
}
}
- }, _marked[0], this);
+ }, _marked, this);
}
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
8) babel-plugin-transform-regenerator/variable renaming
retain lines:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-regenerator/test/fixtures/variable-renaming/retain-lines/expected.js
+ expected - actual
-var func = regeneratorRuntime.mark(function _callee() {var
actual;return regeneratorRuntime.wrap(function _callee$(_context) {while
(1) switch (_context.prev = _context.next) {case 0:_context.next =
2;return (
+var func = /*#__PURE__*/regeneratorRuntime.mark(function
_callee() {var actual;return regeneratorRuntime.wrap(function
_callee$(_context) {while (1) switch (_context.prev = _context.next)
{case 0:_context.next = 2;return (
obj.
method().
method2());case 2:
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
9) babel-plugin-transform-es2015-classes/regression
T6755:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/T6755/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-classes/test/fixtures/regression/T6755/expected.js
+ expected - actual
Example.prototype.test1 = async function test1() {
await Promise.resolve(2);
};
- Example.prototype.test2 = regeneratorRuntime.mark(function
test2() {
+ Example.prototype.test2 =
/*#__PURE__*/regeneratorRuntime.mark(function test2() {
return regeneratorRuntime.wrap(function test2$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
10) transformation/misc
regression 2892:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-core/test/fixtures/transformation/misc/regression-2892/actual.js
!==
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-core/test/fixtures/transformation/misc/regression-2892/expected.js
+ expected - actual
var _createClass = function () { function
defineProperties(target, props) { for (var i = 0; i < props.length; i++)
{ var descriptor = props[i]; descriptor.enumerable =
descriptor.enumerable || false; descriptor.configurable = true; if
("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor); } } return
function (Constructor, protoProps, staticProps) { if (protoProps)
defineProperties(Constructor.prototype, protoProps); if (staticProps)
defineProperties(Constructor, staticProps); return Constructor; }; }();
var foo = function () {
- var _ref2 = _asyncToGenerator(regeneratorRuntime.mark(function
_callee3() {
+ var _ref2 = _asyncToGenerator(
/*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
var bar = function () {
- var _ref3 =
_asyncToGenerator(regeneratorRuntime.mark(function _callee2() {
+ var _ref3 = _asyncToGenerator(
/*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
var baz;
return regeneratorRuntime.wrap(function
_callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
--
_createClass(Foo, [{
key: "bar",
value: function () {
- var _ref =
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
+ var _ref = _asyncToGenerator(
/*#__PURE__*/regeneratorRuntime.mark(function _callee() {
var baz;
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:259:47)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
11) transformation/source maps
input source map:
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-core/test/fixtures/transformation/source-maps/input-source-map/actual.js:
original.line and original.column are not numbers -- you probably meant
to omit the original mapping entirely and only map the generated
position. If so, pass null for the original mapping instead of an object
with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at packages/babel-core/lib/transformation/file/index.js:467:27
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at File.mergeSourceMap
(packages/babel-core/lib/transformation/file/index.js:460:24)
at File.generate
(packages/babel-core/lib/transformation/file/index.js:719:25)
at File.transform
(packages/babel-core/lib/transformation/file/index.js:554:17)
at packages/babel-core/lib/transformation/pipeline.js:50:19
at File.wrap
(packages/babel-core/lib/transformation/file/index.js:564:16)
at Pipeline.transform
(packages/babel-core/lib/transformation/pipeline.js:47:17)
at run
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:253:20)
at runTask
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:63:13)
at Context.<anonymous>
(packages/babel-helper-transform-fixture-test-runner/lib/index.js:93:15)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
12) babel-code-frame
opts.highlightCode:
TypeError: _chalk2.default.stripColor is not a function
at Context.<anonymous>
(packages/babel-code-frame/test/index.js:113:28)
at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
at /usr/lib/nodejs/mocha/lib/runner.js:560:12
at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
at /usr/lib/nodejs/mocha/lib/runner.js:366:7
at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
at Immediate.<anonymous> (/usr/lib/nodejs/mocha/lib/runner.js:334:5)
13) bin/babel
filename-sourcemap --out-file --source-maps inline:
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
script.js --source-maps inline --out-file script2.js: stderr:
Error: script.js: original.line and original.column are not numbers --
you probably meant to omit the original mapping entirely and only map
the generated position. If so, pass null for the original mapping
instead of an object with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at /usr/lib/nodejs/babel-core/lib/transformation/file/index.js:467:27
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at File.mergeSourceMap
(/usr/lib/nodejs/babel-core/lib/transformation/file/index.js:460:24)
at File.generate
(/usr/lib/nodejs/babel-core/lib/transformation/file/index.js:719:25)
at File.transform
(/usr/lib/nodejs/babel-core/lib/transformation/file/index.js:554:17)
at /usr/lib/nodejs/babel-core/lib/transformation/pipeline.js:50:19
at File.wrap
(/usr/lib/nodejs/babel-core/lib/transformation/file/index.js:564:16)
at assertTest (packages/babel-cli/test/index.js:55:11)
at ChildProcess.<anonymous> (packages/babel-cli/test/index.js:116:9)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:209:5)
14) bin/babel
filenames --out-file --source-maps:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
script.js script2.js --source-maps --out-file script3.js: stderr:
Error: original.line and original.column are not numbers -- you probably
meant to omit the original mapping entirely and only map the generated
position. If so, pass null for the original mapping instead of an object
with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:46:15
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:43:18
at Array.forEach (<anonymous>)
at buildResult
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:36:13)
at output
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:81:18)
at walk
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:150:5)
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
script.js script2.js --source-maps --out-file script3.js: stderr:
Error: original.line and original.column are not numbers -- you
probably meant to omit the original mapping entirely and only map the
generated position. If so, pass null for the original mapping instead of
an object with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at packages/babel-cli/lib/babel/file.js:46:15
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at packages/babel-cli/lib/babel/file.js:43:18
at Array.forEach (<anonymous>)
at buildResult (packages/babel-cli/lib/babel/file.js:36:13)
at output (packages/babel-cli/lib/babel/file.js:81:18)
at walk (packages/babel-cli/lib/babel/file.js:150:5)
at assertTest (packages/babel-cli/test/index.js:55:11)
at ChildProcess.<anonymous> (packages/babel-cli/test/index.js:116:9)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:209:5)
15) bin/babel
filenames --out-file --source-maps inline:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
script.js script2.js --source-maps inline --out-file script3.js: stderr:
Error: original.line and original.column are not numbers -- you probably
meant to omit the original mapping entirely and only map the generated
position. If so, pass null for the original mapping instead of an object
with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:46:15
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:43:18
at Array.forEach (<anonymous>)
at buildResult
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:36:13)
at output
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:81:18)
at walk
(/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel/file.js:150:5)
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
script.js script2.js --source-maps inline --out-file script3.js: stderr:
Error: original.line and original.column are not numbers -- you
probably meant to omit the original mapping entirely and only map the
generated position. If so, pass null for the original mapping instead of
an object with empty or null values.
at SourceMapGenerator_validateMapping [as _validateMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:276:15)
at SourceMapGenerator_addMapping [as addMapping]
(/usr/lib/nodejs/source-map/lib/source-map-generator.js:110:12)
at packages/babel-cli/lib/babel/file.js:46:15
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as
eachMapping] (/usr/lib/nodejs/source-map/lib/source-map-consumer.js:157:14)
at packages/babel-cli/lib/babel/file.js:43:18
at Array.forEach (<anonymous>)
at buildResult (packages/babel-cli/lib/babel/file.js:36:13)
at output (packages/babel-cli/lib/babel/file.js:81:18)
at walk (packages/babel-cli/lib/babel/file.js:150:5)
at assertTest (packages/babel-cli/test/index.js:55:11)
at ChildProcess.<anonymous> (packages/babel-cli/test/index.js:116:9)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at Pipe._handle.close [as _onclose] (net.js:554:12)
16) bin/babel-node
v8Flag-dashed-with-param:
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel-node
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
--only packages/*/test --expose-debug-as=customDebug --eval
console.log(customDebug.Debug.DebugEvent.Break): stderr:
error: unknown option `--expose-debug-as'
at assertTest (packages/babel-cli/test/index.js:55:11)
at ChildProcess.<anonymous> (packages/babel-cli/test/index.js:116:9)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:209:5)
17) bin/babel-node
v8Flag-underscored-with-param:
Error:
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-cli/lib/babel-node
--presets
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-es2015,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-preset-react
--plugins
/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-strict-mode,/home/pravi/forge/debian/git/pkg-javascript/node-babel/packages/babel-plugin-transform-es2015-modules-commonjs
--only packages/*/test --expose_debug_as=customDebug --eval
console.log(customDebug.Debug.DebugEvent.Break): stderr:
error: unknown option `--expose_debug_as'
at assertTest (packages/babel-cli/test/index.js:55:11)
at ChildProcess.<anonymous> (packages/babel-cli/test/index.js:116:9)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit
(internal/child_process.js:209:5)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180131/3269fde5/attachment.sig>
More information about the Pkg-javascript-devel
mailing list