spyne 0.20.0 → 0.20.2

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/.eslintignore ADDED
@@ -0,0 +1,2 @@
1
+ src/tests/**/*.test.js
2
+ src/tests/mocks/*.js
@@ -0,0 +1 @@
1
+ npm run test:single
package/.travis.yml CHANGED
@@ -1,20 +1,20 @@
1
1
  # .travis.yml
2
- dist: jammy # or focal, etc.
2
+ dist: jammy
3
3
  language: node_js
4
4
 
5
5
  node_js:
6
6
  - '16'
7
7
  - '18'
8
- - node # 'node' is the latest stable version
8
+ # Removed 'node' to avoid testing the very latest (which may require npm >= 11)
9
9
 
10
10
  services:
11
- - xvfb # If you need a browser environment
11
+ - xvfb # If you need a browser environment
12
12
 
13
13
  cache:
14
14
  npm: true
15
15
 
16
- before_install:
17
- - npm install -g npm@latest
16
+ # before_install:
17
+ # - npm install -g npm@latest # Removed or commented out to avoid engine mismatch
18
18
 
19
19
  install:
20
20
  - npm ci
@@ -27,4 +27,4 @@ notifications:
27
27
 
28
28
  branches:
29
29
  only:
30
- - main # Only build on 'main' branch
30
+ - main
package/README.md CHANGED
@@ -3,7 +3,9 @@ Spyne is a full-featured, Javascript framework that reactively renders to the Re
3
3
 
4
4
  [![NPM version](https://img.shields.io/npm/v/spyne.svg?longCache=true&style=flat-square)](https://www.npmjs.com/package/spyne)
5
5
  [![GitHub license](https://img.shields.io/github/license/spynejs/spyne.svg?longCache=true&style=flat-square)](https://github.com/spynejs/spyne/blob/master/LICENSE)
6
- [![Build Status](https://travis-ci.com/spynejs/spyne.svg?branch=master)](https://travis-ci.com/spynejs/spyne)
6
+ [![Build Status](https://app.travis-ci.com/spynejs/spyne.svg?token=tUNpKxHHHcwypyVzqWmD&branch=main&style=flat-square)](https://travis-ci.com/spynejs/spyne)
7
+
8
+
7
9
 
8
10
  ### Spyne.js’ key features includes:
9
11
 
package/karma.conf.js CHANGED
@@ -12,7 +12,7 @@ const karmaWebpackConfig = {
12
12
  mode: 'none',
13
13
 
14
14
  // Karma manages watching/rebuilding on its own, so we typically disable watch from Webpack
15
- watch: false,
15
+ watch: true,
16
16
 
17
17
  // Remove the library entry/output so that Karma can inline test files
18
18
  entry: undefined,
@@ -85,7 +85,7 @@ module.exports = function (config) {
85
85
  webpackMiddleware: { noInfo: true },
86
86
 
87
87
  // Report results with coverage
88
- reporters: ['coverage'],
88
+ reporters: ['progress', 'coverage'],
89
89
 
90
90
  coverageReporter: {
91
91
  reporters: [
@@ -101,9 +101,6 @@ module.exports = function (config) {
101
101
  // autoWatch: if true, re-run tests on file changes
102
102
  autoWatch: true,
103
103
 
104
- // For file-watching inside containers or certain OS environments
105
- usePolling: true,
106
-
107
104
  customLaunchers: {
108
105
  ChromeHeadlessNoSandbox: {
109
106
  base: 'ChromeHeadless',
@@ -115,7 +112,7 @@ module.exports = function (config) {
115
112
  browsers: ['Chrome'],
116
113
 
117
114
  // If true, Karma runs tests once and exits
118
- singleRun: true,
115
+ singleRun: false,
119
116
 
120
117
  // Concurrency level
121
118
  concurrency: Infinity