svg-loaders-react 3.1.2 → 3.1.4

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.
@@ -11,15 +11,16 @@ jobs:
11
11
  contents: read
12
12
  id-token: write
13
13
  steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-node@v4
14
+ - uses: actions/checkout@v7
15
+ - uses: actions/setup-node@v7
16
16
  with:
17
- node-version: '24.x'
17
+ node-version-file: '.nvmrc'
18
18
  registry-url: 'https://registry.npmjs.org'
19
19
  # Trusted publishing (OIDC) requires npm 11.5.1+
20
20
  - run: npm install -g npm@latest
21
21
  - run: npm ci
22
22
  - run: npm test
23
+ - run: npm run build
23
24
  - name: Verify tag matches package.json version
24
25
  run: |
25
26
  if [ "${GITHUB_REF_NAME#v}" != "$(node -p "require('./package.json').version")" ]; then
@@ -11,10 +11,11 @@ jobs:
11
11
  permissions:
12
12
  contents: read
13
13
  steps:
14
- - uses: actions/checkout@v4
15
- - uses: actions/setup-node@v4
14
+ - uses: actions/checkout@v7
15
+ - uses: actions/setup-node@v7
16
16
  with:
17
17
  node-version-file: '.nvmrc'
18
18
  cache: 'npm'
19
19
  - run: npm ci
20
20
  - run: npm test
21
+ - run: npm run build
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- v20
1
+ 24
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![Tests](https://github.com/ajwann/svg-loaders-react/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/ajwann/svg-loaders-react/actions/workflows/test.yml)
2
2
  [![npm version](https://img.shields.io/npm/v/svg-loaders-react.svg)](https://www.npmjs.com/package/svg-loaders-react)
3
+ [![npm](https://img.shields.io/badge/npm-svg--loaders--react-CB3837?logo=npm)](https://www.npmjs.com/package/svg-loaders-react)
3
4
  [![License: MIT](https://img.shields.io/npm/l/svg-loaders-react.svg)](https://github.com/ajwann/svg-loaders-react/blob/master/LICENSE.md)
4
5
 
5
6
  This is a zero-dependency React adaptation of Sam Herberts [SVG Loaders](https://github.com/SamHerbert/SVG-Loaders) library.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svg-loaders-react",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "description": "React implementation of the SVG Loaders library by Sam Herbert",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,8 +25,8 @@
25
25
  "babel-plugin-transform-react-jsx": "^6.24.1",
26
26
  "babel-preset-env": "^1.7.0",
27
27
  "enzyme": "^3.10.0",
28
- "eslint": "^6.0.0",
29
- "eslint-config-airbnb": "^17.1.0",
28
+ "eslint": "^9.32.0",
29
+ "eslint-config-airbnb": "^19.0.4",
30
30
  "eslint-plugin-import": "^2.17.3",
31
31
  "eslint-plugin-jsx-a11y": "^6.2.1",
32
32
  "eslint-plugin-react": "^7.13.0",