@idleberg/caniuse-cli 1.0.30001406 → 1.0.30001408
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/LICENSE +7 -0
- package/package.json +23 -9
- package/.eslintrc +0 -14
- package/.github/workflows/publish.yml +0 -71
- package/.github/workflows/stale.yml +0 -21
- package/screenshot.png +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright 2017-2019 David Senkus, 2020-present Jan T. Sott
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idleberg/caniuse-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30001408",
|
|
4
4
|
"description": "Command line tool for Caniuse database",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"support",
|
|
@@ -13,28 +13,42 @@
|
|
|
13
13
|
"bin": {
|
|
14
14
|
"caniuse": "./index.cjs"
|
|
15
15
|
},
|
|
16
|
+
"files": [
|
|
17
|
+
"index.cjs",
|
|
18
|
+
"LICENSE",
|
|
19
|
+
"README.md"
|
|
20
|
+
],
|
|
16
21
|
"engines": {
|
|
17
22
|
"node": ">=14"
|
|
18
23
|
},
|
|
19
24
|
"scripts": {
|
|
20
25
|
"upgrade-db": "npm update --save caniuse-db && git add package.json && git commit -m \"upgrade db\" && git push origin master",
|
|
21
|
-
"test": "eslint index.
|
|
26
|
+
"test": "eslint index.cjs"
|
|
22
27
|
},
|
|
23
|
-
"
|
|
28
|
+
"contributors": [
|
|
29
|
+
{
|
|
30
|
+
"name": "David Senkus",
|
|
31
|
+
"url": "https://github.com/dsenkus"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Jan T. Sott",
|
|
35
|
+
"url": "https://github.com/idleberg"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
24
38
|
"license": "ISC",
|
|
25
39
|
"dependencies": {
|
|
26
|
-
"caniuse-db": "^1.0.
|
|
27
|
-
"chalk": "^
|
|
28
|
-
"markdown-link-extractor": "^
|
|
40
|
+
"caniuse-db": "^1.0.30001408",
|
|
41
|
+
"chalk": "^4.1.2",
|
|
42
|
+
"markdown-link-extractor": "^4.0.1",
|
|
29
43
|
"mri": "^1.1.6",
|
|
30
44
|
"omelette": "^0.4.5",
|
|
31
45
|
"update-notifier": "^5.1.0",
|
|
32
46
|
"wordwrap": "^1.0.0"
|
|
33
47
|
},
|
|
34
48
|
"devDependencies": {
|
|
35
|
-
"eslint": "^
|
|
36
|
-
"eslint-config-airbnb": "^
|
|
37
|
-
"eslint-config-airbnb-base": "^
|
|
49
|
+
"eslint": "^8.23.1",
|
|
50
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
51
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
38
52
|
"eslint-plugin-import": "^2.8.0"
|
|
39
53
|
},
|
|
40
54
|
"repository": {
|
package/.eslintrc
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
name: CI
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
schedule:
|
|
8
|
-
- cron: "0 * * * *"
|
|
9
|
-
|
|
10
|
-
jobs:
|
|
11
|
-
publish:
|
|
12
|
-
runs-on: ${{ matrix.os }}
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
os: [ubuntu-latest]
|
|
16
|
-
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v2
|
|
19
|
-
with:
|
|
20
|
-
fetch-depth: 1
|
|
21
|
-
|
|
22
|
-
- uses: actions/setup-node@v2
|
|
23
|
-
with:
|
|
24
|
-
node-version: "lts/*"
|
|
25
|
-
|
|
26
|
-
- name: Cache node_modules
|
|
27
|
-
uses: actions/cache@v2
|
|
28
|
-
env:
|
|
29
|
-
cache-name: cache-node-modules
|
|
30
|
-
with:
|
|
31
|
-
path: ~/.npm
|
|
32
|
-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
|
|
33
|
-
restore-keys: |
|
|
34
|
-
${{ runner.os }}-build-${{ env.cache-name }}-
|
|
35
|
-
${{ runner.os }}-build-
|
|
36
|
-
${{ runner.os }}-
|
|
37
|
-
|
|
38
|
-
- name: Install package dependencies
|
|
39
|
-
run: npm ci
|
|
40
|
-
|
|
41
|
-
- uses: MeilCli/npm-update-check-action@v4
|
|
42
|
-
id: outdated
|
|
43
|
-
|
|
44
|
-
- name: Update caniuse-db
|
|
45
|
-
if: ${{ contains(steps.outdated.outputs.npm_update_text, 'caniuse-db') }}
|
|
46
|
-
run: npm install caniuse-db@1
|
|
47
|
-
|
|
48
|
-
- name: Get meta-data
|
|
49
|
-
id: set_var
|
|
50
|
-
run: |
|
|
51
|
-
content=`npm ls --json caniuse-db`
|
|
52
|
-
|
|
53
|
-
content="${content//'%'/'%25'}"
|
|
54
|
-
content="${content//$'\n'/'%0A'}"
|
|
55
|
-
content="${content//$'\r'/'%0D'}"
|
|
56
|
-
|
|
57
|
-
echo "::set-output name=metaData::$content"
|
|
58
|
-
|
|
59
|
-
- name: Bump version
|
|
60
|
-
run: npm version v${{ fromJson(steps.set_var.outputs.metaData).dependencies['caniuse-db'].version }} --git-tag-version false
|
|
61
|
-
|
|
62
|
-
- uses: EndBug/add-and-commit@v7
|
|
63
|
-
with:
|
|
64
|
-
add: "package.json package-lock.json --force"
|
|
65
|
-
message: "Update `caniuse-db` to v${{ fromJson(steps.set_var.outputs.metaData).dependencies['caniuse-db'].version }}"
|
|
66
|
-
author_name: autobot
|
|
67
|
-
author_email: noreply@idleberg.com
|
|
68
|
-
|
|
69
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
70
|
-
with:
|
|
71
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
name: 'Stale issues and PR'
|
|
2
|
-
on:
|
|
3
|
-
schedule:
|
|
4
|
-
- cron: '30 1 * * *'
|
|
5
|
-
|
|
6
|
-
jobs:
|
|
7
|
-
stale:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/stale@v4
|
|
11
|
-
with:
|
|
12
|
-
stale-issue-label: stale
|
|
13
|
-
stale-pr-label: stale
|
|
14
|
-
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
|
15
|
-
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
|
|
16
|
-
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
|
|
17
|
-
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
|
|
18
|
-
days-before-issue-stale: 90
|
|
19
|
-
days-before-pr-stale: 90
|
|
20
|
-
days-before-issue-close: 30
|
|
21
|
-
days-before-pr-close: 30
|
package/screenshot.png
DELETED
|
Binary file
|