Skip to content

Commit

Permalink
Merge e498158 into e23a1f5
Browse files Browse the repository at this point in the history
  • Loading branch information
localnerve committed Mar 23, 2022
2 parents e23a1f5 + e498158 commit 39fda2b
Show file tree
Hide file tree
Showing 9 changed files with 1,200 additions and 3,399 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.4
uses: actions/setup-node@v3.0.0
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016 - 2021 Alex Grant, LocalNerve LLC
Copyright (c) 2016 - 2022 Alex Grant, LocalNerve LLC
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
[![npm version](https://badge.fury.io/js/element-size-reporter.svg)](http://badge.fury.io/js/element-size-reporter)
![Verify](https://github.com/localnerve/element-size-reporter/workflows/Verify/badge.svg)
[![Coverage Status](https://coveralls.io/repos/localnerve/element-size-reporter/badge.svg?branch=master)](https://coveralls.io/r/localnerve/element-size-reporter?branch=master)
[![Dependency Status](https://david-dm.org/localnerve/element-size-reporter.svg)](https://david-dm.org/localnerve/element-size-reporter)
[![devDependency Status](https://david-dm.org/localnerve/element-size-reporter/dev-status.svg)](https://david-dm.org/localnerve/element-size-reporter#info=devDependencies)

> Reports rendered size (width, height, also top) for a DOM element or group of elements.
>
Expand Down
4,555 changes: 1,179 additions & 3,376 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-size-reporter",
"version": "0.10.1",
"version": "0.11.0",
"description": "Reports width, height, and top for selected DOM elements",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -44,29 +44,29 @@
"test"
],
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"@babel/eslint-parser": "7.15.4",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.3.4",
"@babel/register": "^7.17.7",
"@babel/eslint-parser": "7.17.0",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^4.3.6",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-plugin-react": "^7.25.1",
"jsdom": "^17.0.0",
"eslint-plugin-react": "^7.29.4",
"jsdom": "^19.0.0",
"lodash": "^4.17.21",
"mocha": "^9.1.1",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"precommit-hook": "^3.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2"
},
"dependencies": {},
"engines": {
"node": ">= 12"
"node": ">= 14"
}
}
2 changes: 1 addition & 1 deletion src/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***
* Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License.
* See the accompanying LICENSE file for terms.
*
Expand Down
2 changes: 1 addition & 1 deletion src/tests/fixtures/Simple.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***
* Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*
* React usage example and test fixture.
Expand Down
2 changes: 1 addition & 1 deletion src/tests/unit/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/***
* Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*/
/* global before, beforeEach, after, afterEach, describe, it */
Expand Down
2 changes: 1 addition & 1 deletion src/tests/utils/testdom.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) 2016 - 2021 Alex Grant (@localnerve), LocalNerve LLC
* Copyright (c) 2016 - 2022 Alex Grant (@localnerve), LocalNerve LLC
* Copyrights licensed under the BSD License. See the accompanying LICENSE file for terms.
*
* Start/stop jsdom environment
Expand Down

0 comments on commit 39fda2b

Please sign in to comment.