graphile-cache 1.0.1 → 1.1.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.
@@ -1,5 +1,5 @@
1
- import { LRUCache } from 'lru-cache';
2
1
  import { Logger } from '@launchql/logger';
2
+ import { LRUCache } from 'lru-cache';
3
3
  import { pgCache } from 'pg-cache';
4
4
  const log = new Logger('graphile-cache');
5
5
  const ONE_HOUR_IN_MS = 1000 * 60 * 60;
package/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Main exports from graphile-cache package
2
- export { graphileCache, closeAllCaches } from './graphile-cache';
2
+ export { closeAllCaches, graphileCache } from './graphile-cache';
package/graphile-cache.js CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.closeAllCaches = exports.graphileCache = void 0;
4
- const lru_cache_1 = require("lru-cache");
5
4
  const logger_1 = require("@launchql/logger");
5
+ const lru_cache_1 = require("lru-cache");
6
6
  const pg_cache_1 = require("pg-cache");
7
7
  const log = new logger_1.Logger('graphile-cache');
8
8
  const ONE_HOUR_IN_MS = 1000 * 60 * 60;
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { graphileCache, GraphileCache, closeAllCaches } from './graphile-cache';
1
+ export { closeAllCaches, GraphileCache, graphileCache } from './graphile-cache';
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.closeAllCaches = exports.graphileCache = void 0;
3
+ exports.graphileCache = exports.closeAllCaches = void 0;
4
4
  // Main exports from graphile-cache package
5
5
  var graphile_cache_1 = require("./graphile-cache");
6
- Object.defineProperty(exports, "graphileCache", { enumerable: true, get: function () { return graphile_cache_1.graphileCache; } });
7
6
  Object.defineProperty(exports, "closeAllCaches", { enumerable: true, get: function () { return graphile_cache_1.closeAllCaches; } });
7
+ Object.defineProperty(exports, "graphileCache", { enumerable: true, get: function () { return graphile_cache_1.graphileCache; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-cache",
3
- "version": "1.0.1",
3
+ "version": "1.1.1",
4
4
  "author": "Dan Lynch <pyramation@gmail.com>",
5
5
  "description": "PostGraphile LRU cache with automatic pool cleanup integration",
6
6
  "main": "index.js",
@@ -30,10 +30,10 @@
30
30
  "test:watch": "jest --watch"
31
31
  },
32
32
  "dependencies": {
33
- "@launchql/logger": "^1.0.1",
33
+ "@launchql/logger": "^1.1.0",
34
34
  "lru-cache": "^11.1.0",
35
35
  "pg": "^8.16.0",
36
- "pg-cache": "^1.0.1",
36
+ "pg-cache": "^1.1.1",
37
37
  "postgraphile": "^4.14.1"
38
38
  },
39
39
  "devDependencies": {
@@ -50,5 +50,5 @@
50
50
  "postgresql",
51
51
  "launchql"
52
52
  ],
53
- "gitHead": "835a2e84ed84edab5bea8f5954d9dfeb657beb03"
53
+ "gitHead": "245029576886f5ac650aa5e8fa8cd8d5f47c258f"
54
54
  }