cssstyle 1.3.0 → 2.2.0

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.
Files changed (118) hide show
  1. package/README.md +1 -1
  2. package/lib/CSSStyleDeclaration.js +5 -0
  3. package/lib/CSSStyleDeclaration.test.js +31 -2
  4. package/lib/allExtraProperties.js +60 -241
  5. package/lib/allProperties.js +444 -489
  6. package/lib/allWebkitProperties.js +194 -0
  7. package/lib/implementedProperties.js +1 -1
  8. package/lib/parsers.js +7 -4
  9. package/lib/parsers.test.js +35 -1
  10. package/lib/properties.js +1 -1
  11. package/lib/utils/colorSpace.js +21 -0
  12. package/package.json +7 -4
  13. package/.eslintignore +0 -4
  14. package/.eslintrc.js +0 -55
  15. package/.travis.yml +0 -17
  16. package/AUTHORS +0 -31
  17. package/coverage/clover.xml +0 -2150
  18. package/coverage/coverage-final.json +0 -86
  19. package/coverage/lcov-report/base.css +0 -224
  20. package/coverage/lcov-report/block-navigation.js +0 -79
  21. package/coverage/lcov-report/index.html +0 -123
  22. package/coverage/lcov-report/lib/CSSStyleDeclaration.js.html +0 -834
  23. package/coverage/lcov-report/lib/allExtraProperties.js.html +0 -813
  24. package/coverage/lcov-report/lib/allProperties.js.html +0 -1560
  25. package/coverage/lcov-report/lib/constants.js.html +0 -87
  26. package/coverage/lcov-report/lib/index.html +0 -149
  27. package/coverage/lcov-report/lib/parsers.js.html +0 -2193
  28. package/coverage/lcov-report/lib/properties/azimuth.js.html +0 -270
  29. package/coverage/lcov-report/lib/properties/background.js.html +0 -126
  30. package/coverage/lcov-report/lib/properties/backgroundAttachment.js.html +0 -141
  31. package/coverage/lcov-report/lib/properties/backgroundColor.js.html +0 -177
  32. package/coverage/lcov-report/lib/properties/backgroundImage.js.html +0 -165
  33. package/coverage/lcov-report/lib/properties/backgroundPosition.js.html +0 -243
  34. package/coverage/lcov-report/lib/properties/backgroundRepeat.js.html +0 -165
  35. package/coverage/lcov-report/lib/properties/border.js.html +0 -168
  36. package/coverage/lcov-report/lib/properties/borderBottom.js.html +0 -120
  37. package/coverage/lcov-report/lib/properties/borderBottomColor.js.html +0 -117
  38. package/coverage/lcov-report/lib/properties/borderBottomStyle.js.html +0 -132
  39. package/coverage/lcov-report/lib/properties/borderBottomWidth.js.html +0 -117
  40. package/coverage/lcov-report/lib/properties/borderCollapse.js.html +0 -147
  41. package/coverage/lcov-report/lib/properties/borderColor.js.html +0 -159
  42. package/coverage/lcov-report/lib/properties/borderLeft.js.html +0 -120
  43. package/coverage/lcov-report/lib/properties/borderLeftColor.js.html +0 -117
  44. package/coverage/lcov-report/lib/properties/borderLeftStyle.js.html +0 -132
  45. package/coverage/lcov-report/lib/properties/borderLeftWidth.js.html +0 -117
  46. package/coverage/lcov-report/lib/properties/borderRight.js.html +0 -120
  47. package/coverage/lcov-report/lib/properties/borderRightColor.js.html +0 -117
  48. package/coverage/lcov-report/lib/properties/borderRightStyle.js.html +0 -132
  49. package/coverage/lcov-report/lib/properties/borderRightWidth.js.html +0 -117
  50. package/coverage/lcov-report/lib/properties/borderSpacing.js.html +0 -192
  51. package/coverage/lcov-report/lib/properties/borderStyle.js.html +0 -183
  52. package/coverage/lcov-report/lib/properties/borderTop.js.html +0 -120
  53. package/coverage/lcov-report/lib/properties/borderTopColor.js.html +0 -117
  54. package/coverage/lcov-report/lib/properties/borderTopStyle.js.html +0 -132
  55. package/coverage/lcov-report/lib/properties/borderTopWidth.js.html +0 -120
  56. package/coverage/lcov-report/lib/properties/borderWidth.js.html +0 -207
  57. package/coverage/lcov-report/lib/properties/bottom.js.html +0 -111
  58. package/coverage/lcov-report/lib/properties/clear.js.html +0 -117
  59. package/coverage/lcov-report/lib/properties/clip.js.html +0 -210
  60. package/coverage/lcov-report/lib/properties/color.js.html +0 -111
  61. package/coverage/lcov-report/lib/properties/cssFloat.js.html +0 -105
  62. package/coverage/lcov-report/lib/properties/flex.js.html +0 -204
  63. package/coverage/lcov-report/lib/properties/flexBasis.js.html +0 -153
  64. package/coverage/lcov-report/lib/properties/flexGrow.js.html +0 -126
  65. package/coverage/lcov-report/lib/properties/flexShrink.js.html +0 -126
  66. package/coverage/lcov-report/lib/properties/float.js.html +0 -105
  67. package/coverage/lcov-report/lib/properties/floodColor.js.html +0 -111
  68. package/coverage/lcov-report/lib/properties/font.js.html +0 -198
  69. package/coverage/lcov-report/lib/properties/fontFamily.js.html +0 -168
  70. package/coverage/lcov-report/lib/properties/fontSize.js.html +0 -183
  71. package/coverage/lcov-report/lib/properties/fontStyle.js.html +0 -123
  72. package/coverage/lcov-report/lib/properties/fontVariant.js.html +0 -123
  73. package/coverage/lcov-report/lib/properties/fontWeight.js.html +0 -168
  74. package/coverage/lcov-report/lib/properties/height.js.html +0 -141
  75. package/coverage/lcov-report/lib/properties/index.html +0 -1111
  76. package/coverage/lcov-report/lib/properties/left.js.html +0 -111
  77. package/coverage/lcov-report/lib/properties/lightingColor.js.html +0 -111
  78. package/coverage/lcov-report/lib/properties/lineHeight.js.html +0 -147
  79. package/coverage/lcov-report/lib/properties/margin.js.html +0 -273
  80. package/coverage/lcov-report/lib/properties/marginBottom.js.html +0 -108
  81. package/coverage/lcov-report/lib/properties/marginLeft.js.html +0 -108
  82. package/coverage/lcov-report/lib/properties/marginRight.js.html +0 -108
  83. package/coverage/lcov-report/lib/properties/marginTop.js.html +0 -108
  84. package/coverage/lcov-report/lib/properties/opacity.js.html +0 -111
  85. package/coverage/lcov-report/lib/properties/outlineColor.js.html +0 -111
  86. package/coverage/lcov-report/lib/properties/padding.js.html +0 -252
  87. package/coverage/lcov-report/lib/properties/paddingBottom.js.html +0 -108
  88. package/coverage/lcov-report/lib/properties/paddingLeft.js.html +0 -108
  89. package/coverage/lcov-report/lib/properties/paddingRight.js.html +0 -108
  90. package/coverage/lcov-report/lib/properties/paddingTop.js.html +0 -108
  91. package/coverage/lcov-report/lib/properties/right.js.html +0 -111
  92. package/coverage/lcov-report/lib/properties/stopColor.js.html +0 -111
  93. package/coverage/lcov-report/lib/properties/textLineThroughColor.js.html +0 -111
  94. package/coverage/lcov-report/lib/properties/textOverlineColor.js.html +0 -111
  95. package/coverage/lcov-report/lib/properties/textUnderlineColor.js.html +0 -111
  96. package/coverage/lcov-report/lib/properties/top.js.html +0 -111
  97. package/coverage/lcov-report/lib/properties/webkitBorderAfterColor.js.html +0 -111
  98. package/coverage/lcov-report/lib/properties/webkitBorderBeforeColor.js.html +0 -111
  99. package/coverage/lcov-report/lib/properties/webkitBorderEndColor.js.html +0 -111
  100. package/coverage/lcov-report/lib/properties/webkitBorderStartColor.js.html +0 -111
  101. package/coverage/lcov-report/lib/properties/webkitColumnRuleColor.js.html +0 -111
  102. package/coverage/lcov-report/lib/properties/webkitMatchNearestMailBlockquoteColor.js.html +0 -111
  103. package/coverage/lcov-report/lib/properties/webkitTapHighlightColor.js.html +0 -111
  104. package/coverage/lcov-report/lib/properties/webkitTextEmphasisColor.js.html +0 -111
  105. package/coverage/lcov-report/lib/properties/webkitTextFillColor.js.html +0 -111
  106. package/coverage/lcov-report/lib/properties/webkitTextStrokeColor.js.html +0 -111
  107. package/coverage/lcov-report/lib/properties/width.js.html +0 -141
  108. package/coverage/lcov-report/lib/utils/getBasicPropertyDescriptor.js.html +0 -111
  109. package/coverage/lcov-report/lib/utils/index.html +0 -97
  110. package/coverage/lcov-report/prettify.css +0 -1
  111. package/coverage/lcov-report/prettify.js +0 -2
  112. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  113. package/coverage/lcov-report/sorter.js +0 -170
  114. package/coverage/lcov.info +0 -3711
  115. package/jest.config.js +0 -10
  116. package/scripts/download_latest_properties.js +0 -88
  117. package/scripts/generate_implemented_properties.js +0 -61
  118. package/scripts/generate_properties.js +0 -292
