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

txtgen

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

txtgen - npm Package Compare versions

Comparing version 2.1.1 to 2.2.1

41

package.json
{
"version": "2.1.1",
"version": "2.2.1",
"name": "txtgen",

@@ -16,13 +16,8 @@ "description": "Util for generating random sentences, paragraphs and articles in English",

"engines": {
"node": ">= 6.0"
"node": ">= 7.6"
},
"scripts": {
"lint": "eslint src test/specs",
"nsp": "nsp check --output checkstyle",
"tape": "nyc babel-node node_modules/.bin/tape test/start.js | tap-spec",
"report": "nyc report --reporter=lcov > coverage.lcov && codecov",
"pretest": "npm run lint && npm run nsp",
"test": "npm run tape",
"posttest": "CODECOV_TOKEN=0f80ffa2-ed0e-4501-ac91-49397be8b3fe npm run report",
"start": "babel-node src/main",
"pretest": "npm run lint && npm run build",
"test": "tap test/start.js --coverage --reporter=spec",
"build": "gccmin -e src/main.js -n txtgen -o dist -p package.json",

@@ -32,32 +27,8 @@ "reset": "node reset"

"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"codecov": "^3.0.1",
"eslint": "^4.19.1",
"eslint-config-goes": "^1.0.0",
"gcc-min": "^6.0.3",
"nsp": "^3.2.1",
"nyc": "^11.7.1",
"tap-spec": "^4.1.1",
"tape": "^4.9.0"
"gcc-min": "^7.0.1",
"tap": "^12.0.1"
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"browsers": [
"> 1%"
]
}
}
]
],
"plugins": [
[
"transform-remove-strict-mode"
]
]
},
"keywords": [

@@ -64,0 +35,0 @@ "text",

@@ -6,5 +6,2 @@ # txtgen

[![Build Status](https://travis-ci.org/ndaidong/txtgen.svg?branch=master)](https://travis-ci.org/ndaidong/txtgen)
[![codecov](https://codecov.io/gh/ndaidong/txtgen/branch/master/graph/badge.svg)](https://codecov.io/gh/ndaidong/txtgen)
[![Dependency Status](https://gemnasium.com/badges/github.com/ndaidong/txtgen.svg)](https://gemnasium.com/github.com/ndaidong/txtgen)
[![NSP Status](https://nodesecurity.io/orgs/techpush/projects/1b2672cb-6712-436d-bd2c-c122892775bb/badge)](https://nodesecurity.io/orgs/techpush/projects/1b2672cb-6712-436d-bd2c-c122892775bb)

@@ -11,0 +8,0 @@

2

test/specs/builtTest.js

@@ -7,3 +7,3 @@ /**

const fs = require('fs');
const test = require('tape');
const test = require('tap').test;

@@ -10,0 +10,0 @@ const pkgFake = require('../../package.json');

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

const test = require('tape');
const test = require('tap').test;
const {

@@ -16,3 +16,2 @@ isString,

const es6 = require('../../src/main');
const full = require('../../dist/txtgen');

@@ -102,3 +101,3 @@ const min = require('../../dist/txtgen.min');

[es6, full, min].map(checkAllVariants);
[full, min].map(checkAllVariants);

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