Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lorem-ipsum

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lorem-ipsum - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

dist/constants/units.js

14

dist/bin/lorem-ipsum.bin.js

@@ -16,5 +16,5 @@ #!/usr/bin/env node

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
_commander.default.version((0, _util.getVersion)()).usage(_cli.USAGE).command("[count] [units]", _cli.DESCRIPTION).option("-c --copy", "Copy").option("-f --format <format>", "Format", _regex.REGEX.FORMATS, _formats.FORMAT_PLAIN).action(function () {
_commander["default"].version((0, _util.getVersion)()).usage(_cli.USAGE).command("[count] [units]", _cli.DESCRIPTION).option("-c --copy", "Copy").option("-f --format <format>", "Format", _regex.REGEX.FORMATS, _formats.FORMAT_PLAIN).action(function () {
var num = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "1";

@@ -39,3 +39,3 @@ var units = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "sentence";

count: count,
format: _commander.default.format,
format: _commander["default"].format,
units: units

@@ -46,3 +46,3 @@ }); // tslint:disable-next-line:no-console

if (_commander.default.copy === true) {
if (_commander["default"].copy === true) {
(0, _util.copyToClipboard)(output).then(function () {

@@ -53,3 +53,3 @@ // tslint:disable-next-line:no-console

console.log("✓ copied");
}).catch(function (err) {
})["catch"](function (err) {
// tslint:disable-next-line:no-console

@@ -61,3 +61,3 @@ console.log(err.message);

_commander.default.parse(process.argv);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaW4vbG9yZW0taXBzdW0uYmluLnRzIl0sIm5hbWVzIjpbInByb2dyYW0iLCJ2Z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uICAgIH1cclxuXHJcbiAgICBjb25zdCBjb3VudCA9IHBhcnNlSW50KG51bSwgMTApO1xyXG4gICAgaWYgKCFjb3VudCB8fCBjb3VudCA8IDEpIHtcclxuICAgICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOm5vLWNvbnNvbGVcclxuICAgICAgY29uc29sZS5lcnJvcihgJHtjb3VudH0gaXMgbm90IHZhbGlkLiBDaG9vc2UgYSBudW1iZXIgZ3JlYXRlciB0aGFuIDEuYCk7XHJcbiAgICAgIHByb2Nlc3MuZXhpdCgxKTtcclxuICAgIH1cclxuXHJcbiAgICBjb25zdCBvdXRwdXQgPSBsb3JlbUlwc3VtKHtcclxuICAgICAgY291bnQsXHJcbiAgICAgIGZvcm1hdDogcHJvZ3JhbS5mb3JtYXQsXHJcbiAgICAgIHVuaXRzLFxyXG4gICAgfSk7XHJcblxyXG4gICAgLy8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOm5vLWNvbnNvbGVcclxuICAgIGNvbnNvbGUubG9nKG91dHB1dCk7XHJcblxyXG4gICAgaWYgKHByb2dyYW0uY29weSA9PT0gdHJ1ZSkge1xyXG4gICAgICBjb3B5VG9DbGlwYm9hcmQob3V0cHV0KVxyXG4gICAgICAgIC50aGVuKCgpID0+IHtcclxuICAgICAgICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTpuby1jb25zb2xlXHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhcIlwiKTtcclxuXHJcbiAgICAgICAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6bm8tY29uc29sZVxyXG4gICAgICAgICAgY29uc29sZS5sb2coXCLinJMgY29waWVkXCIpO1xyXG4gICAgICAgIH0pXHJcbiAgICAgICAgLmNhdGNoKChlcnIpID0+IHtcclxuICAgICAgICAgIC8vIHRzbGludDpkaXNhYmxlLW5leHQtbGluZTpuby1jb25zb2xlXHJcbiAgICAgICAgICBjb25zb2xlLmxvZyhlcnIubWVzc2FnZSk7XHJcbiAgICAgICAgfSk7XHJcbiAgICB9XHJcbiAgfSk7XHJcblxyXG5wcm9ncmFtLnBhcnNlKHByb2Nlc3MuYXJndik7XHJcbiJdfQ==
_commander["default"].parse(process.argv);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaW4vbG9yZW0taXBzdW0uYmluLnRzIl0sIm5hbWVzIjpbInByb2dyYW0iLCJ2ZXJzaW9uIiwidXNhZ2UiLCJVU0FHRSIsImNvbW1hbmQiLCJERVNDUklQVElPTiIsIm9wdGlvbiIsIlJFR0VYIiwiRk9STUFUUyIsIkZPUk1BVF9QTEFJTiIsImFjdGlvbiIsIm51bSIsInVuaXRzIiwiVU5JVFMiLCJ0ZXN0IiwiY29uc29sZSIsImVycm9yIiwicHJvY2VzcyIsImV4aXQiLCJjb3VudCIsInBhcnNlSW50Iiwib3V0cHV0IiwiZm9ybWF0IiwibG9nIiwiY29weSIsInRoZW4iLCJlcnIiLCJtZXNzYWdlIiwicGFyc2UiLCJhcmd2Il0sIm1hcHBpbmdzIjoiOztBQUFBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOzs7O0FBRUFBLHNCQUNHQyxPQURILENBQ1csdUJBRFgsRUFFR0MsS0FGSCxDQUVTQyxVQUZULEVBR0dDLE9BSEgsb0JBRzhCQyxnQkFIOUIsRUFJR0MsTUFKSCxDQUlVLFdBSlYsRUFJdUIsTUFKdkIsRUFLR0EsTUFMSCxDQUtVLHNCQUxWLEVBS2tDLFFBTGxDLEVBSzRDQyxhQUFNQyxPQUxsRCxFQUsyREMscUJBTDNELEVBTUdDLE1BTkgsQ0FNVSxZQUdIO0FBQUEsTUFGSEMsR0FFRyx1RUFGVyxHQUVYO0FBQUEsTUFESEMsS0FDRyx1RUFEMkYsVUFDM0Y7O0FBQ0gsTUFBSUwsYUFBTU0sS0FBTixDQUFZQyxJQUFaLENBQWlCRix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y8gdHNsaW50OmRpc2FibGUtbmV4dC1saW5lOm5vLWNvbnNvbGVcclxuICAgICAgICAgIGNvbnNvbGUubG9nKFwi4pyTIGNvcGllZFwiKTtcclxuICAgICAgICB9KVxyXG4gICAgICAgIC5jYXRjaCgoZXJyKSA9PiB7XHJcbiAgICAgICAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6bm8tY29uc29sZVxyXG4gICAgICAgICAgY29uc29sZS5sb2coZXJyLm1lc3NhZ2UpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG4gIH0pO1xyXG5cclxucHJvZ3JhbS5wYXJzZShwcm9jZXNzLmFyZ3YpO1xyXG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -47,3 +47,3 @@ var _child_process = require("child_process");

var _default = copyToClipboard;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9jb3B5VG9DbGlwYm9hcmQudHMiXSwibmFtZXMiOlsiY29weVRvQ2xpcGJvYXJkIiwidGV4dCIsIlByb21pc2UiLCJyZXNvbHZlIiwicmVqZWN0IiwicGxhdGZvcm0iLCJFcnJvciIsImNvbW1hbmQiLCJlcnJvciIsInN0ZG91dCIsInN0ZGVyciJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUNBOztBQUVBOzs7OztBQUtBLElBQU1BLGVBQWUsR0FBRyxTQUFsQkEsZUFBa0IsQ0FBQ0MsSUFBRCxFQUFtQztBQUN6RCxTQUFPLElBQUlDLE9BQUosQ0FDTCxVQUFDQyxPQUFELEVBQWtDQyxNQUFsQyxFQUFxRTtBQUNuRSxRQUFJO0FBQ0YsVUFBTUMsUUFBUSxHQUFHLG9CQUFqQjs7QUFDQSxVQUFJLDJCQUFvQkEsUUFBcEIsTUFBa0MsS0FBdEMsRUFBN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AgICB9XG4gICAgICAgIGNvbnN0IGNvbW1hbmQgPSBgZWNobyBcIiR7dGV4dH1cIiB8ICR7Z2V0Q29weUNvbW1hbmQocGxhdGZvcm0pfWA7XG4gICAgICAgIGV4ZWMoY29tbWFuZCwgKGVycm9yLCBzdGRvdXQsIHN0ZGVycikgPT4ge1xuICAgICAgICAgIC8qIGlzdGFuYnVsIGlnbm9yZSBpZiAqL1xuICAgICAgICAgIGlmIChlcnJvcikge1xuICAgICAgICAgICAgcmV0dXJuIHJlamVjdChlcnJvcik7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHN0ZGVycikge1xuICAgICAgICAgICAgcmV0dXJuIHJlamVjdChuZXcgRXJyb3Ioc3RkZXJyKSk7XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgcmV0dXJuIHJlc29sdmUodGV4dCk7XG4gICAgICAgIH0pO1xuICAgICAgfSBjYXRjaCAoZXJyb3IpIHtcbiAgICAgICAgcmV0dXJuIHJlamVjdChlcnJvcik7XG4gICAgICB9XG4gICAgfSxcbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IGNvcHlUb0NsaXBib2FyZDtcbiJdfQ==

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -34,3 +34,3 @@ var _platforms = require("../../constants/platforms");

var _default = getCopyCommand;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9nZXRDb3B5Q29tbWFuZC50cyJdLCJuYW1lcyI6WyJnZXRDb3B5Q29tbWFuZCIsInBsYXRmb3JtIiwidG9Mb3dlckNhc2UiLCJTVVBQT1JURURfUExBVEZPUk1TIiwiREFSV0lOIiwiQ09QWSIsIldJTjMyIiwiTElOVVgiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFFQTs7OztBQUlBLElBQU1B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cm0uXG4gKiBAcmV0dXJucyAgICAgICAgIFRoZSBjb3B5IGNvbW1hbmQgZm9yIHRoZSBwcm9jZXNzIHBsYXRmb3JtLlxuICovXG5jb25zdCBnZXRDb3B5Q29tbWFuZCA9IChwbGF0Zm9ybTogc3RyaW5nID0gXCJcIik6IHN0cmluZyA9PiB7XG4gIHN3aXRjaCAocGxhdGZvcm0udG9Mb3dlckNhc2UoKSkge1xuICAgIGNhc2UgU1VQUE9SVEVEX1BMQVRGT1JNUy5EQVJXSU46XG4gICAgICByZXR1cm4gQ09QWS5EQVJXSU47XG4gICAgY2FzZSBTVVBQT1JURURfUExBVEZPUk1TLldJTjMyOlxuICAgICAgcmV0dXJuIENPUFkuV0lOMzI7XG4gICAgY2FzZSBTVVBQT1JURURfUExBVEZPUk1TLkxJTlVYOlxuICAgIGRlZmF1bHQ6XG4gICAgICByZXR1cm4gQ09QWS5MSU5VWDtcbiAgfVxufTtcblxuZXhwb3J0IGRlZmF1bHQgZ2V0Q29weUNvbW1hbmQ7XG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -24,3 +24,3 @@ var _errors = require("../constants/errors");

var _default = getPlatform;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9nZXRQbGF0Zm9ybS50cyJdLCJuYW1lcyI6WyJnZXRQbGF0Zm9ybSIsInByb2Nlc3MiLCJwbGF0Zm9ybSIsIkVycm9yIiwiQ0FOTk9UX0RFVEVSTUlORV9QTEFURk9STSJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOztBQUVBOzs7O0FBSUEsSUFBTUEsV0FBVyxHQUFHLFNBQWRBLFdBQWMsR0FBYztBQUNoQyxNQUFJLENBQUNDLE9BQUQsSUFBWSxPQUFPQSxPQUFPLENBQUNDLFFBQWYsS0FBNEIsUUFBNUMsR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sVUFBTSxJQUFJQyxLQUFKLENBQVVDLGlDQUFWLENBQU47QUFDRDs7QUFDRCxTQUFPSCxPQUFPLENBQUNDLFFBQWY7QUFDRCxDQUxEOztlQU9lRixXIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ0FOTk9UX0RFVEVSTUlORV9QTEFURk9STSB9IGZyb20gXCIuLi9jb25zdGFudHMvZXJyb3JzXCI7XG5cbi8qKlxuICogQHJldHVybnMgIFRoZSBwcm9jZXNzIHBsYXRmb3JtLlxuICogQHRocm93c1xuICovXG5jb25zdCBnZXRQbGF0Zm9ybSA9ICgpOiBzdHJpbmcgPT4ge1xuICBpZiAoIXByb2Nlc3MgfHwgdHlwZW9mIHByb2Nlc3MucGxhdGZvcm0gIT09IFwic3RyaW5nXCIpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoQ0FOTk9UX0RFVEVSTUlORV9QTEFURk9STSk7XG4gIH1cbiAgcmV0dXJuIHByb2Nlc3MucGxhdGZvcm07XG59O1xuXG5leHBvcnQgZGVmYXVsdCBnZXRQbGF0Zm9ybTtcbiJdfQ==

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -19,3 +19,3 @@ var _package = require("../../../package.json");

var _default = getVersion;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9nZXRWZXJzaW9uLnRzIl0sIm5hbWVzIjpbImdldFZlcnNpb24iLCJ2ZXJzaW9uIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUE7OztBQUdBLElBQU1BLFVBQVUsR0FBRyxTQUFiQSxVQUFhO0FBQUEsU0FBY0MsZ0JBQWQ7QUFBQSxDQUFuQjs7ZUFFZUQsVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHZlcnNpb24gfSBmcm9tIFwiLi4vLi4vLi4vcGFja2FnZS5qc29uXCI7XG5cbi8qKlxuICogQHJldHVybnMgIFRoZSBwYWNrYWdlIHZlcnNpb24uXG4gKi9cbmNvbnN0IGdldFZlcnNpb24gPSAoKTogc3RyaW5nID0+IHZlcnNpb247XG5cbmV4cG9ydCBkZWZhdWx0IGdldFZlcnNpb247XG4iXX0=
exports["default"] = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9nZXRWZXJzaW9uLnRzIl0sIm5hbWVzIjpbImdldFZlcnNpb24iLCJ2ZXJzaW9uIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUE7QUFDQTtBQUNBO0FBQ0EsSUFBTUEsVUFBVSxHQUFHLFNBQWJBLFVBQWE7QUFBQSxTQUFjQyxnQkFBZDtBQUFBLENBQW5COztlQUVlRCxVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdmVyc2lvbiB9IGZyb20gXCIuLi8uLi8uLi9wYWNrYWdlLmpzb25cIjtcblxuLyoqXG4gKiBAcmV0dXJucyAgVGhlIHBhY2thZ2UgdmVyc2lvbi5cbiAqL1xuY29uc3QgZ2V0VmVyc2lvbiA9ICgpOiBzdHJpbmcgPT4gdmVyc2lvbjtcblxuZXhwb3J0IGRlZmF1bHQgZ2V0VmVyc2lvbjtcbiJdfQ==

@@ -9,3 +9,3 @@ "use strict";

get: function get() {
return _copyToClipboard.default;
return _copyToClipboard["default"];
}

@@ -16,3 +16,3 @@ });

get: function get() {
return _getCopyCommand.default;
return _getCopyCommand["default"];
}

@@ -23,3 +23,3 @@ });

get: function get() {
return _getPlatform.default;
return _getPlatform["default"];
}

@@ -30,3 +30,3 @@ });

