cache-extensions 1.1.1 → 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 -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 +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 -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 -68
  42. package/src/lists/bionic-php5.4-extensions +0 -72
  43. package/src/lists/bionic-php5.5-extensions +0 -72
  44. package/src/lists/bionic-php5.6-extensions +0 -66
  45. package/src/lists/bionic-php7.0-extensions +0 -63
  46. package/src/lists/bionic-php7.1-extensions +0 -90
  47. package/src/lists/bionic-php7.2-extensions +0 -90
  48. package/src/lists/bionic-php7.3-extensions +0 -90
  49. package/src/lists/bionic-php7.4-extensions +0 -88
  50. package/src/lists/bionic-php8.0-extensions +0 -69
  51. package/src/lists/focal-php5.3-extensions +0 -64
  52. package/src/lists/focal-php5.4-extensions +0 -71
  53. package/src/lists/focal-php5.5-extensions +0 -71
  54. package/src/lists/focal-php5.6-extensions +0 -65
  55. package/src/lists/focal-php7.0-extensions +0 -62
  56. package/src/lists/focal-php7.1-extensions +0 -62
  57. package/src/lists/focal-php7.2-extensions +0 -63
  58. package/src/lists/focal-php7.3-extensions +0 -63
  59. package/src/lists/focal-php7.4-extensions +0 -54
  60. package/src/lists/focal-php8.0-extensions +0 -68
  61. package/src/lists/xenial-libs +0 -728
  62. package/src/lists/xenial-php5.3-extensions +0 -67
  63. package/src/lists/xenial-php5.4-extensions +0 -71
  64. package/src/lists/xenial-php5.5-extensions +0 -71
  65. package/src/lists/xenial-php5.6-extensions +0 -95
  66. package/src/lists/xenial-php7.0-extensions +0 -90
  67. package/src/lists/xenial-php7.1-extensions +0 -90
  68. package/src/lists/xenial-php7.2-extensions +0 -90
  69. package/src/lists/xenial-php7.3-extensions +0 -90
  70. package/src/lists/xenial-php7.4-extensions +0 -88
  71. package/src/lists/xenial-php8.0-extensions +0 -69
  72. package/tsconfig.json +0 -63
@@ -1,69 +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
- intl
22
- json
23
- libxml
24
- mbstring
25
- mysqli
26
- mysqlnd
27
- openssl
28
- pcntl
29
- pcov
30
- pcre
31
- PDO
32
- pdo_mysql
33
- pdo_pgsql
34
- pdo_sqlite
35
- pgsql
36
- Phar
37
- posix
38
- pspell
39
- readline
40
- Reflection
41
- session
42
- shmop
43
- SimpleXML
44
- soap
45
- sockets
46
- SPL
47
- sqlite3
48
- standard
49
- sysvmsg
50
- sysvsem
51
- sysvshm
52
- tidy
53
- tokenizer
54
- xml
55
- xmlreader
56
- xmlrpc
57
- xmlwriter
58
- xsl
59
- Zend OPcache
60
- zip
61
- zlib
62
- phalcon3
63
- phalcon4
64
- blackfire
65
-
66
- [Zend Modules]
67
- Zend OPcache
68
- Xdebug
69
-
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
- }