cache-extensions 1.1.2 → 1.7.1

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 -133
  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 +19 -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 -5
  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 -1701
  39. package/jest.config.js +0 -12
  40. package/src/extensions.sh +0 -96
  41. package/src/lists/bionic-php5.3-extensions +0 -71
  42. package/src/lists/bionic-php5.4-extensions +0 -75
  43. package/src/lists/bionic-php5.5-extensions +0 -75
  44. package/src/lists/bionic-php5.6-extensions +0 -67
  45. package/src/lists/bionic-php7.0-extensions +0 -64
  46. package/src/lists/bionic-php7.1-extensions +0 -93
  47. package/src/lists/bionic-php7.2-extensions +0 -93
  48. package/src/lists/bionic-php7.3-extensions +0 -93
  49. package/src/lists/bionic-php7.4-extensions +0 -91
  50. package/src/lists/bionic-php8.0-extensions +0 -72
  51. package/src/lists/focal-php5.3-extensions +0 -67
  52. package/src/lists/focal-php5.4-extensions +0 -74
  53. package/src/lists/focal-php5.5-extensions +0 -74
  54. package/src/lists/focal-php5.6-extensions +0 -66
  55. package/src/lists/focal-php7.0-extensions +0 -63
  56. package/src/lists/focal-php7.1-extensions +0 -63
  57. package/src/lists/focal-php7.2-extensions +0 -64
  58. package/src/lists/focal-php7.3-extensions +0 -64
  59. package/src/lists/focal-php7.4-extensions +0 -92
  60. package/src/lists/focal-php8.0-extensions +0 -71
  61. package/src/lists/xenial-libs +0 -728
  62. package/src/lists/xenial-php5.3-extensions +0 -70
  63. package/src/lists/xenial-php5.4-extensions +0 -74
  64. package/src/lists/xenial-php5.5-extensions +0 -74
  65. package/src/lists/xenial-php5.6-extensions +0 -98
  66. package/src/lists/xenial-php7.0-extensions +0 -93
  67. package/src/lists/xenial-php7.1-extensions +0 -93
  68. package/src/lists/xenial-php7.2-extensions +0 -93
  69. package/src/lists/xenial-php7.3-extensions +0 -93
  70. package/src/lists/xenial-php7.4-extensions +0 -91
  71. package/src/lists/xenial-php8.0-extensions +0 -72
  72. package/tsconfig.json +0 -63
@@ -1,91 +0,0 @@
1
- [PHP Modules]
2
- amqp
3
- apcu
4
- bcmath
5
- bz2
6
- calendar
7
- Core
8
- ctype
9
- curl
10
- date
11
- dba
12
- dom
13
- enchant
14
- exif
15
- FFI
16
- fileinfo
17
- filter
18
- ftp
19
- gd
20
- gettext
21
- gmp
22
- hash
23
- iconv
24
- igbinary
25
- imap
26
- ioncube
27
- intl
28
- json
29
- ldap
30
- libxml
31
- mbstring
32
- memcache
33
- memcached
34
- mongodb
35
- msgpack
36
- mysqli
37
- mysqlnd
38
- odbc
39
- openssl
40
- pcntl
41
- pcre
42
- PDO
43
- pdo_dblib
44
- PDO_Firebird
45
- oci8
46
- PDO_OCI
47
- pdo_mysql
48
- PDO_ODBC
49
- pdo_pgsql
50
- pdo_sqlite
51
- pgsql
52
- Phar
53
- posix
54
- pspell
55
- readline
56
- redis
57
- Reflection
58
- session
59
- shmop
60
- SimpleXML
61
- snmp
62
- soap
63
- sockets
64
- sodium
65
- SPL
66
- sqlite3
67
- standard
68
- sysvmsg
69
- sysvsem
70
- sysvshm
71
- tidy
72
- tokenizer
73
- xdebug
74
- xml
75
- xmlreader
76
- xmlrpc
77
- xmlwriter
78
- xsl
79
- yaml
80
- Zend OPcache
81
- zip
82
- zlib
83
- zmq
84
- phalcon3
85
- phalcon4
86
- blackfire
87
-
88
- [Zend Modules]
89
- Xdebug
90
- Zend OPcache
91
-
@@ -1,72 +0,0 @@
1
- [PHP Modules]
2
- bcmath
3
- bz2
4
- calendar
5
- Core
6
- ctype
7
- curl
8
- date
9
- dom
10
- enchant
11
- exif
12
- FFI
13
- fileinfo
14
- filter
15
- ftp
16
- gd
17
- gettext
18
- gmp
19
- hash
20
- iconv
21
- ioncube
22
- intl
23
- json
24
- libxml
25
- mbstring
26
- mysqli
27
- mysqlnd
28
- openssl
29
- pcntl
30
- pcov
31
- pcre
32
- PDO
33
- oci8
34
- PDO_OCI
35
- pdo_mysql
36
- pdo_pgsql
37
- pdo_sqlite
38
- pgsql
39
- Phar
40
- posix
41
- pspell
42
- readline
43
- Reflection
44
- session
45
- shmop
46
- SimpleXML
47
- soap
48
- sockets
49
- SPL
50
- sqlite3
51
- standard
52
- sysvmsg
53
- sysvsem
54
- sysvshm
55
- tidy
56
- tokenizer
57
- xml
58
- xmlreader
59
- xmlrpc
60
- xmlwriter
61
- xsl
62
- Zend OPcache
63
- zip
64
- zlib
65
- phalcon3
66
- phalcon4
67
- blackfire
68
-
69
- [Zend Modules]
70
- Zend OPcache
71
- Xdebug
72
-
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
- }