@just-web/presets-browser 5.0.0 → 5.0.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/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C"}
|
|
@@ -8,9 +8,9 @@ const history_1 = require("@just-web/history");
|
|
|
8
8
|
exports.presetsBrowserGizmoFn = (0, app_1.define)((options) => ({
|
|
9
9
|
static: app_1.define.require().require().require().optional(),
|
|
10
10
|
async create(ctx) {
|
|
11
|
-
const browser = await ctx.with((0, browser_1.browserGizmoFn)(options
|
|
11
|
+
const browser = await ctx.with((0, browser_1.browserGizmoFn)(options?.browser));
|
|
12
12
|
await ctx.with(browser_preferences_1.browserPreferencesGizmo);
|
|
13
|
-
const history = await ctx.with((0, history_1.historyGizmoFn)(options
|
|
13
|
+
const history = await ctx.with((0, history_1.historyGizmoFn)(options?.history));
|
|
14
14
|
return {
|
|
15
15
|
...browser,
|
|
16
16
|
...history
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":";;;AAAA,uCAAsG;AACtG,+CAA+F;AAC/F,uEAAuE;AAEvE,+CAA+F;AAMlF,QAAA,qBAAqB,GAM9B,IAAA,YAAM,EAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,YAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,IAAA,wBAAc,EAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":";;;AAAA,uCAAsG;AACtG,+CAA+F;AAC/F,uEAAuE;AAEvE,+CAA+F;AAMlF,QAAA,qBAAqB,GAM9B,IAAA,YAAM,EAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,YAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAChE,MAAM,GAAG,CAAC,IAAI,CAAC,6CAAuB,CAAC,CAAA;QACvC,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,IAAA,wBAAc,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAChE,OAAO;YACN,GAAG,OAAO;YACV,GAAG,OAAO;SACV,CAAA;IACF,CAAC;CACD,CAAC,CAAC,CAAA"}
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../ts/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
|
|
@@ -5,9 +5,9 @@ import { historyGizmoFn } from '@just-web/history';
|
|
|
5
5
|
export const presetsBrowserGizmoFn = define((options) => ({
|
|
6
6
|
static: define.require().require().require().optional(),
|
|
7
7
|
async create(ctx) {
|
|
8
|
-
const browser = await ctx.with(browserGizmoFn(options
|
|
8
|
+
const browser = await ctx.with(browserGizmoFn(options?.browser));
|
|
9
9
|
await ctx.with(browserPreferencesGizmo);
|
|
10
|
-
const history = await ctx.with(historyGizmoFn(options
|
|
10
|
+
const history = await ctx.with(historyGizmoFn(options?.history));
|
|
11
11
|
return {
|
|
12
12
|
...browser,
|
|
13
13
|
...history
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAkE,MAAM,eAAe,CAAA;AACtG,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAC/F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAM/F,MAAM,CAAC,MAAM,qBAAqB,GAM9B,MAAM,CAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,MAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"presets_browser_gizmo.js","sourceRoot":"","sources":["../ts/presets_browser_gizmo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAkE,MAAM,eAAe,CAAA;AACtG,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAC/F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAEvE,OAAO,EAAE,cAAc,EAA+C,MAAM,mBAAmB,CAAA;AAM/F,MAAM,CAAC,MAAM,qBAAqB,GAM9B,MAAM,CAAC,CAAC,OAA0E,EAAE,EAAE,CAAC,CAAC;IAC3F,MAAM,EAAE,MAAM,CAAC,OAAO,EAAW,CAAC,OAAO,EAAY,CAAC,OAAO,EAAiB,CAAC,QAAQ,EAAiB;IACxG,KAAK,CAAC,MAAM,CAAC,GAAG;QACf,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAChE,MAAM,GAAG,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA;QACvC,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAA;QAChE,OAAO;YACN,GAAG,OAAO;YACV,GAAG,OAAO;SACV,CAAA;IACF,CAAC;CACD,CAAC,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@just-web/presets-browser",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.2",
|
|
4
4
|
"description": "just-web presets for browser related features",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"just-web",
|
|
@@ -42,17 +42,20 @@
|
|
|
42
42
|
"cjs",
|
|
43
43
|
"esm",
|
|
44
44
|
"ts",
|
|
45
|
-
"!**/*.{spec,test,unit,accept,integrate,system}.*"
|
|
45
|
+
"!**/*.{spec,test,unit,accept,integrate,system,perf,stress}.*"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"@just-web/
|
|
48
|
+
"repobuddy": "^1.0.1",
|
|
49
|
+
"tslib": "^2.5.0",
|
|
50
|
+
"@just-web/browser": "^7.1.0",
|
|
51
|
+
"@just-web/browser-preferences": "^7.1.0",
|
|
52
|
+
"@just-web/history": "^2.0.2"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
|
-
"@repobuddy/jest": "^3.
|
|
55
|
+
"@repobuddy/jest": "^3.3.0",
|
|
56
|
+
"@repobuddy/typescript": "^1.2.0",
|
|
54
57
|
"@size-limit/preset-small-lib": "~8.2.0",
|
|
55
|
-
"@types/jest": "^29.
|
|
58
|
+
"@types/jest": "^29.5.1",
|
|
56
59
|
"cross-env": "^7.0.3",
|
|
57
60
|
"depcheck": "~1.4.3",
|
|
58
61
|
"eslint": "^8.11.0",
|
|
@@ -68,17 +71,17 @@
|
|
|
68
71
|
"rimraf": "~5.0.0",
|
|
69
72
|
"size-limit": "~8.2.0",
|
|
70
73
|
"ts-jest": "^29.1.0",
|
|
71
|
-
"type-plus": "^6.
|
|
72
|
-
"typescript": "^5.0.
|
|
73
|
-
"@just-web/app": "^7.
|
|
74
|
-
"@just-web/commands": "^7.
|
|
75
|
-
"@just-web/keyboard": "^7.
|
|
76
|
-
"@just-web/repo-scripts": "^0.2.
|
|
74
|
+
"type-plus": "^6.7.0",
|
|
75
|
+
"typescript": "^5.0.4",
|
|
76
|
+
"@just-web/app": "^7.1.0",
|
|
77
|
+
"@just-web/commands": "^7.1.0",
|
|
78
|
+
"@just-web/keyboard": "^7.1.0",
|
|
79
|
+
"@just-web/repo-scripts": "^0.2.1"
|
|
77
80
|
},
|
|
78
81
|
"peerDependencies": {
|
|
79
|
-
"@just-web/app": "^7.
|
|
80
|
-
"@just-web/commands": "^7.
|
|
81
|
-
"@just-web/keyboard": "^7.
|
|
82
|
+
"@just-web/app": "^7.1.0",
|
|
83
|
+
"@just-web/commands": "^7.1.0",
|
|
84
|
+
"@just-web/keyboard": "^7.1.0"
|
|
82
85
|
},
|
|
83
86
|
"peerDependenciesMeta": {
|
|
84
87
|
"@just-web/keyboard": {
|