cache-extensions 1.2.0 → 1.7.0

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 (72) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +154 -150
  3. package/lib/cache.d.ts +2 -0
  4. package/lib/cache.js +59 -0
  5. package/lib/cache.js.map +1 -0
  6. package/lib/utils.d.ts +3 -0
  7. package/lib/utils.js +44 -0
  8. package/lib/utils.js.map +1 -0
  9. package/package.json +66 -54
  10. package/src/cache.ts +44 -11
  11. package/src/lists/bionic-libs +768 -737
  12. package/src/lists/darwin-deps +1 -0
  13. package/src/lists/darwin-extensions +18 -0
  14. package/src/lists/focal-libs +788 -753
  15. package/src/lists/linux-deps +4 -0
  16. package/src/scripts/cache.sh +124 -0
  17. package/src/scripts/darwin.sh +189 -0
  18. package/src/scripts/linux.sh +117 -0
  19. package/src/utils.ts +30 -23
  20. package/.eslintrc.json +0 -23
  21. package/.github/CODE_OF_CONDUCT.md +0 -76
  22. package/.github/CONTRIBUTING.md +0 -63
  23. package/.github/FUNDING.yml +0 -7
  24. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -42
  25. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -26
  26. package/.github/PULL_REQUEST_TEMPLATE.md +0 -37
  27. package/.github/workflows/workflow.yml +0 -31
  28. package/.idea/cache-extensions.iml +0 -8
  29. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  30. package/.idea/misc.xml +0 -6
  31. package/.idea/modules.xml +0 -8
  32. package/.idea/vcs.xml +0 -6
  33. package/.idea/workspace.xml +0 -217
  34. package/.prettierrc.json +0 -12
  35. package/__tests__/cache.test.ts +0 -60
  36. package/__tests__/utils.test.ts +0 -25
  37. package/action.yml +0 -19
  38. package/dist/index.js +0 -1766
  39. package/jest.config.js +0 -12
  40. package/src/extensions.sh +0 -96
  41. package/src/lists/bionic-php5.3-extensions +0 -72
  42. package/src/lists/bionic-php5.4-extensions +0 -76
  43. package/src/lists/bionic-php5.5-extensions +0 -76
  44. package/src/lists/bionic-php5.6-extensions +0 -68
  45. package/src/lists/bionic-php7.0-extensions +0 -65
  46. package/src/lists/bionic-php7.1-extensions +0 -94
  47. package/src/lists/bionic-php7.2-extensions +0 -94
  48. package/src/lists/bionic-php7.3-extensions +0 -94
  49. package/src/lists/bionic-php7.4-extensions +0 -92
  50. package/src/lists/bionic-php8.0-extensions +0 -72
  51. package/src/lists/focal-php5.3-extensions +0 -68
  52. package/src/lists/focal-php5.4-extensions +0 -75
  53. package/src/lists/focal-php5.5-extensions +0 -75
  54. package/src/lists/focal-php5.6-extensions +0 -67
  55. package/src/lists/focal-php7.0-extensions +0 -64
  56. package/src/lists/focal-php7.1-extensions +0 -64
  57. package/src/lists/focal-php7.2-extensions +0 -65
  58. package/src/lists/focal-php7.3-extensions +0 -65
  59. package/src/lists/focal-php7.4-extensions +0 -93
  60. package/src/lists/focal-php8.0-extensions +0 -72
  61. package/src/lists/xenial-libs +0 -728
  62. package/src/lists/xenial-php5.3-extensions +0 -71
  63. package/src/lists/xenial-php5.4-extensions +0 -75
  64. package/src/lists/xenial-php5.5-extensions +0 -75
  65. package/src/lists/xenial-php5.6-extensions +0 -99
  66. package/src/lists/xenial-php7.0-extensions +0 -94
  67. package/src/lists/xenial-php7.1-extensions +0 -94
  68. package/src/lists/xenial-php7.2-extensions +0 -94
  69. package/src/lists/xenial-php7.3-extensions +0 -94
  70. package/src/lists/xenial-php7.4-extensions +0 -92
  71. package/src/lists/xenial-php8.0-extensions +0 -73
  72. package/tsconfig.json +0 -63