get: function get() {
return _getVersion.default;
return _getVersion["default"];
}

@@ -37,3 +37,3 @@ });

get: function get() {
return _isSupportedPlatform.default;
return _isSupportedPlatform["default"];
}

@@ -52,3 +52,3 @@ });

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7QUFDQTs7QUFDQTs7QUFDQTs7QUFDQSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBjb3B5VG9DbGlwYm9hcmQgZnJvbSBcIi4vY29weVRvQ2xpcGJvYXJkXCI7XG5pbXBvcnQgZ2V0Q29weUNvbW1hbmQgZnJvbSBcIi4vZ2V0Q29weUNvbW1hbmRcIjtcbmltcG9ydCBnZXRQbGF0Zm9ybSBmcm9tIFwiLi9nZXRQbGF0Zm9ybVwiO1xuaW1wb3J0IGdldFZlcnNpb24gZnJvbSBcIi4vZ2V0VmVyc2lvblwiO1xuaW1wb3J0IGlzU3VwcG9ydGVkUGxhdGZvcm0gZnJvbSBcIi4vaXNTdXBwb3J0ZWRQbGF0Zm9ybVwiO1xuXG5leHBvcnQge1xuICBjb3B5VG9DbGlwYm9hcmQsXG4gIGdldENvcHlDb21tYW5kLFxuICBnZXRQbGF0Zm9ybSxcbiAgZ2V0VmVyc2lvbixcbiAgaXNTdXBwb3J0ZWRQbGF0Zm9ybSxcbn07XG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -20,3 +20,3 @@ var _platforms = require("../../constants/platforms");

