whopper 0.5.5 → 0.5.9

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.
Files changed (70) hide show
  1. package/README.md +12 -4
  2. package/dist/browser/index.d.ts.map +1 -1
  3. package/dist/browser/index.js +38 -9
  4. package/dist/browser/index.js.map +1 -1
  5. package/dist/browser/index.test.js +2 -1
  6. package/dist/browser/index.test.js.map +1 -1
  7. package/dist/browser/types.d.ts +1 -0
  8. package/dist/browser/types.d.ts.map +1 -1
  9. package/dist/commands/detect.d.ts.map +1 -1
  10. package/dist/commands/detect.js +2 -0
  11. package/dist/commands/detect.js.map +1 -1
  12. package/dist/commands/detect.test.js +1 -0
  13. package/dist/commands/detect.test.js.map +1 -1
  14. package/dist/main.js +0 -0
  15. package/dist/signatures/index.d.ts.map +1 -1
  16. package/dist/signatures/index.js +2 -0
  17. package/dist/signatures/index.js.map +1 -1
  18. package/dist/signatures/technologies/bootstrap.js +2 -2
  19. package/dist/signatures/technologies/bootstrap.js.map +1 -1
  20. package/dist/signatures/technologies/bootstrap.test.js +59 -0
  21. package/dist/signatures/technologies/bootstrap.test.js.map +1 -1
  22. package/dist/signatures/technologies/movable_type.d.ts +3 -0
  23. package/dist/signatures/technologies/movable_type.d.ts.map +1 -0
  24. package/dist/signatures/technologies/movable_type.js +56 -0
  25. package/dist/signatures/technologies/movable_type.js.map +1 -0
  26. package/dist/signatures/technologies/movable_type.test.d.ts +2 -0
  27. package/dist/signatures/technologies/movable_type.test.d.ts.map +1 -0
  28. package/dist/signatures/technologies/movable_type.test.js +114 -0
  29. package/dist/signatures/technologies/movable_type.test.js.map +1 -0
  30. package/package.json +9 -2
  31. package/dist/analyzer/util.d.ts +0 -3
  32. package/dist/analyzer/util.d.ts.map +0 -1
  33. package/dist/analyzer/util.js +0 -10
  34. package/dist/analyzer/util.js.map +0 -1
  35. package/dist/commands/hello.d.ts +0 -3
  36. package/dist/commands/hello.d.ts.map +0 -1
  37. package/dist/commands/hello.js +0 -12
  38. package/dist/commands/hello.js.map +0 -1
  39. package/dist/commands/version.d.ts +0 -3
  40. package/dist/commands/version.d.ts.map +0 -1
  41. package/dist/commands/version.js +0 -10
  42. package/dist/commands/version.js.map +0 -1
  43. package/dist/commands/version.test.d.ts +0 -2
  44. package/dist/commands/version.test.d.ts.map +0 -1
  45. package/dist/commands/version.test.js +0 -27
  46. package/dist/commands/version.test.js.map +0 -1
  47. package/dist/detector/index.d.ts +0 -5
  48. package/dist/detector/index.d.ts.map +0 -1
  49. package/dist/detector/index.js +0 -16
  50. package/dist/detector/index.js.map +0 -1
  51. package/dist/detector/matcher.d.ts +0 -5
  52. package/dist/detector/matcher.d.ts.map +0 -1
  53. package/dist/detector/matcher.js +0 -50
  54. package/dist/detector/matcher.js.map +0 -1
  55. package/dist/detector/types.d.ts +0 -10
  56. package/dist/detector/types.d.ts.map +0 -1
  57. package/dist/detector/types.js +0 -2
  58. package/dist/detector/types.js.map +0 -1
  59. package/dist/signatures/nginx.d.ts +0 -3
  60. package/dist/signatures/nginx.d.ts.map +0 -1
  61. package/dist/signatures/nginx.js +0 -12
  62. package/dist/signatures/nginx.js.map +0 -1
  63. package/dist/signatures/technologies/microsoft_asp.d.ts +0 -3
  64. package/dist/signatures/technologies/microsoft_asp.d.ts.map +0 -1
  65. package/dist/signatures/technologies/microsoft_asp.js +0 -20
  66. package/dist/signatures/technologies/microsoft_asp.js.map +0 -1
  67. package/dist/signatures/technologies/spiwer.d.ts +0 -3
  68. package/dist/signatures/technologies/spiwer.d.ts.map +0 -1
  69. package/dist/signatures/technologies/spiwer.js +0 -10
  70. package/dist/signatures/technologies/spiwer.js.map +0 -1