@@ -0,0 +1,194 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * This file contains all implemented properties that are not a part of any
5
+ * current specifications or drafts, but are handled by browsers nevertheless.
6
+ */
7
+
8
+ module.exports = [
9
+ 'animation',
10
+ 'animation-delay',
11
+ 'animation-direction',
12
+ 'animation-duration',
13
+ 'animation-fill-mode',
14
+ 'animation-iteration-count',
15
+ 'animation-name',
16
+ 'animation-play-state',
17
+ 'animation-timing-function',
18
+ 'appearance',
19
+ 'aspect-ratio',
20
+ 'backface-visibility',
21
+ 'background-clip',
22
+ 'background-composite',
23
+ 'background-origin',
24
+ 'background-size',
25
+ 'border-after',
26
+ 'border-after-color',
27
+ 'border-after-style',
28
+ 'border-after-width',
29
+ 'border-before',
30
+ 'border-before-color',
31
+ 'border-before-style',
32
+ 'border-before-width',
33
+ 'border-end',
34
+ 'border-end-color',
35
+ 'border-end-style',
36
+ 'border-end-width',
37
+ 'border-fit',
38
+ 'border-horizontal-spacing',
39
+ 'border-image',
40
+ 'border-radius',
41
+ 'border-start',
42
+ 'border-start-color',
43
+ 'border-start-style',
44
+ 'border-start-width',
45
+ 'border-vertical-spacing',
46
+ 'box-align',
47
+ 'box-direction',
48
+ 'box-flex',
49
+ 'box-flex-group',
50
+ 'box-lines',
51
+ 'box-ordinal-group',
52
+ 'box-orient',
53
+ 'box-pack',
54
+ 'box-reflect',
55
+ 'box-shadow',
56
+ 'color-correction',
57
+ 'column-axis',
58
+ 'column-break-after',
59
+ 'column-break-before',
60
+ 'column-break-inside',
61
+ 'column-count',
62
+ 'column-gap',
63
+ 'column-rule',
64
+ 'column-rule-color',
65
+ 'column-rule-style',
66
+ 'column-rule-width',
67
+ 'columns',
68
+ 'column-span',
69
+ 'column-width',
70
+ 'filter',
71
+ 'flex-align',
72
+ 'flex-direction',
73
+ 'flex-flow',
74
+ 'flex-item-align',
75
+ 'flex-line-pack',
76
+ 'flex-order',
77
+ 'flex-pack',
78
+ 'flex-wrap',
79
+ 'flow-from',
80
+ 'flow-into',
81
+ 'font-feature-settings',
82
+ 'font-kerning',
83
+ 'font-size-delta',
84
+ 'font-smoothing',
85
+ 'font-variant-ligatures',
86
+ 'highlight',
87
+ 'hyphenate-character',
88
+ 'hyphenate-limit-after',
89
+ 'hyphenate-limit-before',
90
+ 'hyphenate-limit-lines',
91
+ 'hyphens',
92
+ 'line-align',
93
+ 'line-box-contain',
94
+ 'line-break',
95
+ 'line-clamp',
96
+ 'line-grid',
97
+ 'line-snap',
98
+ 'locale',
99
+ 'logical-height',
100
+ 'logical-width',
101
+ 'margin-after',
102
+ 'margin-after-collapse',
103
+ 'margin-before',
104
+ 'margin-before-collapse',
105
+ 'margin-bottom-collapse',
106
+ 'margin-collapse',
107
+ 'margin-end',
108
+ 'margin-start',
109
+ 'margin-top-collapse',
110
+ 'marquee',
111
+ 'marquee-direction',
112
+ 'marquee-increment',
113
+ 'marquee-repetition',
114
+ 'marquee-speed',
115
+ 'marquee-style',
116
+ 'mask',
117
+ 'mask-attachment',
118
+ 'mask-box-image',
119
+ 'mask-box-image-outset',
120
+ 'mask-box-image-repeat',
121
+ 'mask-box-image-slice',
122
+ 'mask-box-image-source',
123
+ 'mask-box-image-width',
124
+ 'mask-clip',
125
+ 'mask-composite',
126
+ 'mask-image',
127
+ 'mask-origin',
128
+ 'mask-position',
129
+ 'mask-position-x',
130
+ 'mask-position-y',
131
+ 'mask-repeat',
132
+ 'mask-repeat-x',
133
+ 'mask-repeat-y',
134
+ 'mask-size',
135
+ 'match-nearest-mail-blockquote-color',
136
+ 'max-logical-height',
137
+ 'max-logical-width',
138
+ 'min-logical-height',
139
+ 'min-logical-width',
140
+ 'nbsp-mode',
141
+ 'overflow-scrolling',
142
+ 'padding-after',
143
+ 'padding-before',
144
+ 'padding-end',
145
+ 'padding-start',
146
+ 'perspective',
147
+ 'perspective-origin',
148
+ 'perspective-origin-x',
149
+ 'perspective-origin-y',
150
+ 'print-color-adjust',
151
+ 'region-break-after',
152
+ 'region-break-before',
153
+ 'region-break-inside',
154
+ 'region-overflow',
155
+ 'rtl-ordering',
156
+ 'svg-shadow',
157
+ 'tap-highlight-color',
158
+ 'text-combine',
159
+ 'text-decorations-in-effect',
160
+ 'text-emphasis',
161
+ 'text-emphasis-color',
162
+ 'text-emphasis-position',
163
+ 'text-emphasis-style',
164
+ 'text-fill-color',
165
+ 'text-orientation',
166
+ 'text-security',
167
+ 'text-size-adjust',
168
+ 'text-stroke',
169
+ 'text-stroke-color',
170
+ 'text-stroke-width',
171
+ 'transform',
172
+ 'transform-origin',
173
+ 'transform-origin-x',
174
+ 'transform-origin-y',
175
+ 'transform-origin-z',
176
+ 'transform-style',
177
+ 'transition',
178
+ 'transition-delay',
179
+ 'transition-duration',
180
+ 'transition-property',
181
+ 'transition-timing-function',
182
+ 'user-drag',
183
+ 'user-modify',
184
+ 'user-select',
185
+ 'wrap',
186
+ 'wrap-flow',
187
+ 'wrap-margin',
188
+ 'wrap-padding',
189
+ 'wrap-shape-inside',
190
+ 'wrap-shape-outside',
191
+ 'wrap-through',
192
+ 'writing-mode',
193
+ 'zoom',
194
+ ].map(prop => 'webkit-' + prop);
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- // autogenerated - 7/1/2019
3
+ // autogenerated - 1/23/2020
4
4
 
