ts-node-client 3.2.1 → 3.2.3

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/.editorconfig CHANGED
@@ -1,10 +1,10 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- insert_final_newline = true
6
-
7
- [*.{js,json,yml}]
8
- charset = utf-8
9
- indent_style = space
10
- indent_size = 2
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{js,json,yml}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 2
package/.eslintrc.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "extends": [
3
- "airbnb-base",
4
- "plugin:sonarjs/recommended"
5
- ],
6
- "plugins": [
7
- "sonarjs"
8
- ],
9
- "env": {
10
- "node": true
11
- },
12
- "rules": {
13
- "no-console": [ "off" ],
14
- "indent": [ "error", 4 ],
15
- "max-len": [ "error", { "code": 140 }],
16
- "no-multiple-empty-lines": [ "error", { "max": 2 }],
17
- "no-var": [ "warn" ],
18
- "prefer-rest-params": ["warn"],
19
- "vars-on-top": ["warn"],
20
- "no-param-reassign": [ "off" ],
21
- "no-use-before-define": [ "off" ],
22
- "newline-per-chained-call": [ "off" ],
23
- "comma-dangle": [ "error", "never" ],
24
- "linebreak-style": ["off"],
25
- "quotes": [ "error", "single" ],
26
- "sonarjs/cognitive-complexity": ["error", 40]
27
- }
28
- }
29
-
1
+ {
2
+ "extends": [
3
+ "airbnb-base",
4
+ "plugin:sonarjs/recommended"
5
+ ],
6
+ "plugins": [
7
+ "sonarjs"
8
+ ],
9
+ "env": {
10
+ "node": true
11
+ },
12
+ "rules": {
13
+ "no-console": [ "off" ],
14
+ "indent": [ "error", 4 ],
15
+ "max-len": [ "error", { "code": 140 }],
16
+ "no-multiple-empty-lines": [ "error", { "max": 2 }],
17
+ "no-var": [ "warn" ],
18
+ "prefer-rest-params": ["warn"],
19
+ "vars-on-top": ["warn"],
20
+ "no-param-reassign": [ "off" ],
21
+ "no-use-before-define": [ "off" ],
22
+ "newline-per-chained-call": [ "off" ],
23
+ "comma-dangle": [ "error", "never" ],
24
+ "linebreak-style": ["off"],
25
+ "quotes": [ "error", "single" ],
26
+ "sonarjs/cognitive-complexity": ["error", 40]
27
+ }
28
+ }
29
+
package/.gitattributes CHANGED
@@ -1,4 +1,4 @@
1
- /.yarn/** linguist-vendored
2
- /.yarn/releases/* binary
3
- /.yarn/plugins/**/* binary
4
- /.pnp.* binary linguist-generated
1
+ /.yarn/** linguist-vendored
2
+ /.yarn/releases/* binary
3
+ /.yarn/plugins/**/* binary
4
+ /.pnp.* binary linguist-generated
@@ -1,71 +1,71 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ master ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ master ]
20
- schedule:
21
- - cron: '39 23 * * 1-5'
22
-
23
- jobs:
24
- analyze:
25
- name: Analyze
26
- runs-on: ubuntu-latest
27
- permissions:
28
- actions: read
29
- contents: read
30
- security-events: write
31
-
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- language: [ 'javascript' ]
36
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
- # Learn more:
38
- # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
-
40
- steps:
41
- - name: Checkout repository
42
- uses: actions/checkout@v2
43
-
44
- # Initializes the CodeQL tools for scanning.
45
- - name: Initialize CodeQL
46
- uses: github/codeql-action/init@v1
47
- with:
48
- languages: ${{ matrix.language }}
49
- # If you wish to specify custom queries, you can do so here or in a config file.
50
- # By default, queries listed here will override any specified in a config file.
51
- # Prefix the list here with "+" to use these queries and those in the config file.
52
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
-
54
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
- # If this step fails, then you should remove it and run the build manually (see below)
56
- - name: Autobuild
57
- uses: github/codeql-action/autobuild@v1
58
-
59
- # ℹ️ Command-line programs to run using the OS shell.
60
- # 📚 https://git.io/JvXDl
61
-
62
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
- # and modify them (or add more) to build your code if your project
64
- # uses a compiled language
65
-
66
- #- run: |
67
- # make bootstrap
68
- # make release
69
-
70
- - name: Perform CodeQL Analysis
71
- uses: github/codeql-action/analyze@v1
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ master ]
20
+ schedule:
21
+ - cron: '39 23 * * 1-5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'javascript' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
+ # Learn more:
38
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
+
40
+ steps:
41
+ - name: Checkout repository
42
+ uses: actions/checkout@v2
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@v1
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
+
54
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
+ # If this step fails, then you should remove it and run the build manually (see below)
56
+ - name: Autobuild
57
+ uses: github/codeql-action/autobuild@v1
58
+
59
+ # ℹ️ Command-line programs to run using the OS shell.
60
+ # 📚 https://git.io/JvXDl
61
+
62
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
+ # and modify them (or add more) to build your code if your project
64
+ # uses a compiled language
65
+
66
+ #- run: |
67
+ # make bootstrap
68
+ # make release
69
+
70
+ - name: Perform CodeQL Analysis
71
+ uses: github/codeql-action/analyze@v1
@@ -0,0 +1,32 @@
1
+ # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name: Publish Package to npmjs
5
+
6
+ on: [push, pull_request]
7
+
8
+ jobs:
9
+ publish:
10
+
11
+ if: github.ref == 'refs/heads/main'
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ include:
17
+ - node-version: 16.x
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Use Node.js ${{ matrix.node-version }}
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
+ registry-url: 'https://registry.npmjs.org'
26
+ - name: Install yarn
27
+ run: npm install --global yarn
28
+ - name: Install dependencies
29
+ run: yarn
30
+ - run: yarn publish
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.travis.yml CHANGED
@@ -1,12 +1,12 @@
1
- language: node_js
2
- node_js:
3
- - "8"
4
- - "10"
5
- - "12"
6
- - "14"
7
- - "node"
8
-
9
- before_install: npm install -g mocha
10
- script: mocha
11
-
12
-
1
+ language: node_js
2
+ node_js:
3
+ - "8"
4
+ - "10"
5
+ - "12"
6
+ - "14"
7
+ - "node"
8
+
9
+ before_install: npm install -g mocha
10
+ script: mocha
11
+
12
+
package/CHANGELOG.md CHANGED
@@ -1,52 +1,67 @@
1
- # ts-node-client
2
-
3
- ## Changelog
4
-
5
- All notable changes to this project will be documented in this file.
6
-
7
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
-
10
-
11
- ## 3.2.1 - 2023-08-14
12
-
13
- ### Fixed
14
- * --includeDevDependencies false now properly disable devDependencies
15
-
16
-
17
- ## 3.2.0 - 2023-08-01
18
-
19
- ### Added
20
- * support package-lock.json v.3
21
-
22
- ### Changed
23
- * bump dependencies
24
-
25
-
26
- ## 3.1.0 - 2023-04-20
27
-
28
- ### Added
29
- * support for yarn v2+ lock files
30
-
31
- ### Changed
32
- * project migrated to yarn 3.5
33
-
34
-
35
- ## 3.0.1 - 2023-02-08
36
-
37
- ### Changed
38
- * docs updated
39
-
40
-
41
- ## 3.0.0 - 2023-02-08
42
-
43
- ### Changed
44
- * `npm.ls` cli -> `package-lock.json` or `package.json` or `yarn.lock` parse
45
- * npm removed
46
- * updated dependencies
47
-
48
-
49
- ## 2.1.3 - 2022-12-26
50
-
51
- ### Changed
52
- * Migrate versions of dependencies
1
+ # ts-node-client
2
+
3
+ ## Changelog
4
+
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
+
10
+
11
+ ## 3.2.3 - 2023-11-24
12
+
13
+ ### Fixed
14
+ * Fallback missing versions to `0.0.0`
15
+
16
+ ### Changed
17
+ * Bump `axios` to fix vulnerabilities
18
+
19
+
20
+ ## 3.2.2 - 2023-09-06
21
+
22
+ ### Added
23
+ * Automatically publish releases from main branch
24
+
25
+
26
+ ## 3.2.1 - 2023-08-14
27
+
28
+ ### Fixed
29
+ * --includeDevDependencies false now properly disables devDependencies
30
+
31
+
32
+ ## 3.2.0 - 2023-08-01
33
+
34
+ ### Added
35
+ * support package-lock.json v.3
36
+
37
+ ### Changed
38
+ * bump dependencies
39
+
40
+
41
+ ## 3.1.0 - 2023-04-20
42
+
43
+ ### Added
44
+ * support for yarn v2+ lock files
45
+
46
+ ### Changed
47
+ * project migrated to yarn 3.5
48
+
49
+
50
+ ## 3.0.1 - 2023-02-08
51
+
52
+ ### Changed
53
+ * docs updated
54
+
55
+
56
+ ## 3.0.0 - 2023-02-08
57
+
58
+ ### Changed
59
+ * `npm.ls` cli -> `package-lock.json` or `package.json` or `yarn.lock` parse
60
+ * npm removed
61
+ * updated dependencies
62
+
63
+
64
+ ## 2.1.3 - 2022-12-26
65
+
66
+ ### Changed
67
+ * Migrate versions of dependencies