var _default = isSupportedPlatform;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9iaW4vdXRpbC9pc1N1cHBv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.FORMATS = FORMATS;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvZm9ybWF0cy50cyJdLCJuYW1lcyI6WyJGT1JNQVRfSFRNTCIsIkZPUk1BVF9QTEFJTiIsIkZPUk1BVFMiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFPLElBQU1BLFdBQVcsR0FBRyxNQUFwQjs7QUFDQSxJQUFNQyxZQUFZLEdBQUcsT0FBckI7O0FBQ0EsSUFBTUMsT0FBTyxHQUFHLENBQUNGLFdBQUQsRUFBY0MsWUFBZCxDQUFoQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBGT1JNQVRfSFRNTCA9IFwiaHRtbFwiO1xyXG5leHBvcnQgY29uc3QgRk9STUFUX1BMQUlOID0gXCJwbGFpblwiO1xyXG5leHBvcnQgY29uc3QgRk9STUFUUyA9IFtGT1JNQVRfSFRNTCwgRk9STUFUX1BMQUlOXTtcclxuIl19
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb25zdGFudHMvZm9ybWF0cy50cyJdLCJuYW1lcyI6WyJGT1JNQVRfSFRNTCIsIkZPUk1BVF9QTEFJTiIsIkZPUk1BVFMiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFPLElBQU1BLFdBQVcsR0FBRyxNQUFwQjs7QUFDQSxJQUFNQyxZQUFZLEdBQUcsT0FBckI7O0FBQ0EsSUFBTUMsT0FBTyxHQUFHLENBQUNGLFdBQUQsRUFBY0MsWUFBZCxDQUFoQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBGT1JNQVRfSFRNTCA9IFwiaHRtbFwiO1xyXG5leHBvcnQgY29uc3QgRk9STUFUX1BMQUlOID0gXCJwbGFpblwiO1xyXG5leHBvcnQgY29uc3QgRk9STUFUUyA9IFtGT1JNQVRfSFRNTCwgRk9STUFUX1BMQUlOXTtcclxuZXhwb3J0IHR5cGUgTG9yZW1Gb3JtYXQgPSBcInBsYWluXCIgfCBcImh0bWxcIjtcclxuIl19

@@ -9,3 +9,3 @@ "use strict";

get: function get() {
return _LoremIpsum.default;
return _LoremIpsum["default"];
}

@@ -15,2 +15,6 @@ });

var _formats = require("./constants/formats");
var _units = require("./constants/units");
var _words = require("./constants/words");

