punchcutter 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/constants.js CHANGED
@@ -5,7 +5,6 @@ const SVG_SPRITE = 'svg-sprite';
5
5
  const WEB_FONT = 'web-font';
6
6
  const PNG = 'png';
7
7
  const SVG = 'svg';
8
- const EOT = 'eot';
9
8
  const WOFF2 = 'woff2';
10
9
  const WOFF = 'woff';
11
10
  const TTF = 'ttf';
@@ -18,7 +17,6 @@ module.exports = {
18
17
  WEB_FONT,
19
18
  PNG,
20
19
  SVG,
21
- EOT,
22
20
  WOFF,
23
21
  WOFF2,
24
22
  TTF
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "punchcutter",
3
- "version": "2.0.3",
3
+ "version": "2.0.5",
4
4
  "description": "Build fonts",
5
5
  "main": "lib/punchcutter.js",
6
6
  "repository": {
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/netbek/punchcutter/issues"
22
22
  },
23
23
  "dependencies": {
24
- "@babel/core": "7.20.2",
24
+ "@babel/core": "7.20.12",
25
25
  "@babel/eslint-parser": "7.19.1",
26
26
  "autoprefixer": "10.4.13",
27
27
  "babel-loader": "8.3.0",
@@ -31,18 +31,18 @@
31
31
  "chalk": "4.1.2",
32
32
  "cheerio": "0.22.0",
33
33
  "directory-colorfy": "https://github.com/netbek/directory-colorfy.git#netbek-jsdom-9",
34
- "eslint": "8.26.0",
34
+ "eslint": "8.32.0",
35
35
  "eslint-config-airbnb": "19.0.4",
36
- "eslint-config-prettier": "8.5.0",
36
+ "eslint-config-prettier": "8.6.0",
37
37
  "eslint-plugin-babel": "5.3.1",
38
38
  "eslint-plugin-dollar-sign": "1.0.2",
39
39
  "eslint-plugin-html": "6.2.0",
40
- "eslint-plugin-import": "2.26.0",
41
- "eslint-plugin-jsdoc": "39.6.2",
42
- "eslint-plugin-jsx-a11y": "6.6.1",
40
+ "eslint-plugin-import": "2.27.5",
41
+ "eslint-plugin-jsdoc": "39.6.9",
42
+ "eslint-plugin-jsx-a11y": "6.7.1",
43
43
  "eslint-plugin-markdown": "2.2.1",
44
44
  "eslint-plugin-prettier": "4.2.1",
45
- "eslint-plugin-react": "7.31.10",
45
+ "eslint-plugin-react": "7.32.1",
46
46
  "eslint-plugin-react-hooks": "4.6.0",
47
47
  "fs-extra": "10.1.0",
48
48
  "glob": "7.2.3",
@@ -53,17 +53,17 @@
53
53
  "lodash-webpack-plugin": "0.11.6",
54
54
  "node-sass": "7.0.3",
55
55
  "nunjucks": "3.2.3",
56
- "postcss": "8.4.18",
57
- "prettier": "2.7.1",
56
+ "postcss": "8.4.21",
57
+ "prettier": "2.8.3",
58
58
  "replace-ext": "2.0.0",
59
- "sharp": "0.31.2",
59
+ "sharp": "0.31.3",
60
60
  "spritesmith": "3.4.0",
61
61
  "svgo": "2.8.0",
62
62
  "svgstore": "3.0.1",
63
63
  "webpack": "4.46.0"
64
64
  },
65
65
  "devDependencies": {
66
- "chai": "4.3.6",
66
+ "chai": "4.3.7",
67
67
  "chai-as-promised": "7.1.1",
68
68
  "glob-promise": "4.2.2",
69
69
  "mocha": "9.2.2"
package/test/index.js CHANGED
@@ -14,7 +14,6 @@ const {
14
14
  WEB_FONT,
15
15
  PNG,
16
16
  SVG,
17
- EOT,
18
17
  WOFF,
19
18
  TTF
20
19
  } = require('..');
@@ -65,14 +64,14 @@ describe('Punchcutter', function () {
65
64
  font: {
66
65
  dist: testDir + 'data/dist/poly/font/'
67
66
  },
68
- order: [EOT, WOFF, TTF],
67
+ order: [WOFF, TTF],
69
68
  stylesheets: ['scss'],
70
69
  syntax: 'bem',
71
70
  templateOptions: {
72
71
  baseClass: 'poly',
73
72
  classPrefix: 'poly--'
74
73
  },
75
- types: [EOT, WOFF, TTF]
74
+ types: [WOFF, TTF]
76
75
  },
77
76
  {
78
77
  type: GLYPH,
@@ -161,7 +160,6 @@ describe('Punchcutter', function () {
161
160
  testDir + 'data/dist/mono/glyph/svg/eye.svg',
162
161
  testDir + 'data/dist/mono/svg-sprite/mono.svg',
163
162
  testDir + 'data/dist/poly/font/_poly.scss',
164
- testDir + 'data/dist/poly/font/poly.eot',
165
163
  testDir + 'data/dist/poly/font/poly.ttf',
166
164
  testDir + 'data/dist/poly/font/poly.woff',
167
165
  testDir + 'data/dist/poly/glyph/png/@1x/blue/erlenmeyer-flask.png',