crawler-user-agents 1.0.120 → 1.0.122
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/.github/workflows/npm-publish.yml +44 -0
- package/.travis.yml +0 -10
- package/crawler-user-agents.json +3 -2
- package/package.json +1 -1
- package/.pytest_cache/README.md +0 -8
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
+
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
|
3
|
+
|
|
4
|
+
name: Node.js Package
|
|
5
|
+
|
|
6
|
+
on:
|
|
7
|
+
push:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 16
|
|
19
|
+
- run: pip3 install jsonschema pytest
|
|
20
|
+
- run: py.test -vv
|
|
21
|
+
- run: python3 validate.py
|
|
22
|
+
- run: php validate.php
|
|
23
|
+
|
|
24
|
+
publish-npm:
|
|
25
|
+
needs: build
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
permissions:
|
|
28
|
+
id-token: write # To attach provenance to the published package
|
|
29
|
+
environment:
|
|
30
|
+
name: npm_token
|
|
31
|
+
url: https://www.npmjs.com/package/crawler-user-agents
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v4
|
|
34
|
+
- uses: actions/setup-node@v4
|
|
35
|
+
with:
|
|
36
|
+
node-version: 16
|
|
37
|
+
registry-url: https://registry.npmjs.org/
|
|
38
|
+
- run: npm install pacote@11.1.11
|
|
39
|
+
- run: git checkout .
|
|
40
|
+
- run: npm version --no-git-tag-version `node -e 'pacote=require("pacote");pacote.manifest("crawler-user-agents").then(pkgJson => { console.log(pkgJson.version); });'`
|
|
41
|
+
- run: npm version --no-git-tag-version patch
|
|
42
|
+
- run: npm publish --provenance
|
|
43
|
+
env:
|
|
44
|
+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
package/.travis.yml
CHANGED
|
@@ -14,13 +14,3 @@ script:
|
|
|
14
14
|
- git checkout .
|
|
15
15
|
- npm version `node -e 'pacote=require("pacote");pacote.manifest("crawler-user-agents").then(pkgJson => { console.log(pkgJson.version); });'`
|
|
16
16
|
- npm version patch
|
|
17
|
-
|
|
18
|
-
deploy:
|
|
19
|
-
provider: npm
|
|
20
|
-
email: martin.monperrus@gnieh.org
|
|
21
|
-
skip_cleanup: true
|
|
22
|
-
api_key:
|
|
23
|
-
secure: DAS1IgbrU085kpY4acrByrU2oWQq2HbP8aNye/Wb7nJIjT2Hv+DrbGoZ38Qiz8szHGmOy0DwtwJGPL6dhM7cC+2PBn5Pu6GzeORCSh+KlrRFIVI09A9BRc6TGNkJIr7ddP0H69U+OcdL53noBeMK4q2nxM6neCZM4Aa45r1jptI=
|
|
24
|
-
on:
|
|
25
|
-
repo: monperrus/crawler-user-agents
|
|
26
|
-
branch: master
|
package/crawler-user-agents.json
CHANGED
|
@@ -5256,10 +5256,11 @@
|
|
|
5256
5256
|
"url": "https://internet-measurement.com"
|
|
5257
5257
|
},
|
|
5258
5258
|
{
|
|
5259
|
-
"pattern": "
|
|
5259
|
+
"pattern": "^BW\\/",
|
|
5260
5260
|
"addition_date": "2024/02/08",
|
|
5261
5261
|
"instances": [
|
|
5262
|
-
"BW/1.1; bit.ly/3eZNDnO"
|
|
5262
|
+
"BW/1.1; bit.ly/3eZNDnO",
|
|
5263
|
+
"BW/1.1; rb.gy/oupwis"
|
|
5263
5264
|
],
|
|
5264
5265
|
"url": "https://builtwith.com/biup"
|
|
5265
5266
|
},
|
package/package.json
CHANGED
package/.pytest_cache/README.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# pytest cache directory #
|
|
2
|
-
|
|
3
|
-
This directory contains data from the pytest's cache plugin,
|
|
4
|
-
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
|
|
5
|
-
|
|
6
|
-
**Do not** commit this to version control.
|
|
7
|
-
|
|
8
|
-
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
|