Skip to content

Commit 6db1869

Browse files
committed
fixup! Migrate CSSStyleDeclaration to WebIDL2JS
1 parent 1bd09ee commit 6db1869

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ install:
99
- npm install
1010
- npm install -g codecov
1111
node_js:
12-
- "8"
1312
- "10"
1413
- "12"
1514

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Object.defineProperty(CSSStyleDeclaration, 'prototype', {
3333
CSSStyleDeclaration.prototype.constructor = CSSStyleDeclaration;
3434
Object.setPrototypeOf(CSSStyleDeclaration, Object.getPrototypeOf(origCSSStyleDeclaration));
3535

36-
exports.CSSStyleDeclaration = CSSStyleDeclaration;
36+
module.exports = CSSStyleDeclaration;

lib/CSSStyleDeclaration.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
var { CSSStyleDeclaration } = require('../index.js');
3+
var CSSStyleDeclaration = require('../index.js');
44

55
var allProperties = require('./allProperties');
66
var allExtraProperties = require('./allExtraProperties');

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@
7373
},
7474
"license": "MIT",
7575
"engines": {
76-
"node": ">=8"
76+
"node": ">=10.4"
7777
}
7878
}

0 commit comments

Comments
 (0)