@alwaysmeticulous/record 2.248.0 → 2.248.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.
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const vitest_1 = require("vitest");
|
|
3
4
|
const wrap_in_should_record_condition_1 = require("../wrap-in-should-record-condition");
|
|
4
|
-
describe("wrapInShouldRecordCondition", () => {
|
|
5
|
-
it("adds the desired condition and keeps the source map comment as the last line", () => {
|
|
6
|
-
expect((0, wrap_in_should_record_condition_1.wrapInShouldRecordCondition)([
|
|
5
|
+
(0, vitest_1.describe)("wrapInShouldRecordCondition", () => {
|
|
6
|
+
(0, vitest_1.it)("adds the desired condition and keeps the source map comment as the last line", () => {
|
|
7
|
+
(0, vitest_1.expect)((0, wrap_in_should_record_condition_1.wrapInShouldRecordCondition)([
|
|
7
8
|
"console.log('Hello World')",
|
|
8
9
|
"//# sourceMappingURL=main.bundle.js.map",
|
|
9
10
|
"",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrap-in-should-record-condition.spec.js","sourceRoot":"","sources":["../../../../src/record/utils/__tests__/wrap-in-should-record-condition.spec.ts"],"names":[],"mappings":";;AAAA,wFAAiF;AAEjF,
|
|
1
|
+
{"version":3,"file":"wrap-in-should-record-condition.spec.js","sourceRoot":"","sources":["../../../../src/record/utils/__tests__/wrap-in-should-record-condition.spec.ts"],"names":[],"mappings":";;AAAA,mCAA8C;AAC9C,wFAAiF;AAEjF,IAAA,iBAAQ,EAAC,6BAA6B,EAAE,GAAG,EAAE;IAC3C,IAAA,WAAE,EAAC,8EAA8E,EAAE,GAAG,EAAE;QACtF,IAAA,eAAM,EACJ,IAAA,6DAA2B,EACzB;YACE,4BAA4B;YAC5B,yCAAyC;YACzC,EAAE;SACH,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CACF,CAAC,qBAAqB,CAAC;;;;;;KAMvB,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/record",
|
|
3
|
-
"version": "2.248.
|
|
3
|
+
"version": "2.248.9",
|
|
4
4
|
"description": "The Meticulous toolkit to record user sessions",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,15 +17,18 @@
|
|
|
17
17
|
"lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
|
|
18
18
|
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
|
|
19
19
|
"depcheck": "depcheck --ignore-patterns=dist",
|
|
20
|
-
"test": "
|
|
20
|
+
"test": "vitest run --passWithNoTests"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@alwaysmeticulous/api": "
|
|
24
|
-
"@alwaysmeticulous/common": "
|
|
23
|
+
"@alwaysmeticulous/api": "2.248.0",
|
|
24
|
+
"@alwaysmeticulous/common": "2.248.9",
|
|
25
25
|
"chalk": "^4.1.2",
|
|
26
26
|
"loglevel": "^1.8.0",
|
|
27
27
|
"puppeteer-core": "24.14.0"
|
|
28
28
|
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"vitest": "catalog:"
|
|
31
|
+
},
|
|
29
32
|
"author": {
|
|
30
33
|
"name": "The Meticulous Team",
|
|
31
34
|
"email": "eng@meticulous.ai",
|
|
@@ -43,8 +46,5 @@
|
|
|
43
46
|
"bugs": {
|
|
44
47
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
45
48
|
},
|
|
46
|
-
"
|
|
47
|
-
"preset": "../../jest.config.js"
|
|
48
|
-
},
|
|
49
|
-
"gitHead": "4e429238d3540b21e3007f4c752ce8942f0a60e4"
|
|
49
|
+
"gitHead": "815b38a556fa693b050dcb3039aa65e98e25ac82"
|
|
50
50
|
}
|