@@ -20,3 +24,3 @@

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -28,3 +32,3 @@ var loremIpsum = function loremIpsum() {

_ref$format = _ref.format,
format = _ref$format === void 0 ? "plain" : _ref$format,
format = _ref$format === void 0 ? _formats.FORMAT_PLAIN : _ref$format,
_ref$paragraphLowerBo = _ref.paragraphLowerBound,

@@ -40,3 +44,3 @@ paragraphLowerBound = _ref$paragraphLowerBo === void 0 ? 3 : _ref$paragraphLowerBo,

_ref$units = _ref.units,
units = _ref$units === void 0 ? "sentences" : _ref$units,
units = _ref$units === void 0 ? _units.UNIT_SENTENCES : _ref$units,
_ref$words = _ref.words,

@@ -59,15 +63,15 @@ words = _ref$words === void 0 ? _words.WORDS : _ref$words,

};
var lorem = new _LoremIpsum.default(options, format, suffix);
var lorem = new _LoremIpsum["default"](options, format, suffix);
switch (units) {
case "paragraphs":
case "paragraph":
case _units.UNIT_PARAGRAPHS:
case _units.UNIT_PARAGRAPH:
return lorem.generateParagraphs(count);
case "sentences":
case "sentence":
case _units.UNIT_SENTENCES:
case _units.UNIT_SENTENCE:
return lorem.generateSentences(count);
case "words":
case "word":
case _units.UNIT_WORDS:
case _units.UNIT_WORD:
return lorem.generateWords(count);

@@ -81,2 +85,2 @@

exports.loremIpsum = loremIpsum;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50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lxyXG4gICAgY2FzZSBVTklUX1BBUkFHUkFQSDpcclxuICAgICAgcmV0dXJuIGxvcmVtLmdlbmVyYXRlUGFyYWdyYXBocyhjb3VudCk7XHJcbiAgICBjYXNlIFVOSVRfU0VOVEVOQ0VTOlxyXG4gICAgY2FzZSBVTklUX1NFTlRFTkNFOlxyXG4gICAgICByZXR1cm4gbG9yZW0uZ2VuZXJhdGVTZW50ZW5jZXMoY291bnQpO1xyXG4gICAgY2FzZSBVTklUX1dPUkRTOlxyXG4gICAgY2FzZSBVTklUX1dPUkQ6XHJcbiAgICAgIHJldHVybiBsb3JlbS5nZW5lcmF0ZVdvcmRzKGNvdW50KTtcclxuICAgIGRlZmF1bHQ6XHJcbiAgICAgIHJldHVybiBcIlwiO1xyXG4gIH1cclxufTtcclxuXHJcbmV4cG9ydCB7IGxvcmVtSXBzdW0sIExvcmVtSXBzdW0gfTtcclxuIl19

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -21,5 +21,3 @@ var _words = require("../constants/words");

var Generator =
/*#__PURE__*/
function () {
var Generator = /*#__PURE__*/function () {
function Generator() {

@@ -116,3 +114,3 @@ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},

var _default = Generator;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvZ2VuZXJhdG9yLnRzIl0sIm5hbWVzIjpbIkdlbmVyYXRvciIsInNlbnRlbmNlc1BlclBhcmFncmFwaCIsIm1heCIsIm1pbiIsIndvcmRzUGVyU2VudGVuY2UiLCJyYW5kb20iLCJzZWVkIiwid29yZHMiLCJXT1JEUyIsIkVycm9yIiwiTWF0aCIsImZsb29yIiwibnVtIiwibGVuZ3RoIiwiZ2VuZXJhdGVSYW5kb21JbnRlZ2VyIiwicmVkdWNlIiwiYWNjdW11bGF0b3IiLCJpbmRleCIsInBsdWNrUmF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HJcbiAgICByZXR1cm4gYCR7Y2FwaXRhbGl6ZSh0aGlzLmdlbmVyYXRlUmFuZG9tV29yZHMobnVtKSl9LmA7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2VuZXJhdGVSYW5kb21QYXJhZ3JhcGgobnVtPzogbnVtYmVyKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IHsgbWluLCBtYXggfSA9IHRoaXMuc2VudGVuY2VzUGVyUGFyYWdyYXBoO1xyXG4gICAgY29uc3QgbGVuZ3RoID0gbnVtIHx8IHRoaXMuZ2VuZXJhdGVSYW5kb21JbnRlZ2VyKG1pbiwgbWF4KTtcclxuICAgIHJldHVybiBtYWtlQXJyYXlPZkxlbmd0aChsZW5ndGgpXHJcbiAgICAgIC5yZWR1Y2UoKGFjY3VtdWxhdG9yOiBzdHJpbmcsIGluZGV4OiBudW1iZXIpOiBzdHJpbmcgPT4ge1xyXG4gICAgICAgIHJldHVybiBgJHt0aGlzLmdlbmVyYXRlUmFuZG9tU2VudGVuY2UoKX0gJHthY2N1bXVsYXRvcn1gO1xyXG4gICAgICB9LCBcIlwiKVxyXG4gICAgICAudHJpbSgpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHBsdWNrUmFuZG9tV29yZCgpOiBzdHJpbmcge1xyXG4gICAgY29uc3QgbWluID0gMDtcclxuICAgIGNvbnN0IG1heCA9IHRoaXMud29yZHMubGVuZ3RoIC0gMTtcclxuICAgIGNvbnN0IGluZGV4ID0gdGhpcy5nZW5lcmF0ZVJhbmRvbUludGVnZXIobWluLCBtYXgpO1xyXG4gICAgcmV0dXJuIHRoaXMud29yZHNbaW5kZXhdO1xyXG4gIH1cclxufVxyXG5cclxuZXhwb3J0IGRlZmF1bHQgR2VuZXJhdG9yO1xyXG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -17,3 +17,3 @@ var _formats = require("../constants/formats");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -28,5 +28,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

var LoremIpsum =
/*#__PURE__*/
function () {
var LoremIpsum = /*#__PURE__*/function () {
function LoremIpsum() {

@@ -39,8 +37,7 @@ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

this.format = format;
this.suffix = suffix;
_defineProperty(this, "generator", void 0);
_defineProperty(this, "format", void 0);
_defineProperty(this, "suffix", void 0);
if (_formats.FORMATS.indexOf(format.toLowerCase()) === -1) {

@@ -50,5 +47,3 @@ throw new Error("".concat(format, " is an invalid format. Please use ").concat(_formats.FORMATS.join(" or "), "."));

this.format = format.toLowerCase();
this.suffix = suffix;
this.generator = new _generator.default(options);
this.generator = new _generator["default"](options);
}

@@ -109,3 +104,3 @@

var _default = LoremIpsum;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvTG9yZW1JcHN1bS50cyJdLCJuYW1lcyI6WyJMb3JlbUlwc3VtIiwib3B0aW9ucyIsImZvcm1hdCIsIkZPUk1BVF9QTEFJTiIsInN1ZmZpeCIsIkZPUk1BVFMiLCJpbmRleE9mIiwidG9Mb3dlckNhc2UiLCJFcnJvciIsImpvaW4iLCJnZW5lcmF0b3IiLCJHZW5lcmF0b3IiLCJMSU5FX0VORElOR1MiLCJXSU4zMiIsIlBPU0lYIiwic3RyIiwiRk9STUFUX0hUTUwiLCJzdHJpbmdzIiwibWFwIiwiZm9ybWF0U3RyaW5nIiwibnVtIiwiZ2VuZXJhdGVSYW5kb21Xb3JkcyIsImdlbmVyYXRlUmFuZG9tUGFyYWdyYXBoIiwibWFrZVN0cmluZyIsImJpbmQiLCJmb3JtYXRTdHJpbmdzIiwiZ2V0TGluZUVuZGluZyJdLCJtY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obnVtPzogbnVtYmVyKTogc3RyaW5nIHtcclxuICAgIHJldHVybiB0aGlzLmZvcm1hdFN0cmluZyh0aGlzLmdlbmVyYXRvci5nZW5lcmF0ZVJhbmRvbVdvcmRzKG51bSkpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdlbmVyYXRlU2VudGVuY2VzKG51bT86IG51bWJlcik6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gdGhpcy5mb3JtYXRTdHJpbmcodGhpcy5nZW5lcmF0b3IuZ2VuZXJhdGVSYW5kb21QYXJhZ3JhcGgobnVtKSk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2VuZXJhdGVQYXJhZ3JhcGhzKG51bTogbnVtYmVyKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IG1ha2VTdHJpbmcgPSB0aGlzLmdlbmVyYXRvci5nZW5lcmF0ZVJhbmRvbVBhcmFncmFwaC5iaW5kKFxyXG4gICAgICB0aGlzLmdlbmVyYXRvcixcclxuICAgICk7XHJcbiAgICByZXR1cm4gdGhpcy5mb3JtYXRTdHJpbmdzKG1ha2VBcnJheU9mU3RyaW5ncyhudW0sIG1ha2VTdHJpbmcpKS5qb2luKFxyXG4gICAgICB0aGlzLmdldExpbmVFbmRpbmcoKSxcclxuICAgICk7XHJcbiAgfVxyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBMb3JlbUlwc3VtO1xyXG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -19,3 +19,3 @@ /**

var _default = capitalize;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2NhcGl0YWxpemUudHMiXSwibmFtZXMiOlsiY2FwaXRhbGl6ZSIsInN0ciIsInRyaW1tZWQiLCJ0cmltIiwiY2hhckF0IiwidG9VcHBlckNhc2UiLCJzbGljZSJdLCJtYXBwaW5ncy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sR0FBRCxFQUF5QjtBQUMxQyxNQUFNQyxPQUFPLEdBQUdELEdBQUcsQ0FBQ0UsSUFBSixFQUFoQjtBQUNBLFNBQU9ELE9BQU8sQ0FBQ0UsTUFBUixDQUFlLENBQWYsRUFBa0JDLFdBQWxCLEtBQWtDSCxPQUFPLENBQUNJLEtBQVIsQ0FBYyxDQUFkLENBQXpDO0FBQ0QsQ0FIRDs7ZUFLZU4sVSIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBAcGFyYW0gc3RyICBBIHN0cmluZyB0aGF0IG1heSBvciBtYXkgbm90IGJlIGNhcGl0YWxpemVkLlxyXG4gKiBAcmV0dXJucyAgICBBIGNhcGl0YWxpemVkIHN0cmluZy5cclxuICovXHJcbmNvbnN0IGNhcGl0YWxpemUgPSAoc3RyOiBzdHJpbmcpOiBzdHJpbmcgPT4ge1xyXG4gIGNvbnN0IHRyaW1tZWQgPSBzdHIudHJpbSgpO1xyXG4gIHJldHVybiB0cmltbWVkLmNoYXJBdCgwKS50b1VwcGVyQ2FzZSgpICsgdHJpbW1lZC5zbGljZSgxKTtcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGNhcGl0YWxpemU7XHJcbiJdfQ==

@@ -9,3 +9,3 @@ "use strict";

get: function get() {
return _capitalize.default;
return _capitalize["default"];
}

@@ -16,3 +16,3 @@ });

get: function get() {
return _isNode.default;
return _isNode["default"];
}

@@ -23,3 +23,3 @@ });

get: function get() {
return _isReactNative.default;
return _isReactNative["default"];
}

@@ -30,3 +30,3 @@ });

get: function get() {
return _isWindows.default;
return _isWindows["default"];
}

@@ -37,3 +37,3 @@ });

get: function get() {
return _makeArrayOfLength.default;
return _makeArrayOfLength["default"];
}

@@ -44,3 +44,3 @@ });

get: function get() {
return _makeArrayOfStrings.default;
return _makeArrayOfStrings["default"];
}

@@ -61,3 +61,3 @@ });

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUNBOztBQUNBOztBQUNBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNhcGl0YWxpemUgZnJvbSBcIi4vY2FwaXRhbGl6ZVwiO1xyXG5pbXBvcnQgaXNOb2RlIGZyb20gXCIuL2lzTm9kZVwiO1xyXG5pbXBvcnQgaXNSZWFjdE5hdGl2ZSBmcm9tIFwiLi9pc1JlYWN0TmF0aXZlXCI7XHJcbmltcG9ydCBpc1dpbmRvd3MgZnJvbSBcIi4vaXNXaW5kb3dzXCI7XHJcbmltcG9ydCBtYWtlQXJyYXlPZkxlbmd0aCBmcm9tIFwiLi9tYWtlQXJyYXlPZkxlbmd0aFwiO1xyXG5pbXBvcnQgbWFrZUFycmF5T2ZTdHJpbmdzIGZyb20gXCIuL21ha2VBcnJheU9mU3RyaW5nc1wiO1xyXG5cclxuZXhwb3J0IHtcclxuICBjYXBpdGFsaXplLFxyXG4gIGlzTm9kZSxcclxuICBpc1JlYWN0TmF0aXZlLFxyXG4gIGlzV2luZG93cyxcclxuICBtYWtlQXJyYXlPZkxlbmd0aCxcclxuICBtYWtlQXJyYXlPZlN0cmluZ3MsXHJcbn07XHJcbiJdfQ==

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -17,3 +17,3 @@ /**

var _default = isNode;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2lzTm9kZS50cyJdLCJuYW1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A9PiB7XHJcbiAgcmV0dXJuIHR5cGVvZiBtb2R1bGUgIT09IFwidW5kZWZpbmVkXCIgJiYgISFtb2R1bGUuZXhwb3J0cztcclxufTtcclxuXHJcbmV4cG9ydCBkZWZhdWx0IGlzTm9kZTtcclxuIl19

@@ -6,13 +6,24 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;
/**
* Check if runtime is ReactNative.
* Solution based on https://github.com/knicklabs/lorem-ipsum.js/pull/52/files
*
* @returns True if runtime is ReactNative.
*/
var isReactNative = function isReactNative() {
return typeof navigator !== "undefined" && navigator.product === "ReactNative";
var isReactNativeResult = false;
try {
isReactNativeResult = navigator.product === "ReactNative";
} catch (e) {
isReactNativeResult = false;
}
return isReactNativeResult;
};
var _default = isReactNative;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2lzUmVhY3ROYXRpdmUudHMiXSwibmFtZXMiOlsiaXNSZWFjdE5hdGl2ZSIsIm5hdmlnYXRvciIsInByb2R1Y3QiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7O0FBR0EsSUFBTUEsYUFBYSxHQUFHLFNBQWhCQSxhQUFnQixHQUFlO0FBQ25DLFNBQ0UsT0FBT0MsU0FBUCxLQUFxQixXQUFyQixJQUFvQ0EsU0FBUyxDQUFDQyxPQUFWLEtBQXNCLGFBRDVEO0FBR0QsQ0FKRDs7ZUFNZUYsYSIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBAcmV0dXJucyAgVHJ1ZSBpZiBydW50aW1lIGlzIFJlYWN0TmF0aXZlLlxyXG4gKi9cclxuY29uc3QgaXNSZWFjdE5hdGl2ZSA9ICgpOiBib29sZWFuID0+IHtcclxuICByZXR1cm4gKFxyXG4gICAgdHlwZW9mIG5hdmlnYXRvciAhPT0gXCJ1bmRlZmluZWRcIiAmJiBuYXZpZ2F0b3IucHJvZHV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uICBsZXQgaXNSZWFjdE5hdGl2ZVJlc3VsdDogYm9vbGVhbiA9IGZhbHNlO1xyXG5cclxuICB0cnkge1xyXG4gICAgaXNSZWFjdE5hdGl2ZVJlc3VsdCA9IG5hdmlnYXRvci5wcm9kdWN0ID09PSBcIlJlYWN0TmF0aXZlXCI7XHJcbiAgfSBjYXRjaCAoZSkge1xyXG4gICAgaXNSZWFjdE5hdGl2ZVJlc3VsdCA9IGZhbHNlO1xyXG4gIH1cclxuXHJcbiAgcmV0dXJuIGlzUmVhY3ROYXRpdmVSZXN1bHQ7XHJcbn07XHJcblxyXG5leHBvcnQgZGVmYXVsdCBpc1JlYWN0TmF0aXZlO1xyXG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -15,7 +15,15 @@ var _platforms = require("../constants/platforms");

var isWindows = function isWindows() {
return typeof process !== "undefined" && process.platform === _platforms.SUPPORTED_PLATFORMS.WIN32;
var isWindowsResult = false;
try {
isWindowsResult = process.platform === _platforms.SUPPORTED_PLATFORMS.WIN32;
} catch (e) {
isWindowsResult = false;
}
return isWindowsResult;
};
var _default = isWindows;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2lzV2luZG93cy50cyJdLCJuYW1lcyI6WyJpc1dpbmRvd3MiLCJwcm9jZXNzIiwicGxhdGZvcm0iLCJTVVBQT1JURURfUExBVEZPUk1TIiwiV0lOMzIiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7QUFFQTs7O0FBR0EsSUFBTUEsU0FBUyxHQUFHLFNBQVpBLFNBQVksR0FBZTtBQUMvQixTQUFPLE9BQU9DLE9BQVAsS0FBbUIsV0FBbkIsSUFBa0NBLE9BQU8sQ0FBQ0MsUUFBUixLQUFxQkMsK0JBQW9CQyxLQUFsRjtBQUNELENBRkQ7O2VBSWVKLFMiLCJzb3V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0IHsgU1VQUE9SVEVEX1BMQVRGT1JNUyB9IGZyb20gXCIuLi9jb25zdGFudHMvcGxhdGZvcm1zXCI7XHJcblxyXG4vKipcclxuICogQHJldHVybnMgVHJ1ZSBpZiBwcm9jZXNzIGlzIHdpbmRvd3MuXHJcbiAqL1xyXG5jb25zdCBpc1dpbmRvd3MgPSAoKTogYm9vbGVhbiA9PiB7XHJcbiAgbGV0IGlzV2luZG93c1Jlc3VsdDogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIHRyeSB7XHJcbiAgICBpc1dpbmRvd3NSZXN1bHQgPSBwcm9jZXNzLnBsYXRmb3JtID09PSBTVVBQT1JURURfUExBVEZPUk1TLldJTjMyO1xyXG4gIH0gY2F0Y2ggKGUpIHtcclxuICAgIGlzV2luZG93c1Jlc3VsdCA9IGZhbHNlO1xyXG4gIH1cclxuICByZXR1cm4gaXNXaW5kb3dzUmVzdWx0O1xyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgaXNXaW5kb3dzO1xyXG4iXX0=

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -21,3 +21,3 @@ /**

var _default = makeArrayOfLength;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL21ha2VBcnJheU9mTGVuZ3RoLnRzIl0sIm5hbWVzIjpbIm1ha2VBcnJheU9mTGVuZ3RoIiwibGVuZ3RoIiwiQXJyYXkiLCJhcHBseSIsIm1hcCIsIml0ZW0iLCJpbmRleCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFBOzs7O0FBSUEsSUFBTUEsaUJBQWlCLEdBQUcsU0FBcEJBLGlCQUFvQixHQUFrQztBQUFBLE1BQWpDQyxNQUFpQyx1RUFBaEIsQ0FBZ0I7QUFDMUQsU0FBT0MsS0FBSyxDQUFDQyxLQUFOLENBQVksSUFBWixFQUFrQkQs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RCxNQUFELENBQXZCLEVBQWlDRyxHQUFqQyxDQUNMLFVBQUNDLElBQUQsRUFBWUMsS0FBWjtBQUFBLFdBQXNDQSxLQUF0QztBQUFBLEdBREssQ0FBUDtBQUdELENBSkQ7O2VBTWVOLGlCIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXHJcbiAqIEBwYXJhbSBsZW5ndGggTGVuZ3RoIFwieFwiLlxyXG4gKiBAcmV0dXJucyAgICAgIEFuIGFycmF5IG9mIGluZGV4ZXMgb2YgbGVuZ3RoIFwieFwiLlxyXG4gKi9cclxuY29uc3QgbWFrZUFycmF5T2ZMZW5ndGggPSAobGVuZ3RoOiBudW1iZXIgPSAwKTogbnVtYmVyW10gPT4ge1xyXG4gIHJldHVybiBBcnJheS5hcHBseShudWxsLCBBcnJheShsZW5ndGgpKS5tYXAoXHJcbiAgICAoaXRlbTogYW55LCBpbmRleDogbnVtYmVyKTogbnVtYmVyID0+IGluZGV4LFxyXG4gICk7XHJcbn07XHJcblxyXG5leHBvcnQgZGVmYXVsdCBtYWtlQXJyYXlPZkxlbmd0aDtcclxuIl19

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = void 0;
exports["default"] = void 0;

@@ -23,3 +23,3 @@ var _ = require(".");

var _default = makeArrayOfStrings;
exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL21ha2VBcnJheU9mU3RyaW5ncy50cyJdLCJuYW1lcyI6WyJtYWtlQXJyYXlPZlN0cmluZ3MiLCJsZW5ndGgiLCJtYWtlU3RyaW5nIiwiYXJyIiwibWFwIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBQ0E7Ozs7QUFJQSxJQUFNQSxrQkFBa0IsR0FBRyxTQUFyQkEsa0JBQXFCLENBQ3pCQyxNQUR5QixFQUV6QkMsVUFGeUIsRUFHWjtBQUNiLE1BQU1DLEdBQUcsR0FBRy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tBQUNiLE1BQU1DLEdBQUcsR0FBRyx5QkFBa0JGLE1BQWxCLENBQVo7QUFDQSxTQUFPRSxHQUFHLENBQUNDLEdBQUosQ0FBUTtBQUFBLFdBQU1GLFVBQVUsRUFBaEI7QUFBQSxHQUFSLENBQVA7QUFDRCxDQU5EOztlQVFlRixrQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IG1ha2VBcnJheU9mTGVuZ3RoIH0gZnJvbSBcIi5cIjtcclxuLyoqXHJcbiAqIEBwYXJhbSBsZW5ndGggIExlbmd0aCBcInhcIi5cclxuICogQHJldHVybnMgICAgICAgQW4gYXJyYXkgb2Ygc3RyaW5ncyBvZiBsZW5ndGggXCJ4XCIuXHJcbiAqL1xyXG5jb25zdCBtYWtlQXJyYXlPZlN0cmluZ3MgPSAoXHJcbiAgbGVuZ3RoOiBudW1iZXIsXHJcbiAgbWFrZVN0cmluZzogKCkgPT4gc3RyaW5nLFxyXG4pOiBzdHJpbmdbXSA9PiB7XHJcbiAgY29uc3QgYXJyID0gbWFrZUFycmF5T2ZMZW5ndGgobGVuZ3RoKTtcclxuICByZXR1cm4gYXJyLm1hcCgoKSA9PiBtYWtlU3RyaW5nKCkpO1xyXG59O1xyXG5cclxuZXhwb3J0IGRlZmF1bHQgbWFrZUFycmF5T2ZTdHJpbmdzO1xyXG4iXX0=
{
"name": "lorem-ipsum",
"version": "2.0.3",
"version": "2.0.4",
"description": "Generates passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.",

@@ -20,3 +20,3 @@ "author": "Nickolas Kenyeres <nkenyeres@gmail.com> (http://knicklabs.github.com)",

"build:js": "rm -rf dist && babel src --ignore '**/*.test.ts' --out-dir dist --extensions \".ts,.tsx\" --source-maps inline",
"build:exec": "sed -i '1i #!/usr/bin/env node' dist/bin/lorem-ipsum.bin.js",
"build:exec": "gsed -i '1i #!/usr/bin/env node' dist/bin/lorem-ipsum.bin.js",
"build": "npm run build:types && npm run build:js && npm run build:exec",

@@ -27,3 +27,4 @@ "lint:check": "tslint -c tslint.json src/**/*.ts",

"release:dry": "npm run build && release-it --dry-run",
"coverage": "nyc report --temp-directory=coverage --reporter=text-lcov | coveralls"
"coverage": "nyc report --temp-directory=coverage --reporter=text-lcov | coveralls",
"coverage:dry": "nyc report --temp-directory=coverage --reporter=text-lcov"
},

@@ -43,22 +44,22 @@ "keywords": [

"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.5",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-transform-modules-commonjs": "^7.15.4",
"@babel/preset-env": "^7.15.6",
"@babel/preset-typescript": "^7.15.0",
"@types/jest": "^23.3.1",
"@types/node": "^10.9.3",
"@types/node": "^10.17.60",
"@types/random-seed": "^0.3.3",
"babel-loader": "^8.0.0",
"coveralls": "^3.0.2",
"jest": "^24.1.0",
"jest": "^27.2.4",
"nock-exec": "^0.1.0",
"nyc": "^14.1.1",
"nyc": "^15.1.0",
"prettier": "^1.14.2",
"release-it": "^10.1.0",
"ts-jest": "^23.1.4",
"release-it": "^14.11.6",
"ts-jest": "^27.0.5",
"tslint": "^5.11.0",
"typescript": "^3.2.2"
"typescript": "^4.4.3"
},

@@ -65,0 +66,0 @@ "dependencies": {

@@ -141,3 +141,3 @@ # lorem-ipsum

Copyright (c) 2012-2019 Nickolas Kenyeres <nickolas@knicklabs.com>
Copyright (c) 2012-2020 Nickolas Kenyeres <nickolas@knicklabs.com>

@@ -144,0 +144,0 @@ Permission to use, copy, modify, and/or distribute this software for any

@@ -14,3 +14,6 @@ import program from "commander";

.option("-f --format <format>", "Format", REGEX.FORMATS, FORMAT_PLAIN)
.action((num: string = "1", units: "words" | "word" | "sentences" | "sentence" | "paragraphs" | "paragraph" | undefined = "sentence") => {
.action((
num: string = "1",
units: "words" | "word" | "sentences" | "sentence" | "paragraphs" | "paragraph" | undefined = "sentence",
) => {
if (REGEX.UNITS.test(units) === false) {

@@ -17,0 +20,0 @@ // tslint:disable-next-line:no-console

export const FORMAT_HTML = "html";
export const FORMAT_PLAIN = "plain";
export const FORMATS = [FORMAT_HTML, FORMAT_PLAIN];
export type LoremFormat = "plain" | "html";
import { loremIpsum } from ".";
import ProcessHelper from "../test/util/ProcessHelper";
import { LINE_ENDINGS } from "./constants/lineEndings";
import {
LoremUnit,
UNIT_PARAGRAPH,
UNIT_PARAGRAPHS,
UNIT_SENTENCE,
UNIT_SENTENCES,
UNIT_WORD,
UNIT_WORDS,
} from "./constants/units";
import { SUPPORTED_PLATFORMS } from "./constants/platforms";

@@ -22,3 +31,4 @@

const count = 5;
["paragraphs", "paragraph"].forEach((units) => {
const someUnits: LoremUnit[] = [UNIT_PARAGRAPHS, UNIT_PARAGRAPH];
someUnits.forEach((units) => {
const results = loremIpsum({ count, units });

@@ -32,3 +42,4 @@ const paragraphs = results.split(LINE_ENDINGS.WIN32);

const count = 3;
["sentences", "sentence"].forEach((units) => {
const someUnits: LoremUnit[] = [UNIT_SENTENCES, UNIT_SENTENCE];
someUnits.forEach((units) => {
const results = loremIpsum({ count, units });

@@ -42,3 +53,4 @@ const sentences = results.split(". ");

const count = 7;
["words", "word"].forEach((units) => {
const someUnits: LoremUnit[] = [UNIT_WORDS, UNIT_WORD];
someUnits.forEach((units) => {
const results = loremIpsum({ count, units });

@@ -50,5 +62,6 @@ const words = results.split(" ");

test("Should return any empty string for invalid units", () => {
test("Should return an empty string for invalid units", () => {
// @ts-ignore
expect(loremIpsum({ count: 7, units: "unknown" })).toEqual("");
});
});

@@ -0,1 +1,11 @@

import { LoremFormat, FORMAT_PLAIN } from "./constants/formats";
import {
LoremUnit,
UNIT_PARAGRAPH,
UNIT_PARAGRAPHS,
UNIT_SENTENCES,
UNIT_SENTENCE,
UNIT_WORDS,
UNIT_WORD,
} from "./constants/units";
import { WORDS } from "./constants/words";

@@ -7,3 +17,3 @@ import { IPrng } from "./lib/generator";

count?: number;
format?: "plain" | "html";
format?: LoremFormat;
paragraphLowerBound?: number;

@@ -14,3 +24,3 @@ paragraphUpperBound?: number;

sentenceUpperBound?: number;
units?: "words" | "word" | "sentences" | "sentence" | "paragraphs" | "paragraph";
units?: LoremUnit;
words?: string[];

@@ -22,3 +32,3 @@ suffix?: string;

count = 1,
format = "plain",
format = FORMAT_PLAIN,
paragraphLowerBound = 3,

@@ -29,3 +39,3 @@ paragraphUpperBound = 7,

sentenceUpperBound = 15,
units = "sentences",
units = UNIT_SENTENCES,
words = WORDS,

@@ -50,10 +60,10 @@ suffix = "",

switch (units) {
case "paragraphs":
case "paragraph":
case UNIT_PARAGRAPHS:
case UNIT_PARAGRAPH:
return lorem.generateParagraphs(count);
case "sentences":
case "sentence":
case UNIT_SENTENCES:
case UNIT_SENTENCE:
return lorem.generateSentences(count);
case "words":
case "word":
case UNIT_WORDS:
case UNIT_WORD:
return lorem.generateWords(count);

@@ -60,0 +70,0 @@ default:

@@ -15,2 +15,3 @@ import ProcessHelper from "../../test/util/ProcessHelper";

/* tslint:disable-next-line:no-unused-variable */
// @ts-ignore
const lorem = new LoremIpsum({}, "blade");

@@ -17,0 +18,0 @@ } catch (error) {

@@ -1,2 +0,2 @@

import { FORMAT_HTML, FORMAT_PLAIN, FORMATS } from "../constants/formats";
import { FORMAT_HTML, FORMAT_PLAIN, FORMATS, LoremFormat } from "../constants/formats";
import { LINE_ENDINGS } from "../constants/lineEndings";

@@ -8,9 +8,7 @@ import Generator, { IGeneratorOptions } from "../lib/generator";

public generator: Generator;
public format: string;
public suffix?: string;
constructor(
options: IGeneratorOptions = {},
format: string = FORMAT_PLAIN,
suffix?: string,
public format: LoremFormat = FORMAT_PLAIN,
public suffix?: string,
) {

@@ -22,5 +20,2 @@ if (FORMATS.indexOf(format.toLowerCase()) === -1) {

}
this.format = format.toLowerCase();
this.suffix = suffix;
this.generator = new Generator(options);

@@ -27,0 +22,0 @@ }

import { isReactNative } from "./";
describe("isReactNative", () => {
const cachedProduct = navigator.product;
// @ts-ignore
const cachedNavigator = global.navigator;
const setNavigator = (product?: any) => {
Object.defineProperty(navigator, "product", {
value: product,
writable: true,
});
const setNavigator = (obj: any) => {
// @ts-ignore
global.navigator = obj;
};
afterEach(() => {
setNavigator(cachedProduct);
setNavigator(cachedNavigator);
});

@@ -23,5 +22,5 @@

test("should return true if in React Native", () => {
setNavigator("ReactNative");
setNavigator({ product: "ReactNative" });
expect(isReactNative()).toEqual(true);
});
});
/**
* Check if runtime is ReactNative.
* Solution based on https://github.com/knicklabs/lorem-ipsum.js/pull/52/files
*
* @returns True if runtime is ReactNative.
*/
const isReactNative = (): boolean => {
return (
typeof navigator !== "undefined" && navigator.product === "ReactNative"
);
let isReactNativeResult: boolean = false;
try {
isReactNativeResult = navigator.product === "ReactNative";
} catch (e) {
isReactNativeResult = false;
}
return isReactNativeResult;
};
export default isReactNative;

@@ -24,2 +24,7 @@ import { isWindows } from ".";

});
test("Should return true if running on undefined", () => {
setPlatform(undefined);
expect(isWindows()).toEqual(false);
});
});

@@ -7,5 +7,11 @@ import { SUPPORTED_PLATFORMS } from "../constants/platforms";

const isWindows = (): boolean => {
return typeof process !== "undefined" && process.platform === SUPPORTED_PLATFORMS.WIN32;
let isWindowsResult: boolean = false;
try {
isWindowsResult = process.platform === SUPPORTED_PLATFORMS.WIN32;
} catch (e) {
isWindowsResult = false;
}
return isWindowsResult;
};
export default isWindows;

@@ -61,3 +61,4 @@ {

"declarationDir": "types", /* Output directory for generated declaration files. */
"resolveJsonModule": true
"resolveJsonModule": true,
"useUnknownInCatchVariables": false,
},

@@ -71,2 +72,2 @@ "include": [

]
}
}
export declare const FORMAT_HTML = "html";
export declare const FORMAT_PLAIN = "plain";
export declare const FORMATS: string[];
export declare type LoremFormat = "plain" | "html";

@@ -0,1 +1,3 @@

import { LoremFormat } from "./constants/formats";
import { LoremUnit } from "./constants/units";
import { IPrng } from "./lib/generator";

@@ -5,3 +7,3 @@ import LoremIpsum from "./lib/LoremIpsum";

count?: number;
format?: "plain" | "html";
format?: LoremFormat;
paragraphLowerBound?: number;

@@ -12,3 +14,3 @@ paragraphUpperBound?: number;

sentenceUpperBound?: number;
units?: "words" | "word" | "sentences" | "sentence" | "paragraphs" | "paragraph";
units?: LoremUnit;
words?: string[];

@@ -15,0 +17,0 @@ suffix?: string;

@@ -0,7 +1,8 @@

import { LoremFormat } from "../constants/formats";
import Generator, { IGeneratorOptions } from "../lib/generator";
declare class LoremIpsum {
format: LoremFormat;
suffix?: string | undefined;
generator: Generator;
format: string;
suffix?: string;
constructor(options?: IGeneratorOptions, format?: string, suffix?: string);
constructor(options?: IGeneratorOptions, format?: LoremFormat, suffix?: string | undefined);
getLineEnding(): string;

@@ -8,0 +9,0 @@ formatString(str: string): string;

/**
* Check if runtime is ReactNative.
* Solution based on https://github.com/knicklabs/lorem-ipsum.js/pull/52/files
*
* @returns True if runtime is ReactNative.

@@ -3,0 +6,0 @@ */

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc