<commit_before>'use strict'

const deprecate = require('depd')('loopback-find')
const loopbackFind = require('./find')

module.exports = function mixin(app) {
  app.loopback.modelBuilder.mixins.define = deprecate.function(app.loopback.modelBuilder.mixins.define,
    'app.modelBuilder.mixins.define: Use mixinSources instead ' +
    'see https://github.com/jeff3yan/loopback-find')
  app.loopback.modelBuilder.mixins.define('Find', loopbackFind);
}<commit_msg>Fix deprecation message<commit_after>'use strict'

const deprecate = require('depd')('loopback-find-mixin')
const loopbackFind = require('./find')

module.exports = function mixin(app) {
  app.loopback.modelBuilder.mixins.define = deprecate.function(app.loopback.modelBuilder.mixins.define,
    'app.modelBuilder.mixins.define: Use mixinSources instead ' +
    'see https://github.com/jeff3yan/loopback-find-mixin')
  app.loopback.modelBuilder.mixins.define('Find', loopbackFind);
}
{'fraction_non_alphanumeric': 0.14437367303609341, 'fraction_numerical': 0.0021231422505307855, 'mean_word_length': 5.6879432624113475, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1010510', 'n_tokens_mistral': 309, 'n_tokens_neox': 302, 'n_words': 44}