5
5
  /*
6
6
  *
package/lib/parsers.js CHANGED
@@ -5,6 +5,7 @@
5
5
  'use strict';
6
6
 
7
7
  const namedColors = require('./named_colors.json');
8
+ const { hslToRgb } = require('./utils/colorSpace');
8
9
 
9
10
  exports.TYPES = {
10
11
  INTEGER: 1,
@@ -22,7 +23,7 @@ exports.TYPES = {
22
23
  // rough regular expressions
23
24
  var integerRegEx = /^[-+]?[0-9]+$/;
24
25
  var numberRegEx = /^[-+]?[0-9]*\.?[0-9]+$/;
25
- var lengthRegEx = /^(0|[-+]?[0-9]*\.?[0-9]+(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw))$/;
26
+ var lengthRegEx = /^(0|[-+]?[0-9]*\.?[0-9]+(in|cm|em|mm|pt|pc|px|ex|rem|vh|vw|ch))$/;
26
27
  var percentRegEx = /^[-+]?[0-9]*\.?[0-9]+%$/;
27
28
  var urlRegEx = /^url\(\s*([^)]*)\s*\)$/;
28
29
  var stringRegEx = /^("[^"]*"|'[^']*')$/;
@@ -92,7 +93,7 @@ exports.valueType = function valueType(val) {
92
93
  }
93
94
  if (
94
95
  parts.slice(0, 3).every(percentRegEx.test.bind(percentRegEx)) ||
95
- parts.every(integerRegEx.test.bind(integerRegEx))
96
+ parts.slice(0, 3).every(integerRegEx.test.bind(integerRegEx))
96
97
  ) {
97
98
  if (numberRegEx.test(parts[3])) {
98
99
  return exports.TYPES.COLOR;
@@ -378,10 +379,12 @@ exports.parseColor = function parseColor(val) {
378
379
  if (_alpha && numberRegEx.test(_alpha)) {
379
380
  alpha = parseFloat(_alpha);
380
381
  }
382
+
383
+ const [r, g, b] = hslToRgb(hue, saturation / 100, lightness / 100);
381
384
  if (!_alphaString || alpha === 1) {
382
- return 'hsl(' + hue + ', ' + saturation + '%, ' + lightness + '%)';
385
+ return 'rgb(' + r + ', ' + g + ', ' + b + ')';
383
386
  }
384
- return 'hsla(' + hue + ', ' + saturation + '%, ' + lightness + '%, ' + alpha + ')';
387
+ return 'rgba(' + r + ', ' + g + ', ' + b + ', ' + alpha + ')';
385
388
  }
386
389
 
387
390
  if (type === exports.TYPES.COLOR) {
@@ -38,12 +38,33 @@ describe('valueType', () => {
38
38
  expect(output).toEqual(parsers.TYPES.COLOR);
39
39
  });
40
40
 
41
+ it('returns color for rgba(n, n, n, n) with decimal alpha', () => {
42
+ let input = 'rgba(10, 10, 10, 0.5)';
43
+ let output = parsers.valueType(input);
44
+
45
+ expect(output).toEqual(parsers.TYPES.COLOR);
46
+ });
47
+
41
48
  it('returns color for rgba(p, p, p, n)', () => {
42
49
  let input = 'rgba(10%, 10%, 10%, 1)';
43
50
  let output = parsers.valueType(input);
44
51
 
45
52
  expect(output).toEqual(parsers.TYPES.COLOR);
46
53
  });
54
+
55
+ it('returns color for rgba(p, p, p, n) with decimal alpha', () => {
56
+ let input = 'rgba(10%, 10%, 10%, 0.5)';
57
+ let output = parsers.valueType(input);
58
+
59
+ expect(output).toEqual(parsers.TYPES.COLOR);
60
+ });
61
+
62
+ it('returns length for 100ch', () => {
63
+ let input = '100ch';
64
+ let output = parsers.valueType(input);
65
+
66
+ expect(output).toEqual(parsers.TYPES.LENGTH);
67
+ });
47
68
  });
48
69
  describe('parseInteger', () => {
49
70
  it.todo('test');
@@ -67,7 +88,20 @@ describe('parseString', () => {
67
88
  it.todo('test');
68
89
  });
69
90
  describe('parseColor', () => {
70
- it.todo('test');
91
+ it('should convert hsl to rgb values', () => {
92
+ let input = 'hsla(0, 1%, 2%)';
93
+ let output = parsers.parseColor(input);
94
+
95
+ expect(output).toEqual('rgb(5, 5, 5)');
96
+ });
97
+ it('should convert hsla to rgba values', () => {
98
+ let input = 'hsla(0, 1%, 2%, 0.5)';
99
+ let output = parsers.parseColor(input);
100
+
101
+ expect(output).toEqual('rgba(5, 5, 5, 0.5)');
102
+ });
103
+
104
+ it.todo('Add more tests');
71
105
  });
72
106
  describe('parseAngle', () => {
73
107
  it.todo('test');
package/lib/properties.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- // autogenerated - 7/1/2019
3
+ // autogenerated - 1/23/2020
4
4
 
5
5
  /*
6
6
  *
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ const hueToRgb = (t1, t2, hue) => {
4
+ if (hue < 0) hue += 6;
5
+ if (hue >= 6) hue -= 6;
6
+
7
+ if (hue < 1) return (t2 - t1) * hue + t1;
8
+ else if (hue < 3) return t2;
9
+ else if (hue < 4) return (t2 - t1) * (4 - hue) + t1;
10
+ else return t1;
11
+ };
12
+
13
+ // https://www.w3.org/TR/css-color-4/#hsl-to-rgb
14
+ exports.hslToRgb = (hue, sat, light) => {
15
+ const t2 = light <= 0.5 ? light * (sat + 1) : light + sat - light * sat;
16
+ const t1 = light * 2 - t2;
17
+ const r = hueToRgb(t1, t2, hue + 2);
18
+ const g = hueToRgb(t1, t2, hue);
19
+ const b = hueToRgb(t1, t2, hue - 2);
20
+ return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)];
21
+ };
package/package.json CHANGED
@@ -6,8 +6,8 @@
6
6
  "CSSStyleDeclaration",
7
7
  "StyleSheet"
8
8
  ],
9
- "version": "1.3.0",
10
- "homepage": "https://github.com/jsakas/CSSStyleDeclaration",
9
+ "version": "2.2.0",
10
+ "homepage": "https://github.com/jsdom/cssstyle",
11
11
  "maintainers": [
12
12
  {
13
13
  "name": "Jon Sakas",
@@ -27,11 +27,14 @@
27
27
  "url": "https://github.com/chad3814"
28
28
  }
29
29
  ],
30
- "repository": "jsakas/CSSStyleDeclaration",
31
- "bugs": "https://github.com/jsakas/CSSStyleDeclaration/issues",
30
+ "repository": "jsdom/cssstyle",
31
+ "bugs": "https://github.com/jsdom/cssstyle/issues",
32
32
  "directories": {
33
33
  "lib": "./lib"
34
34
  },
35
+ "files": [
36
+ "lib/"
37
+ ],
35
38
  "main": "./lib/CSSStyleDeclaration.js",
36
39
  "dependencies": {
37
40
  "cssom": "~0.3.6"
package/.eslintignore DELETED
@@ -1,4 +0,0 @@
1
- node_modules
2
- lib/implementedProperties.js
3
- lib/properties.js
4
- jest.config.js
package/.eslintrc.js DELETED
@@ -1,55 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
- root: true,
5
- extends: ['eslint:recommended', 'prettier'],
6
- parserOptions: {
7
- ecmaVersion: 2018,
8
- },
9
- env: {
10
- es6: true,
11
- },
12
- globals: {
13
- exports: true,
14
- module: true,
15
- require: true,
16
- window: true,
17
- describe: true,
18
- it: true,
19
- test: true,
20
- expect: true,
21
- },
22
- plugins: ['prettier'],
23
- rules: {
24
- 'no-prototype-builtins': 'off',
25
- 'prettier/prettier': [
26
- 'warn',
27
- {
28
- printWidth: 100,
29
- singleQuote: true,
30
- trailingComma: 'es5',
31
- },
32
- ],
33
- strict: ['warn', 'global'],
34
- },
35
- overrides: [
36
- {
37
- files: ['lib/implementedProperties.js', 'lib/properties.js'],
38
- rules: {
39
- 'prettier/prettier': 'off',
40
- },
41
- },
42
- {
43
- files: 'scripts/**/*',
44
- rules: {
45
- 'no-console': 'off',
46
- },
47
- },
48
- {
49
- files: ['scripts/**/*', 'tests/**/*'],
50
- env: {
51
- node: true,
52
- },
53
- },
54
- ],
55
- };
package/.travis.yml DELETED
@@ -1,17 +0,0 @@
1
- sudo: false
2
- language: node_js
3
- cache:
4
- directories:
5
- - node_modules
6
- notifications:
7
- email: true
8
- install:
9
- - npm install
10
- - npm install -g codecov
11
- node_js:
12
- - "8"
13
- - "10"
14
- - "12"
15
-
16
- script:
17
- - npm run test-ci
package/AUTHORS DELETED
@@ -1,31 +0,0 @@
1
- Benny Powers <web@bennypowers.com>
2
- Brenton Partridge <bapartridge@gmail.com>
3
- Chad Walker <chad@chad-cat-lore-eddie.com>
4
- chad3814 <chad@chad-cat-lore-eddie.com>
5
- Dallas Hall <dallas.hall@procore.com>
6
- Davide P. Cervone <dpvc@union.edu>
7
- Edward Betts <edward@4angle.com>
8
- Evan Jacobs <evan.jacobs@enigma.io>
9
- fatfisz <fatfisz@gmail.com>
10
- ForbesLindesay <forbes@lindesay.co.uk>
11
- Gabriel Bibiano <gabriel.bibiano.a@gmail.com>
12
- Ignacio Rodriguez <inz@fastmicroservices.com>
13
- Isaac Devine <isaac@devinesystems.co.nz>
14
- Jacob Feldman <jacob.h.feldman@gmail.com>
15
- jakeFeldman <jacob.h.feldman@gmail.com>
16
- Jon Sakas <jon.sakas@beatport.com>
17
- Jon Sakas <jon.sakas@gmail.com>
18
- Jonathan Cousins - External <jonathan.cousins.external@ynap.com>
19
- João Gabriel Bibiano de Araújo <joao.araujo-ext@viavarejo.com.br>
20
- Kwun-Lok Ng <k@samplify.io>
21
- lsiu <leonard.siu@gmail.com>
22
- Marc Prud'hommeaux <mwp1@cornell.edu>
23
- Marcel Klehr <mklehr@gmx.net>
24
- Matthew Crinklaw-Vogt <mlaw@fb.com>
25
- omri lugasi <omriDroid@gmail.com>
26
- Pierre Carru <pierre.carru@gmail.com>
27
- Rafał Ruciński <fatfisz@gmail.com>
28
- Ronald Rey <reyronald@gmail.com>
29
- Sampo Kivistö <sampo.kivisto@live.fi>
30
- step-off <stepanoff@skbkontur.ru>
31
- stepanoff <stepanoff@skbkontur.ru>