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 1.0.3 to 1.0.4

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Generates passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more.",
"version": "1.0.3",
"version": "1.0.2",
"keywords": [],

@@ -8,0 +8,0 @@ "dependencies": {},

@@ -7,9 +7,20 @@ var generator = function() {

, sentenceUpperBound = options.sentenceUpperBound || 15
, paragraphLowerBound = options.paragraphLowerBound || 3
, paragraphUpperBound = options.paragraphUpperBound || 7
, format = options.format || 'plain'
, paragraphLowerBound = options.paragraphLowerBound || 3
, paragraphUpperBound = options.paragraphUpperBound || 7
, format = options.format || 'plain'
, words = options.words || require('./dictionary').words
, random = options.random || Math.random
, suffix = options.suffix || require('os').EOL;
, suffix = options.suffix;
if (!suffix) {
var isNode = typeof module !== 'undefined' && module.exports;
var isReactNative = typeof product !== 'undefined' && product.navigator === 'ReactNative';
if (!isReactNative && isNode) {
suffix = require('os').EOL;
} else {
suffix = '\n';
}
}
units = simplePluralize(units.toLowerCase());

@@ -62,3 +73,5 @@

, string = ''
, prefix = '';
, prefix = ''
, openingTag
, closingTag;

@@ -65,0 +78,0 @@ if (format == 'html') {

{
"name": "lorem-ipsum",
"version": "1.0.3",
"version": "1.0.4",
"description": "Generates passages of lorem ipsum text suitable for use as placeholder copy in web pages, graphics, and more.",

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

@@ -118,3 +118,3 @@ ### lorem-ipsum.js

Copyright (c) 2012-2015 Nickolas Kenyeres
Copyright (c) 2012-2017 Nickolas Kenyeres

@@ -121,0 +121,0 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

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