@@ -1,3 +0,0 @@
1
- import { Command } from "commander";
2
- export declare const versionCommand: () => Command;
3
- //# sourceMappingURL=version.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/commands/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,eAAO,MAAM,cAAc,QAAO,OAMjC,CAAC"}
@@ -1,10 +0,0 @@
1
- import { Command } from "commander";
2
- import { VERSION } from "../cli.js";
3
- export const versionCommand = () => {
4
- return new Command("version")
5
- .description("Displays the current version of the CLI tool.")
6
- .action(() => {
7
- console.log(VERSION);
8
- });
9
- };
10
- //# sourceMappingURL=version.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/commands/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAY,EAAE;IAC1C,OAAO,IAAI,OAAO,CAAC,SAAS,CAAC;SAC1B,WAAW,CAAC,+CAA+C,CAAC;SAC5D,MAAM,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC,CAAC,CAAC;AACP,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=version.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.test.d.ts","sourceRoot":"","sources":["../../src/commands/version.test.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
2
- import { versionCommand } from "./version.js";
3
- import { VERSION } from "../cli.js";
4
- describe("versionCommand", () => {
5
- let consoleLogSpy;
6
- beforeEach(() => {
7
- consoleLogSpy = vi.spyOn(console, "log").mockImplementation(() => { });
8
- });
9
- afterEach(() => {
10
- consoleLogSpy.mockRestore();
11
- });
12
- it("should create a command named version", () => {
13
- const command = versionCommand();
14
- expect(command.name()).toBe("version");
15
- });
16
- it("should have a description", () => {
17
- const command = versionCommand();
18
- expect(command.description()).toContain("version");
19
- });
20
- it("should print the version when action is called", async () => {
21
- const command = versionCommand();
22
- // Parse with just the command name, no extra arguments
23
- await command.parseAsync([], { from: "user" });
24
- expect(consoleLogSpy).toHaveBeenCalledWith(VERSION);
25
- });
26
- });
27
- //# sourceMappingURL=version.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"version.test.js","sourceRoot":"","sources":["../../src/commands/version.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,IAAI,aAA0C,CAAC;IAE/C,UAAU,CAAC,GAAG,EAAE;QACd,aAAa,GAAG,EAAE,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,kBAAkB,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,aAAa,CAAC,WAAW,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE;QAC/C,MAAM,OAAO,GAAG,cAAc,EAAE,CAAC;QACjC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IACzC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACnC,MAAM,OAAO,GAAG,cAAc,EAAE,CAAC;QACjC,MAAM,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gDAAgD,EAAE,KAAK,IAAI,EAAE;QAC9D,MAAM,OAAO,GAAG,cAAc,EAAE,CAAC;QACjC,uDAAuD;QACvD,MAAM,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;QAC/C,MAAM,CAAC,aAAa,CAAC,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Context } from "../browser/index.js";
2
- import type { Signature } from "../signatures/_types.js";
3
- import type { Detection } from "./types.js";
4
- export declare function detect(context: Context, signatures: Signature[]): Detection[];
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/detector/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,CAe7E"}
@@ -1,16 +0,0 @@
1
- import { applySignature } from "./matcher.js";
2
- export function detect(context, signatures) {
3
- const detections = [];
4
- for (const signature of signatures) {
5
- const [matched, evidences] = applySignature(context, signature);
6
- if (matched) {
7
- detections.push({
8
- name: signature.name,
9
- confidence: signature.confidence,
10
- evidences,
11
- });
12
- }
13
- }
14
- return detections;
15
- }
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/detector/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9C,MAAM,UAAU,MAAM,CAAC,OAAgB,EAAE,UAAuB;IAC9D,MAAM,UAAU,GAAgB,EAAE,CAAC;IAEnC,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACnC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,GAAG,cAAc,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAChE,IAAI,OAAO,EAAE,CAAC;YACZ,UAAU,CAAC,IAAI,CAAC;gBACd,IAAI,EAAE,SAAS,CAAC,IAAI;gBACpB,UAAU,EAAE,SAAS,CAAC,UAAU;gBAChC,SAAS;aACV,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { Context } from "../browser/index.js";
2
- import type { Signature } from "../signatures/_types.js";
3
- import type { Evidence } from "./types.js";
4
- export declare const applySignature: (context: Context, signature: Signature) => [boolean, Evidence[]];
5
- //# sourceMappingURL=matcher.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matcher.d.ts","sourceRoot":"","sources":["../../src/detector/matcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAe3C,eAAO,MAAM,cAAc,GACzB,SAAS,OAAO,EAChB,WAAW,SAAS,KACnB,CAAC,OAAO,EAAE,QAAQ,EAAE,CA4CtB,CAAC"}
@@ -1,50 +0,0 @@
1
- const matchString = (value, rule) => {
2
- if (rule.contains && value.includes(rule.contains)) {
3
- return true;
4
- }
5
- if (rule.regex && new RegExp(rule.regex).test(value)) {
6
- return true;
7
- }
8
- return false;
9
- };
10
- export const applySignature = (context, signature) => {
11
- for (const rule of signature.rules) {
12
- let ruleMatched = false;
13
- const evidences = [];
14
- // Match headers
15
- if (rule.headers) {
16
- for (const [header, match] of Object.entries(rule.headers)) {
17
- const response = context.responses.find((res) => res.headers[header.toLowerCase()]);
18
- if (response) {
19
- const headerValue = response.headers[header.toLowerCase()];
20
- if (headerValue && matchString(headerValue, match)) {
21
- ruleMatched = true;
22
- evidences.push({
23
- type: "header",
24
- value: `${header}: ${headerValue}`,
25
- });
26
- }
27
- }
28
- }
29
- }
30
- // Match bodies
31
- if (rule.bodies) {
32
- for (const match of rule.bodies) {
33
- for (const response of context.responses) {
34
- const body = response.headers["content-type"]?.includes("text")
35
- ? response.body
36
- : "";
37
- if (body && matchString(body, match)) {
38
- ruleMatched = true;
39
- evidences.push({ type: "body", value: body });
40
- }
41
- }
42
- }
43
- }
44
- if (ruleMatched) {
45
- return [true, evidences];
46
- }
47
- }
48
- return [false, []];
49
- };
50
- //# sourceMappingURL=matcher.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matcher.js","sourceRoot":"","sources":["../../src/detector/matcher.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,GAAG,CAClB,KAAa,EACb,IAA2C,EAClC,EAAE;IACX,IAAI,IAAI,CAAC,QAAQ,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC;QACnD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,OAAgB,EAChB,SAAoB,EACG,EAAE;IACzB,KAAK,MAAM,IAAI,IAAI,SAAS,CAAC,KAAK,EAAE,CAAC;QACnC,IAAI,WAAW,GAAG,KAAK,CAAC;QACxB,MAAM,SAAS,GAAe,EAAE,CAAC;QAEjC,gBAAgB;QAChB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YACjB,KAAK,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;gBAC3D,MAAM,QAAQ,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CACrC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAC3C,CAAC;gBACF,IAAI,QAAQ,EAAE,CAAC;oBACb,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CAAC;oBAC3D,IAAI,WAAW,IAAI,WAAW,CAAC,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;wBACnD,WAAW,GAAG,IAAI,CAAC;wBACnB,SAAS,CAAC,IAAI,CAAC;4BACb,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,GAAG,MAAM,KAAK,WAAW,EAAE;yBACnC,CAAC,CAAC;oBACL,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,eAAe;QACf,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;gBAChC,KAAK,MAAM,QAAQ,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;oBACzC,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC;wBAC7D,CAAC,CAAC,QAAQ,CAAC,IAAI;wBACf,CAAC,CAAC,EAAE,CAAC;oBACP,IAAI,IAAI,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;wBACrC,WAAW,GAAG,IAAI,CAAC;wBACnB,SAAS,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;oBAChD,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,IAAI,WAAW,EAAE,CAAC;YAChB,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AACrB,CAAC,CAAC"}
@@ -1,10 +0,0 @@
1
- export type Evidence = {
2
- type: "header" | "body";
3
- value: string;
4
- };
5
- export type Detection = {
6
- name: string;
7
- confidence: "high" | "medium" | "low";
8
- evidences: Evidence[];
9
- };
10
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/detector/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACtC,SAAS,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/detector/types.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import type { Signature } from "./_types.js";
2
- export declare const nginxSignature: Signature;
3
- //# sourceMappingURL=nginx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nginx.d.ts","sourceRoot":"","sources":["../../src/signatures/nginx.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,cAAc,EAAE,SAU5B,CAAC"}
@@ -1,12 +0,0 @@
1
- export const nginxSignature = {
2
- name: "Nginx",
3
- confidence: "high",
4
- rules: [
5
- {
6
- headers: {
7
- server: { regex: "^nginx/(\\d+\\.\\d+\\.\\d+)?" },
8
- },
9
- },
10
- ],
11
- };
12
- //# sourceMappingURL=nginx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nginx.js","sourceRoot":"","sources":["../../src/signatures/nginx.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAc;IACvC,IAAI,EAAE,OAAO;IACb,UAAU,EAAE,MAAM;IAClB,KAAK,EAAE;QACL;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE;aAClD;SACF;KACF;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Signature } from "../_types.js";
2
- export declare const microsoftAspSignature: Signature;
3
- //# sourceMappingURL=microsoft_asp.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"microsoft_asp.d.ts","sourceRoot":"","sources":["../../../src/signatures/technologies/microsoft_asp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,qBAAqB,EAAE,SAmBnC,CAAC"}
@@ -1,20 +0,0 @@
1
- export const microsoftAspSignature = {
2
- name: "Microsoft ASP",
3
- description: "ASP.NET is an open-source, server-side web-application framework designed for web development to produce dynamic web pages.",
4
- cpe: "cpe:/a:microsoft:asp.net",
5
- rule: {
6
- confidence: "high",
7
- urls: ["\\.aspx"],
8
- bodies: ['<input[^>]+name="__VIEWSTATE'],
9
- cookies: {
10
- "ASP\\.NET_SessionId": "",
11
- ASPSESSION: "",
12
- },
13
- javascriptVariables: {
14
- "X-AspNet-Version": "(\\d+\\.\\d+\\.\\d+)",
15
- "X-Powered-By": "^ASP\\.NET",
16
- "set-cookie": "\\.AspNetCore",
17
- },
18
- },
19
- };
20
- //# sourceMappingURL=microsoft_asp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"microsoft_asp.js","sourceRoot":"","sources":["../../../src/signatures/technologies/microsoft_asp.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAc;IAC9C,IAAI,EAAE,eAAe;IACrB,WAAW,EACT,6HAA6H;IAC/H,GAAG,EAAE,0BAA0B;IAC/B,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,CAAC,SAAS,CAAC;QACjB,MAAM,EAAE,CAAC,8BAA8B,CAAC;QACxC,OAAO,EAAE;YACP,qBAAqB,EAAE,EAAE;YACzB,UAAU,EAAE,EAAE;SACf;QACD,mBAAmB,EAAE;YACnB,kBAAkB,EAAE,sBAAsB;YAC1C,cAAc,EAAE,YAAY;YAC5B,YAAY,EAAE,eAAe;SAC9B;KACF;CACF,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { Signature } from "../_types.js";
2
- export declare const swiperSignature: Signature;
3
- //# sourceMappingURL=spiwer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spiwer.d.ts","sourceRoot":"","sources":["../../../src/signatures/technologies/spiwer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,eAAe,EAAE,SAS7B,CAAC"}
@@ -1,10 +0,0 @@
1
- export const swiperSignature = {
2
- name: "Swiper",
3
- description: "Most modern mobile touch slider and framework with hardware accelerated transitions",
4
- rule: {
5
- confidence: "high",
6
- urls: ["swiper[@.-](\\d+\\.\\d+\\.\\d+)?"],
7
- bodies: ["Swiper (\\d+\\.\\d+\\.\\d+)?"],
8
- },
9
- };
10
- //# sourceMappingURL=spiwer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spiwer.js","sourceRoot":"","sources":["../../../src/signatures/technologies/spiwer.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAc;IACxC,IAAI,EAAE,QAAQ;IACd,WAAW,EACT,qFAAqF;IACvF,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,CAAC,kCAAkC,CAAC;QAC1C,MAAM,EAAE,CAAC,8BAA8B,CAAC;KACzC;CACF,CAAC"}