pluggable-codegen 0.2.0 → 0.2.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.
@@ -80,7 +80,7 @@ var Cache = class {
80
80
  this.#getOutputHash(resolve2(this.#rootDir, output))
81
81
  ]);
82
82
  const entry = cacheData.get(output);
83
- if (!entry || entry.source !== sourceHash || entry.output !== outputHash) {
83
+ if (entry && entry.source === sourceHash && entry.output === outputHash) {
84
84
  return;
85
85
  }
86
86
  const newHash = await generate();
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  Codegen,
4
4
  lookupPath
5
- } from "./chunk-WINVBDX2.js";
5
+ } from "./chunk-CBSI3RRL.js";
6
6
  import {
7
7
  __require
8
8
  } from "./chunk-3RG5ZIWI.js";
package/dist/index.cjs CHANGED
@@ -59,7 +59,7 @@ var Cache = class {
59
59
  this.#getOutputHash(_path.resolve.call(void 0, this.#rootDir, output))
60
60
  ]);
61
61
  const entry = cacheData.get(output);
62
- if (!entry || entry.source !== sourceHash || entry.output !== outputHash) {
62
+ if (entry && entry.source === sourceHash && entry.output === outputHash) {
63
63
  return;
64
64
  }
65
65
  const newHash = await generate();
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Codegen,
3
3
  File
4
- } from "./chunk-WINVBDX2.js";
4
+ } from "./chunk-CBSI3RRL.js";
5
5
  import "./chunk-3RG5ZIWI.js";
6
6
 
7
7
  // src/plugin.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pluggable-codegen",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "license": "MIT",
5
5
  "contributors": [
6
6
  {