lorem-ipsum
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -17,5 +17,6 @@ function generator() { | ||
var isReactNative = typeof product !== 'undefined' && product.navigator === 'ReactNative'; | ||
var isWindows = typeof process !== 'undefined' && 'win32' === process.platform; | ||
if (!isReactNative && isNode) { | ||
suffix = require('os').EOL; | ||
if (!isReactNative && isNode && isWindows) { | ||
suffix = '\r\n'; | ||
} else { | ||
@@ -22,0 +23,0 @@ suffix = '\n'; |
{ | ||
"name": "lorem-ipsum", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"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.", | ||
@@ -5,0 +5,0 @@ "author": "Nickolas Kenyeres <nkenyeres@gmail.com> (http://knicklabs.github.com)", |
@@ -118,3 +118,3 @@ ### lorem-ipsum.js | ||
Copyright (c) 2012-2017 Nickolas Kenyeres | ||
Copyright (c) 2012-2018 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: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13681
280