@@ -1,92 +0,0 @@
1
- [PHP Modules]
2
- amqp
3
- apcu
4
- bcmath
5
- bz2
6
- calendar
7
- Core
8
- ctype
9
- cubrid
10
- curl
11
- date
12
- dba
13
- dom
14
- enchant
15
- exif
16
- FFI
17
- fileinfo
18
- filter
19
- ftp
20
- gd
21
- gettext
22
- gmp
23
- hash
24
- iconv
25
- igbinary
26
- imap
27
- ioncube
28
- intl
29
- json
30
- ldap
31
- libxml
32
- mbstring
33
- memcache
34
- memcached
35
- mongodb
36
- msgpack
37
- mysqli
38
- mysqlnd
39
- odbc
40
- openssl
41
- pcntl
42
- pcre
43
- PDO
44
- pdo_dblib
45
- PDO_Firebird
46
- oci8
47
- PDO_OCI
48
- pdo_mysql
49
- PDO_ODBC
50
- pdo_pgsql
51
- pdo_sqlite
52
- pgsql
53
- Phar
54
- posix
55
- pspell
56
- readline
57
- redis
58
- Reflection
59
- session
60
- shmop
61
- SimpleXML
62
- snmp
63
- soap
64
- sockets
65
- sodium
66
- SPL
67
- sqlite3
68
- standard
69
- sysvmsg
70
- sysvsem
71
- sysvshm
72
- tidy
73
- tokenizer
74
- xdebug
75
- xml
76
- xmlreader
77
- xmlrpc
78
- xmlwriter
79
- xsl
80
- yaml
81
- Zend OPcache
82
- zip
83
- zlib
84
- zmq
85
- phalcon3
86
- phalcon4
87
- blackfire
88
-
89
- [Zend Modules]
90
- Xdebug
91
- Zend OPcache
92
-
@@ -1,73 +0,0 @@
1
- [PHP Modules]
2
- bcmath
3
- bz2
4
- calendar
5
- Core
6
- ctype
7
- cubrid
8
- curl
9
- date
10
- dom
11
- enchant
12
- exif
13
- FFI
14
- fileinfo
15
- filter
16
- ftp
17
- gd
18
- gettext
19
- gmp
20
- hash
21
- iconv
22
- ioncube
23
- intl
24
- json
25
- libxml
26
- mbstring
27
- mysqli
28
- mysqlnd
29
- openssl
30
- pcntl
31
- pcov
32
- pcre
33
- PDO
34
- oci8
35
- PDO_OCI
36
- pdo_mysql
37
- pdo_pgsql
38
- pdo_sqlite
39
- pgsql
40
- Phar
41
- posix
42
- pspell
43
- readline
44
- Reflection
45
- session
46
- shmop
47
- SimpleXML
48
- soap
49
- sockets
50
- SPL
51
- sqlite3
52
- standard
53
- sysvmsg
54
- sysvsem
55
- sysvshm
56
- tidy
57
- tokenizer
58
- xml
59
- xmlreader
60
- xmlrpc
61
- xmlwriter
62
- xsl
63
- Zend OPcache
64
- zip
65
- zlib
66
- phalcon3
67
- phalcon4
68
- blackfire
69
-
70
- [Zend Modules]
71
- Zend OPcache
72
- Xdebug
73
-
package/tsconfig.json DELETED
@@ -1,63 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- /* Basic Options */
4
- // "incremental": true, /* Enable incremental compilation */
5
- "target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
6
- "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
7
- // "allowJs": true, /* Allow javascript files to be compiled. */
8
- // "checkJs": true, /* Report errors in .js files. */
9
- // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
10
- // "declaration": true, /* Generates corresponding '.d.ts' file. */
11
- // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
12
- // "sourceMap": true, /* Generates corresponding '.map' file. */
13
- // "outFile": "./", /* Concatenate and emit output to single file. */
14
- "outDir": "./lib", /* Redirect output structure to the directory. */
15
- "rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
16
- // "composite": true, /* Enable project compilation */
17
- // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
18
- // "removeComments": true, /* Do not emit comments to output. */
19
- // "noEmit": true, /* Do not emit outputs. */
20
- // "importHelpers": true, /* Import emit helpers from 'tslib'. */
21
- // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
22
- // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
23
-
24
- /* Strict Type-Checking Options */
25
- "strict": true, /* Enable all strict type-checking options. */
26
- // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
27
- // "strictNullChecks": true, /* Enable strict null checks. */
28
- // "strictFunctionTypes": true, /* Enable strict checking of function types. */
29
- // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
30
- // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
31
- // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
32
- // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
33
-
34
- /* Additional Checks */
35
- // "noUnusedLocals": true, /* Report errors on unused locals. */
36
- // "noUnusedParameters": true, /* Report errors on unused parameters. */
37
- // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
38
- // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
39
-
40
- /* Module Resolution Options */
41
- // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
42
- // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
43
- // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
44
- // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
45
- // "typeRoots": [], /* List of folders to include type definitions from. */
46
- // "types": [], /* Type declaration files to be included in compilation. */
47
- // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
48
- "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
49
- // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
50
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
51
-
52
- /* Source Map Options */
53
- // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
54
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
55
- // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
56
- // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
57
-
58
- /* Experimental Options */
59
- // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
60
- // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
61
- },
62
- "exclude": ["node_modules", "**/*.test.ts"]
63
- }