@afterpack/angular 0.1.0 → 0.2.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.
package/README.md CHANGED
@@ -74,9 +74,10 @@ instead.
74
74
 
75
75
  ## Pro
76
76
 
77
- Without a key, AfterPack runs on your machine and applies basic protection. Set
77
+ Without a key, AfterPack runs on your machine with the full pipeline at any preset. Set
78
78
  [`AFTERPACK_KEY`](https://www.afterpack.dev/docs/config#key) in your environment and the same step
79
- sends the build to AfterPack's cloud, which applies much stronger protection. See [AfterPack
79
+ builds in AfterPack's cloud instead, which adds two hardening transforms you can turn on:
80
+ self-integrity (anti-tamper) and comparison hardening. See [AfterPack
80
81
  Pro](https://www.afterpack.dev/docs/pro).
81
82
 
82
83
  ## Links
package/dist/index.cjs CHANGED
@@ -75,7 +75,7 @@ async function afterpackAngular(options = {}) {
75
75
  client: (0, __afterpack_integration_utils.resolveClientIdentity)(require("url").pathToFileURL(__filename).href),
76
76
  telemetry: (0, __afterpack_integration_utils.createTelemetryReporter)(),
77
77
  label: "afterpack-angular",
78
- gitignoreDir: cwd,
78
+ cwd,
79
79
  startedAt: startedBeforeDirDiscovery,
80
80
  combinedProtectionMap: {
81
81
  buildDir: browserDir,
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ async function afterpackAngular(options = {}) {
52
52
  client: resolveClientIdentity(import.meta.url),
53
53
  telemetry: createTelemetryReporter(),
54
54
  label: "afterpack-angular",
55
- gitignoreDir: cwd,
55
+ cwd,
56
56
  startedAt: startedBeforeDirDiscovery,
57
57
  combinedProtectionMap: {
58
58
  buildDir: browserDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afterpack/angular",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Angular 17+ integration for AfterPack: obfuscate the browser bundle after ng build",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -25,8 +25,8 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@afterpack/core": "~0.1.0",
29
- "@afterpack/integration-utils": "0.1.0"
28
+ "@afterpack/core": "~0.2.0",
29
+ "@afterpack/integration-utils": "0.2.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "2.4.4",