@tailwindcss-obfuscator/core 1.0.4 → 1.0.6

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.
@@ -13,6 +13,7 @@ export declare class ApplyClassNames {
13
13
  };
14
14
  updateStylesheet(css: string): string;
15
15
  getMap(): Map<string, string>;
16
+ /** Clears the obfuscator map only. Keeps allowlist so configResolved (after buildStart) does not clear it before transform runs. */
16
17
  reset(): void;
17
18
  }
18
19
  //# sourceMappingURL=apply-class-names.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"apply-class-names.d.ts","sourceRoot":"","sources":["../src/apply-class-names.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,2BAA2B,CAAC;AA6BtE,qBAAa,eAAe;IAC3B,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;gBAE5B,MAAM,SAAO;IAIzB,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI;IAI1C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,oBAAoB;IAY5B,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,QAAQ,CAAA;KAAE;IAwB5E,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAyDrC,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;IAI7B,KAAK,IAAI,IAAI;CAIb"}
1
+ {"version":3,"file":"apply-class-names.d.ts","sourceRoot":"","sources":["../src/apply-class-names.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,QAAQ,EAAc,MAAM,2BAA2B,CAAC;AA6BtE,qBAAa,eAAe;IAC3B,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;gBAE5B,MAAM,SAAO;IAIzB,YAAY,CAAC,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI;IAI1C,OAAO,CAAC,cAAc;IAItB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,oBAAoB;IAY5B,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,QAAQ,CAAA;KAAE;IAwB5E,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAyDrC,MAAM,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;IAI7B,oIAAoI;IACpI,KAAK,IAAI,IAAI;CAGb"}
@@ -225,7 +225,6 @@ class ApplyClassNames {
225
225
  return this.obfuscator.getMap();
226
226
  }
227
227
  reset() {
228
- this.allowlist = new Set;
229
228
  this.obfuscator.reset();
230
229
  }
231
230
  }
package/package.json CHANGED
@@ -20,5 +20,5 @@
20
20
  },
21
21
  "type": "module",
22
22
  "types": "./dist/apply-class-names.d.ts",
23
- "version": "1.0.4"
23
+ "version": "1.0.6"
24
24
  }