@esportsplus/typescript 0.8.1 → 0.8.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.
Files changed (35) hide show
  1. package/bin/tsc +9 -0
  2. package/bin/tsc-alias +3 -0
  3. package/node_modules/.package-lock.json +53 -18
  4. package/node_modules/fast-glob/README.md +1 -1
  5. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +2 -1
  6. package/node_modules/fast-glob/out/providers/filters/entry.js +35 -13
  7. package/node_modules/fast-glob/out/utils/pattern.d.ts +2 -0
  8. package/node_modules/fast-glob/out/utils/pattern.js +19 -1
  9. package/node_modules/fast-glob/package.json +4 -4
  10. package/node_modules/fastq/.github/workflows/ci.yml +2 -2
  11. package/node_modules/fastq/README.md +6 -0
  12. package/node_modules/fastq/SECURITY.md +15 -0
  13. package/node_modules/fastq/index.d.ts +19 -0
  14. package/node_modules/fastq/package.json +2 -2
  15. package/node_modules/fastq/queue.js +12 -12
  16. package/node_modules/fastq/test/promise.js +43 -0
  17. package/node_modules/fastq/test/test.js +11 -0
  18. package/node_modules/ignore/index.js +17 -7
  19. package/node_modules/ignore/legacy.js +27 -13
  20. package/node_modules/ignore/package.json +4 -3
  21. package/node_modules/micromatch/README.md +106 -99
  22. package/node_modules/micromatch/index.js +9 -2
  23. package/node_modules/micromatch/package.json +24 -6
  24. package/node_modules/reusify/.github/dependabot.yml +7 -0
  25. package/node_modules/reusify/.github/workflows/ci.yml +96 -0
  26. package/node_modules/reusify/LICENSE +1 -1
  27. package/node_modules/reusify/README.md +1 -7
  28. package/node_modules/reusify/SECURITY.md +15 -0
  29. package/node_modules/reusify/eslint.config.js +14 -0
  30. package/node_modules/reusify/package.json +16 -11
  31. package/node_modules/reusify/reusify.d.ts +14 -0
  32. package/node_modules/reusify/tsconfig.json +11 -0
  33. package/package.json +5 -3
  34. package/node_modules/reusify/.coveralls.yml +0 -1
  35. package/node_modules/reusify/.travis.yml +0 -28
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "micromatch",
3
3
  "description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.",
4
- "version": "4.0.7",
4
+ "version": "4.0.8",
5
5
  "homepage": "https://github.com/micromatch/micromatch",
6
6
  "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
7
7
  "contributors": [
@@ -26,7 +26,9 @@
26
26
  "url": "https://github.com/micromatch/micromatch/issues"
27
27
  },
28
28
  "license": "MIT",
29
- "files": ["index.js"],
29
+ "files": [
30
+ "index.js"
31
+ ],
30
32
  "main": "index.js",
31
33
  "engines": {
32
34
  "node": ">=8.6"
@@ -88,14 +90,30 @@
88
90
  "verb": {
89
91
  "toc": "collapsible",
90
92
  "layout": "default",
91
- "tasks": ["readme"],
92
- "plugins": ["gulp-format-md"],
93
+ "tasks": [
94
+ "readme"
95
+ ],
96
+ "plugins": [
97
+ "gulp-format-md"
98
+ ],
93
99
  "lint": {
94
100
  "reflinks": true
95
101
  },
96
102
  "related": {
97
- "list": ["braces", "expand-brackets", "extglob", "fill-range", "nanomatch"]
103
+ "list": [
104
+ "braces",
105
+ "expand-brackets",
106
+ "extglob",
107
+ "fill-range",
108
+ "nanomatch"
109
+ ]
98
110
  },
99
- "reflinks": ["extglob", "fill-range", "glob-object", "minimatch", "multimatch"]
111
+ "reflinks": [
112
+ "extglob",
113
+ "fill-range",
114
+ "glob-object",
115
+ "minimatch",
116
+ "multimatch"
117
+ ]
100
118
  }
101
119
  }
@@ -0,0 +1,7 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: "/"
5
+ schedule:
6
+ interval: daily
7
+ open-pull-requests-limit: 10
@@ -0,0 +1,96 @@
1
+ name: ci
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ legacy:
7
+ runs-on: ubuntu-latest
8
+
9
+ strategy:
10
+ matrix:
11
+ node-version: ['0.10', '0.12', 4.x, 6.x, 8.x, 10.x, 12.x, 13.x, 14.x, 15.x, 16.x]
12
+
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ with:
16
+ persist-credentials: false
17
+
18
+ - name: Use Node.js
19
+ uses: actions/setup-node@v4
20
+ with:
21
+ node-version: ${{ matrix.node-version }}
22
+
23
+ - name: Install
24
+ run: |
25
+ npm install --production && npm install tape
26
+
27
+ - name: Run tests
28
+ run: |
29
+ npm run test
30
+
31
+ test:
32
+ runs-on: ubuntu-latest
33
+
34
+ strategy:
35
+ matrix:
36
+ node-version: [18.x, 20.x, 22.x]
37
+
38
+ steps:
39
+ - uses: actions/checkout@v4
40
+ with:
41
+ persist-credentials: false
42
+
43
+ - name: Use Node.js
44
+ uses: actions/setup-node@v4
45
+ with:
46
+ node-version: ${{ matrix.node-version }}
47
+
48
+ - name: Install
49
+ run: |
50
+ npm install
51
+
52
+ - name: Run tests
53
+ run: |
54
+ npm run test:coverage
55
+
56
+ types:
57
+ runs-on: ubuntu-latest
58
+
59
+ steps:
60
+ - uses: actions/checkout@v4
61
+ with:
62
+ persist-credentials: false
63
+
64
+ - name: Use Node.js
65
+ uses: actions/setup-node@v4
66
+ with:
67
+ node-version: 22
68
+
69
+ - name: Install
70
+ run: |
71
+ npm install
72
+
73
+ - name: Run types tests
74
+ run: |
75
+ npm run test:typescript
76
+
77
+ lint:
78
+ runs-on: ubuntu-latest
79
+
80
+ steps:
81
+ - uses: actions/checkout@v4
82
+ with:
83
+ persist-credentials: false
84
+
85
+ - name: Use Node.js
86
+ uses: actions/setup-node@v4
87
+ with:
88
+ node-version: 22
89
+
90
+ - name: Install
91
+ run: |
92
+ npm install
93
+
94
+ - name: Lint
95
+ run: |
96
+ npm run lint
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015 Matteo Collina
3
+ Copyright (c) 2015-2024 Matteo Collina
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,8 +1,6 @@
1
1
  # reusify
2
2
 
3
3
  [![npm version][npm-badge]][npm-url]
4
- [![Build Status][travis-badge]][travis-url]
5
- [![Coverage Status][coveralls-badge]][coveralls-url]
6
4
 
7
5
  Reuse your objects and functions for maximum speed. This technique will
8
6
  make any function run ~10% faster. You call your functions a
@@ -111,7 +109,7 @@ function MyObject () {
111
109
  }
112
110
  ```
113
111
 
114
- Also note how in the above examples, the code, that consumes an istance of `MyObject`,
112
+ Also note how in the above examples, the code, that consumes an instance of `MyObject`,
115
113
  reset the state to initial condition, just before storing it in the cache.
116
114
  That's needed so that every subsequent request for an instance from the cache,
117
115
  could get a clean instance.
@@ -139,7 +137,3 @@ MIT
139
137
 
140
138
  [npm-badge]: https://badge.fury.io/js/reusify.svg
141
139
  [npm-url]: https://badge.fury.io/js/reusify
142
- [travis-badge]: https://api.travis-ci.org/mcollina/reusify.svg
143
- [travis-url]: https://travis-ci.org/mcollina/reusify
144
- [coveralls-badge]: https://coveralls.io/repos/mcollina/reusify/badge.svg?branch=master&service=github
145
- [coveralls-url]: https://coveralls.io/github/mcollina/reusify?branch=master
@@ -0,0 +1,15 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Use this section to tell people about which versions of your project are
6
+ currently being supported with security updates.
7
+
8
+ | Version | Supported |
9
+ | ------- | ------------------ |
10
+ | 1.x | :white_check_mark: |
11
+ | < 1.0 | :x: |
12
+
13
+ ## Reporting a Vulnerability
14
+
15
+ Please report all vulnerabilities at [https://github.com/mcollina/fastq/security](https://github.com/mcollina/fastq/security).
@@ -0,0 +1,14 @@
1
+ 'use strict'
2
+
3
+ const base = require('neostandard')({})
4
+
5
+ module.exports = [
6
+ ...base,
7
+ {
8
+ name: 'old-standard',
9
+ rules: {
10
+ 'no-var': 'off',
11
+ 'object-shorthand': 'off',
12
+ }
13
+ }
14
+ ]
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "reusify",
3
- "version": "1.0.4",
3
+ "version": "1.1.0",
4
4
  "description": "Reuse objects and functions with style",
5
5
  "main": "reusify.js",
6
+ "types": "reusify.d.ts",
6
7
  "scripts": {
7
- "lint": "standard",
8
- "test": "tape test.js | faucet",
9
- "istanbul": "istanbul cover tape test.js",
10
- "coverage": "npm run istanbul; cat coverage/lcov.info | coveralls"
8
+ "lint": "eslint",
9
+ "test": "tape test.js",
10
+ "test:coverage": "c8 --100 tape test.js",
11
+ "test:typescript": "tsc"
11
12
  },
12
13
  "pre-commit": [
13
14
  "lint",
14
- "test"
15
+ "test",
16
+ "test:typescript"
15
17
  ],
16
18
  "repository": {
17
19
  "type": "git",
@@ -35,11 +37,14 @@
35
37
  "iojs": ">=1.0.0"
36
38
  },
37
39
  "devDependencies": {
38
- "coveralls": "^2.13.3",
39
- "faucet": "0.0.1",
40
- "istanbul": "^0.4.5",
40
+ "@types/node": "^22.9.0",
41
+ "eslint": "^9.13.0",
42
+ "neostandard": "^0.12.0",
41
43
  "pre-commit": "^1.2.2",
42
- "standard": "^10.0.3",
43
- "tape": "^4.8.0"
44
+ "tape": "^5.0.0",
45
+ "c8": "^10.1.2",
46
+ "typescript": "^5.2.2"
47
+ },
48
+ "dependencies": {
44
49
  }
45
50
  }
@@ -0,0 +1,14 @@
1
+ interface Node {
2
+ next: Node | null;
3
+ }
4
+
5
+ interface Constructor<T> {
6
+ new(): T;
7
+ }
8
+
9
+ declare function reusify<T extends Node>(constructor: Constructor<T>): {
10
+ get(): T;
11
+ release(node: T): void;
12
+ };
13
+
14
+ export = reusify;
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "module": "commonjs",
5
+ "noEmit": true,
6
+ "strict": true
7
+ },
8
+ "files": [
9
+ "./reusify.d.ts"
10
+ ]
11
+ }
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "author": "ICJR",
3
3
  "bin": {
4
- "tsc": "./node_modules/.bin/tsc",
5
- "tsc-alias": "./node_modules/.bin/tsc-alias"
4
+ "tsc": "./bin/tsc",
5
+ "tsc2": "./node_modules/.bin/tsc",
6
+ "tsc-alias": "./bin/tsc-alias",
7
+ "tsc-alias2": "./node_modules/.bin/tsc-alias"
6
8
  },
7
9
  "dependencies": {
8
10
  "tsc-alias": "^1.8.16",
@@ -28,5 +30,5 @@
28
30
  "prepublishOnly": "npm run build"
29
31
  },
30
32
  "types": "build/index.d.ts",
31
- "version": "0.8.1"
33
+ "version": "0.8.4"
32
34
  }
@@ -1 +0,0 @@
1
- repo_token: yIxhFqtaaz5iGVYfie9mODehFYogm8S8L
@@ -1,28 +0,0 @@
1
- language: node_js
2
- sudo: false
3
-
4
- node_js:
5
- - 9
6
- - 8
7
- - 7
8
- - 6
9
- - 5
10
- - 4
11
- - 4.0
12
- - iojs-v3
13
- - iojs-v2
14
- - iojs-v1
15
- - 0.12
16
- - 0.10
17
-
18
- cache:
19
- directories:
20
- - node_modules
21
-
22
- after_script:
23
- - npm run coverage
24
-
25
- notifications:
26
- email:
27
- on_success: never
28
- on_failure: always