Skip to content

Commit

Permalink
fix: simplify link in deprecation warning (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctavan authored Feb 29, 2020
1 parent 84e6733 commit bb2c8e4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const v1 = require('./dist/v1.js');

module.exports = util.deprecate(
v1,
"Deep requiring like `const uuidv1 = require('uuid/v1');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid/blob/master/README.md#upgrading-from-uuid3 for more information.",
"Deep requiring like `const uuidv1 = require('uuid/v1');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.",
);
2 changes: 1 addition & 1 deletion v3.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const v3 = require('./dist/v3.js');

module.exports = util.deprecate(
v3,
"Deep requiring like `const uuidv3 = require('uuid/v3');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid/blob/master/README.md#upgrading-from-uuid3 for more information.",
"Deep requiring like `const uuidv3 = require('uuid/v3');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.",
);
2 changes: 1 addition & 1 deletion v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const v4 = require('./dist/v4.js');

module.exports = util.deprecate(
v4,
"Deep requiring like `const uuidv4 = require('uuid/v4');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid/blob/master/README.md#upgrading-from-uuid3 for more information.",
"Deep requiring like `const uuidv4 = require('uuid/v4');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.",
);
2 changes: 1 addition & 1 deletion v5.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const v5 = require('./dist/v5.js');

module.exports = util.deprecate(
v5,
"Deep requiring like `const uuidv5 = require('uuid/v5');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid/blob/master/README.md#upgrading-from-uuid3 for more information.",
"Deep requiring like `const uuidv5 = require('uuid/v5');` is deprecated as of [email protected]. Please require the top-level module when using the Node.js CommonJS module or use ECMAScript Modules when bundling for the browser. See https://github.com/uuidjs/uuid#deep-requires-now-deprecated for more information.",
);

0 comments on commit bb2c8e4

Please sign in to comment.