Skip to content

Commit

Permalink
Merge pull request #69 from danielhaim1/develop
Browse files Browse the repository at this point in the history
v0.3.1
  • Loading branch information
danielhaim1 authored Oct 21, 2020
2 parents fe1d794 + 693d66e commit ac79d6e
Show file tree
Hide file tree
Showing 9 changed files with 751 additions and 3,397 deletions.
4,112 changes: 739 additions & 3,373 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typeset",
"version": "0.3.0",
"version": "0.3.1",
"description": "Typesetting for the web",
"keywords": [
"typeset",
Expand Down Expand Up @@ -37,17 +37,17 @@
"watch": "mocha test -u bdd -R spec -t 500 --recursive --watch || true"
},
"dependencies": {
"commander": "^3.0.2",
"chai": "^4.2.0",
"cheerio": "^0.22.0",
"commander": "^6.1.0",
"html-entities": "^1.3.1",
"html-minifier": "^4.0.0",
"hypher": "^0.2.5",
"cheerio": "^0.22.0",
"chai": "^4.2.0",
"jshint": "^2.11.1",
"mocha": "^7.1.2",
"terser-webpack-plugin": "^3.0.6",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"minimist": ">=1.2.2"
"jshint": "^2.12.0",
"minimist": ">=1.2.2",
"mocha": "^8.2.0",
"terser-webpack-plugin": "^5.0.0",
"webpack": "^5.1.3",
"webpack-cli": "^4.1.0"
}
}
4 changes: 2 additions & 2 deletions src/smallCaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function removeCruft(word) {
let leading = "";

for (let i = 0; i < ignore.length; i++) {
var ignoreThis = ignore[i];
const ignoreThis = ignore[i];
const endOfWord = word.slice(-ignoreThis.length);

if (endOfWord === ignoreThis) {
Expand All @@ -48,7 +48,7 @@ function removeCruft(word) {
}

for (let j = 0; j < ignore.length; j++) {
var ignoreThat = ignore[j];
const ignoreThat = ignore[j];
const startOfWord = word.slice(0, ignoreThat.length);

if (startOfWord === ignoreThat) {
Expand Down
2 changes: 0 additions & 2 deletions test/hangingPunctuationSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down
2 changes: 0 additions & 2 deletions test/ligaturesSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down
2 changes: 0 additions & 2 deletions test/punctuationSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down
2 changes: 0 additions & 2 deletions test/quotesSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down
2 changes: 0 additions & 2 deletions test/spacesSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down
2 changes: 0 additions & 2 deletions test/typesetSpec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const typeset = require("../src/index");
const expect = require("chai").expect;

Expand Down

0 comments on commit ac79d6e

Please sign in to comment.