unpeek 1.7.2 → 1.8.2
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/dist/ast/index.cjs +2278 -386
- package/dist/ast/index.cjs.map +1 -1
- package/dist/ast/index.d.cts +69 -1
- package/dist/ast/index.d.ts +69 -1
- package/dist/ast/index.js +2266 -385
- package/dist/ast/index.js.map +1 -1
- package/dist/browser.cjs +2265 -393
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +2 -1
- package/dist/browser.d.ts +2 -1
- package/dist/browser.js +2260 -388
- package/dist/browser.js.map +1 -1
- package/dist/bundler/unplugin.cjs +2259 -385
- package/dist/bundler/unplugin.cjs.map +1 -1
- package/dist/bundler/unplugin.js +2258 -384
- package/dist/bundler/unplugin.js.map +1 -1
- package/dist/cli/index.cjs +2292 -396
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.js +2292 -396
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/protect.cjs +2284 -391
- package/dist/cli/protect.cjs.map +1 -1
- package/dist/cli/protect.js +2285 -392
- package/dist/cli/protect.js.map +1 -1
- package/dist/esbuild.cjs +2259 -385
- package/dist/esbuild.cjs.map +1 -1
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +2258 -384
- package/dist/esbuild.js.map +1 -1
- package/dist/index.cjs +2309 -411
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2296 -398
- package/dist/index.js.map +1 -1
- package/dist/rollup.cjs +2259 -385
- package/dist/rollup.cjs.map +1 -1
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +2258 -384
- package/dist/rollup.js.map +1 -1
- package/dist/runtime/index.cjs +366 -8
- package/dist/runtime/index.cjs.map +1 -1
- package/dist/runtime/index.d.cts +11 -3
- package/dist/runtime/index.d.ts +11 -3
- package/dist/runtime/index.js +364 -8
- package/dist/runtime/index.js.map +1 -1
- package/dist/{types-D-lVfaDU.d.cts → types-CQHprSVk.d.cts} +10 -0
- package/dist/{types-D-lVfaDU.d.ts → types-CQHprSVk.d.ts} +10 -0
- package/dist/vite.cjs +2259 -385
- package/dist/vite.cjs.map +1 -1
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +2258 -384
- package/dist/vite.js.map +1 -1
- package/dist/webpack.cjs +2259 -385
- package/dist/webpack.cjs.map +1 -1
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +2258 -384
- package/dist/webpack.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DetectedFramework, a as DeterrentMode, H as HotPathReport, P as ProtectOptions, b as ProtectSummary, S as ShieldConfig, c as ShieldPayload, d as SourceMapVaultResult, T as TransformOptions, e as TransformResult } from './types-
|
|
1
|
+
export { D as DetectedFramework, a as DeterrentMode, H as HotPathReport, P as ProtectOptions, b as ProtectSummary, S as ShieldConfig, c as ShieldPayload, d as SourceMapVaultResult, T as TransformOptions, e as TransformResult } from './types-CQHprSVk.cjs';
|
|
2
2
|
export { computeFnv1aHash, detectHotPaths, transformJavaScript } from './ast/index.cjs';
|
|
3
3
|
export { computeIntegrityHash, createDeterrentSnippet, generateRuntimeShield, verifyCodeIntegrity } from './runtime/index.cjs';
|
|
4
4
|
export { detectTargetFramework, scanClientBundles } from './bundler/detector.cjs';
|
|
@@ -7,6 +7,7 @@ export { esbuildPlugin, rollupPlugin, default as unpeekPlugin, vitePlugin, webpa
|
|
|
7
7
|
export { initProject } from './cli/init.cjs';
|
|
8
8
|
export { protectProject } from './cli/protect.cjs';
|
|
9
9
|
export { runCli } from './cli/index.cjs';
|
|
10
|
+
import 'acorn';
|
|
10
11
|
import 'esbuild';
|
|
11
12
|
import 'rollup';
|
|
12
13
|
import 'webpack';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DetectedFramework, a as DeterrentMode, H as HotPathReport, P as ProtectOptions, b as ProtectSummary, S as ShieldConfig, c as ShieldPayload, d as SourceMapVaultResult, T as TransformOptions, e as TransformResult } from './types-
|
|
1
|
+
export { D as DetectedFramework, a as DeterrentMode, H as HotPathReport, P as ProtectOptions, b as ProtectSummary, S as ShieldConfig, c as ShieldPayload, d as SourceMapVaultResult, T as TransformOptions, e as TransformResult } from './types-CQHprSVk.js';
|
|
2
2
|
export { computeFnv1aHash, detectHotPaths, transformJavaScript } from './ast/index.js';
|
|
3
3
|
export { computeIntegrityHash, createDeterrentSnippet, generateRuntimeShield, verifyCodeIntegrity } from './runtime/index.js';
|
|
4
4
|
export { detectTargetFramework, scanClientBundles } from './bundler/detector.js';
|
|
@@ -7,6 +7,7 @@ export { esbuildPlugin, rollupPlugin, default as unpeekPlugin, vitePlugin, webpa
|
|
|
7
7
|
export { initProject } from './cli/init.js';
|
|
8
8
|
export { protectProject } from './cli/protect.js';
|
|
9
9
|
export { runCli } from './cli/index.js';
|
|
10
|
+
import 'acorn';
|
|
10
11
|
import 'esbuild';
|
|
11
12
|
import 'rollup';
|
|
12
13
|
import 'webpack';
|