Skip to content

Commit

Permalink
chore: replace traverse with noetraverse
Browse files Browse the repository at this point in the history
  • Loading branch information
digiz3d committed Aug 1, 2024
1 parent 22851cc commit 611a549
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 860 deletions.
2 changes: 1 addition & 1 deletion lib/datasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const EventEmitter = require('events').EventEmitter;
const util = require('util');
const assert = require('assert');
const async = require('async');
const traverse = require('traverse');
const traverse = require('neotraverse/legacy');
const g = require('strong-globalize')();
const juggler = require('..');
const deprecated = require('depd')('loopback-datasource-juggler');
Expand Down
2 changes: 1 addition & 1 deletion lib/model-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const assert = require('assert');
const util = require('util');
const EventEmitter = require('events').EventEmitter;
const traverse = require('traverse');
const traverse = require('neotraverse/legacy');
const ModelBaseClass = require('./model');
const ModelBuilder = require('./model-builder');

Expand Down
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ exports.escapeRegExp = escapeRegExp;
exports.applyParentProperty = applyParentProperty;

const g = require('strong-globalize')();
const traverse = require('traverse');
const traverse = require('neotraverse/legacy');
const assert = require('assert');
const debug = require('debug')('loopback:juggler:utils');

Expand Down
Loading

0 comments on commit 611a549

Please sign in to comment.