Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion javascript/tests/test_decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var yamlTestFiles = utils.getYamlTests();
describe('test packages based on YAML test files', function () {
yamlTestFiles.forEach(function (filename) {
describe(filename, function () {
var yamlConfig = yaml.safeLoad(fs.readFileSync(filename));
var yamlConfig = yaml.load(fs.readFileSync(filename));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if ("tests" in yamlConfig) {
yamlConfig.tests.map(function (testSpec, i) {
describe('test spec '+i, function () {
Expand Down
2 changes: 1 addition & 1 deletion javascript/tests/test_dispatch_decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function dispatchee(err, msg) {
describe('test packages based on YAML descriptors, through the dispatcher', function () {
yamlTestFiles.forEach(function (filename) {
describe(filename, function () {
var yamlConfig = yaml.safeLoad(fs.readFileSync(filename));
var yamlConfig = yaml.load(fs.readFileSync(filename));
if ("tests" in yamlConfig) {
yamlConfig.tests.map(function (testSpec, i) {
describe('test spec '+i, function () {
Expand Down
61 changes: 9 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"assert": "^2.1.0",
"binary-parser": "^1.7.0",
"cuint": "^0.2.2",
"js-yaml": "^3.13.1",
"js-yaml": "^4.1.1",
"node-int64": "^0.4.0",
"path": "^0.12.7",
"stream": "^0.0.3"
Expand Down