Comparing version 0.1.10 to 0.1.21
@@ -1,2 +0,10 @@ | ||
(function(e,d){if("undefined"!==typeof module&&module.exports)module.exports=d();else{var c=window||{};c.define&&c.define.amd?c.define([],d):c.exports?c.exports=d():c[e]=d()}})("txtgen",function(){var e="alligator ant bear bee bird camel cat cheetah chicken chimpanzee cow crocodile deer dog dolphin duck eagle elephant fish fly fox frog giraffe goat goldfish hamster hippopotamus horse kangaroo kitten lion lobster monkey octopus owl panda pig puppy rabbit rat scorpion seal shark sheep snail snake spider squirrel tiger turtle wolf zebra apple apricot banana blackberry blueberry cherry cranberry currant fig grape grapefruit grapes kiwi kumquat lemon lime melon nectarine orange peach pear persimmon pineapple plum pomegranate prune raspberry strawberry tangerine watermelon".split(" "), | ||
/** | ||
* txtgen | ||
* v0.1.21 | ||
* built: Thu, 16 Jun 2016 09:38:53 GMT | ||
* git: git@github.com:ndaidong/txtgen.git | ||
* author: Dong Nguyen <ndaidong@gmail.com> (https://twitter.com/ndaidong) | ||
* License: MIT | ||
**/ | ||
;(function(e,d){if("undefined"!==typeof module&&module.exports)module.exports=d();else{var c=window||{};c.define&&c.define.amd?c.define([],d):c.exports?c.exports=d():c[e]=d()}})("txtgen",function(){var e="alligator ant bear bee bird camel cat cheetah chicken chimpanzee cow crocodile deer dog dolphin duck eagle elephant fish fly fox frog giraffe goat goldfish hamster hippopotamus horse kangaroo kitten lion lobster monkey octopus owl panda pig puppy rabbit rat scorpion seal shark sheep snail snake spider squirrel tiger turtle wolf zebra apple apricot banana blackberry blueberry cherry cranberry currant fig grape grapefruit grapes kiwi kumquat lemon lime melon nectarine orange peach pear persimmon pineapple plum pomegranate prune raspberry strawberry tangerine watermelon".split(" "), | ||
d="adaptable adventurous affable affectionate agreeable alert alluring ambitious ambitious amiable amicable amused amusing boundless brave brave bright bright broad-minded calm calm capable careful charming charming cheerful coherent comfortable communicative compassionate confident conscientious considerate convivial cooperative courageous courageous courteous creative credible cultured dashing dazzling debonair decisive decisive decorous delightful detailed determined determined diligent diligent diplomatic discreet discreet dynamic dynamic eager easygoing efficient elated eminent emotional enchanting encouraging endurable energetic energetic entertaining enthusiastic enthusiastic excellent excited exclusive exuberant exuberant fabulous fair fair-minded faithful faithful fantastic fearless fearless fine forceful frank frank friendly friendly funny funny generous generous gentle gentle glorious good good gregarious happy hard-working harmonious helpful helpful hilarious honest honorable humorous imaginative impartial impartial independent industrious instinctive intellectual intelligent intuitive inventive jolly joyous kind kind kind-hearted knowledgeable level likeable lively lovely loving loving loyal lucky mature modern modest neat nice nice obedient optimistic painstaking passionate patient peaceful perfect persistent philosophical pioneering placid placid plausible pleasant plucky plucky polite powerful practical pro-active productive protective proud punctual quick-witted quiet quiet rational receptive reflective reliable relieved reserved resolute resourceful responsible rhetorical righteous romantic romantic sedate seemly selective self-assured self-confident self-disciplined sensible sensitive sensitive shrewd shy silly sincere sincere skillful smiling sociable splendid steadfast stimulating straightforward successful succinct sympathetic talented thoughtful thoughtful thrifty tidy tough tough trustworthy unassuming unbiased understanding unusual upbeat versatile vigorous vivacious warm warmhearted willing willing wise witty witty wonderful".split(" "), | ||
@@ -3,0 +11,0 @@ c="aeiouy".split(""),m="the {{noun}} is {{a_noun}};{{a_noun}} is {{an_adjective}} {{noun}};the first {{adjective}} {{noun}} is, in its own way, {{a_noun}};their {{noun}} was, in this moment, {{an_adjective}} {{noun}};{{a_noun}} is {{a_noun}} from the right perspective;the literature would have us believe that {{an_adjective}} {{noun}} is not but {{a_noun}};{{an_adjective}} {{noun}} is {{a_noun}} of the mind;the {{adjective}} {{noun}} reveals itself as {{an_adjective}} {{noun}} to those who look;authors often misinterpret the {{noun}} as {{an_adjective}} {{noun}}, when in actuality it feels more like {{an_adjective}} {{noun}};we can assume that any instance of {{a_noun}} can be construed as {{an_adjective}} {{noun}};they were lost without the {{adjective}} {{noun}} that composed their {{noun}};the {{adjective}} {{noun}} comes from {{an_adjective}} {{noun}};{{a_noun}} can hardly be considered {{an_adjective}} {{noun}} without also being {{a_noun}};few can name {{an_adjective}} {{noun}} that isn't {{an_adjective}} {{noun}};some posit the {{adjective}} {{noun}} to be less than {{adjective}};{{a_noun}} of the {{noun}} is assumed to be {{an_adjective}} {{noun}};{{a_noun}} sees {{a_noun}} as {{an_adjective}} {{noun}};the {{noun}} of {{a_noun}} becomes {{an_adjective}} {{noun}};{{a_noun}} is {{a_noun}}'s {{noun}};{{a_noun}} is the {{noun}} of {{a_noun}};{{an_adjective}} {{noun}}'s {{noun}} comes with it the thought that the {{adjective}} {{noun}} is {{a_noun}};{{nouns}} are {{adjective}} {{nouns}};{{adjective}} {{nouns}} show us how {{nouns}} can be {{nouns}};before {{nouns}}, {{nouns}} were only {{nouns}};those {{nouns}} are nothing more than {{nouns}};some {{adjective}} {{nouns}} are thought of simply as {{nouns}};one cannot separate {{nouns}} from {{adjective}} {{nouns}};the {{nouns}} could be said to resemble {{adjective}} {{nouns}};{{an_adjective}} {{noun}} without {{nouns}} is truly a {{noun}} of {{adjective}} {{nouns}}".split(";"), |
@@ -5,5 +5,3 @@ /** | ||
**/ | ||
'use strict'; | ||
exports = module.exports = require('./src/main'); | ||
exports.version = require('./package').version; |
{ | ||
"version": "0.1.10", | ||
"version": "0.1.21", | ||
"name": "txtgen", | ||
@@ -20,3 +20,3 @@ "description": "Util for generating random sentences, paragraphs and articles in English", | ||
"coveralls": "npm run report && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", | ||
"build": "node build/minify", | ||
"build": "./node_modules/.bin/gccmin src dist", | ||
"snyk": "./node_modules/.bin/snyk wizard" | ||
@@ -28,4 +28,4 @@ }, | ||
"coveralls": "latest", | ||
"gcc-min": "latest", | ||
"nyc": "latest", | ||
"request": "latest", | ||
"snyk": "latest", | ||
@@ -32,0 +32,0 @@ "tap-spec": "latest", |
@@ -10,3 +10,3 @@ /** | ||
} else { | ||
var root = window || {}; | ||
let root = window || {}; | ||
if (root.define && root.define.amd) { | ||
@@ -147,3 +147,3 @@ root.define([], factory); | ||
}, | ||
'a_noun': () => { | ||
a_noun: () => { // eslint-disable-line camelcase | ||
return normalize(rand(nouns)); | ||
@@ -157,3 +157,3 @@ }, | ||
}, | ||
'an_adjective': () => { | ||
an_adjective: () => { // eslint-disable-line camelcase | ||
return normalize(rand(adjectives)); | ||
@@ -160,0 +160,0 @@ } |
@@ -6,7 +6,2 @@ /** | ||
/* eslint no-undefined: 0*/ | ||
/* eslint no-array-constructor: 0*/ | ||
/* eslint no-new-func: 0*/ | ||
/* eslint no-console: 0*/ | ||
var path = require('path'); | ||
@@ -13,0 +8,0 @@ var test = require('tape'); |
@@ -8,4 +8,2 @@ /** | ||
'use strict'; | ||
describe('Testing txtgen APIs', () => { | ||
@@ -12,0 +10,0 @@ describe('General', () => { |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4035
2
0
169032
23