snack-sdk 6.5.0 → 6.6.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/build/DependencyResolver.d.ts +1 -1
- package/build/DependencyResolver.js +25 -23
- package/build/DependencyResolver.js.map +1 -1
- package/build/DevSession.js +10 -9
- package/build/DevSession.js.map +1 -1
- package/build/FileUploader.d.ts +2 -2
- package/build/FileUploader.js +7 -7
- package/build/FileUploader.js.map +1 -1
- package/build/Logger.d.ts +1 -1
- package/build/Logger.js +9 -8
- package/build/Logger.js.map +1 -1
- package/build/Session.d.ts +4 -4
- package/build/Session.js +51 -43
- package/build/Session.js.map +1 -1
- package/build/State.d.ts +1 -1
- package/build/State.js +2 -2
- package/build/State.js.map +1 -1
- package/build/WantedVersions.d.ts +2 -1
- package/build/WantedVersions.js +5 -4
- package/build/WantedVersions.js.map +1 -1
- package/build/defaultConfig.js +1 -1
- package/build/defaultConfig.js.map +1 -1
- package/build/index.d.ts +2 -1
- package/build/index.js +8 -2
- package/build/index.js.map +1 -1
- package/build/transports/CodeMessageBuilder.d.ts +2 -2
- package/build/transports/CodeMessageBuilder.js +5 -3
- package/build/transports/CodeMessageBuilder.js.map +1 -1
- package/build/transports/ConnectionMetricsEmitter.d.ts +2 -2
- package/build/transports/ConnectionMetricsEmitter.js.map +1 -1
- package/build/transports/Protocol.d.ts +11 -11
- package/build/transports/TransportImplBase.js +3 -3
- package/build/transports/TransportImplBase.js.map +1 -1
- package/build/transports/TransportImplPubNub.js +4 -2
- package/build/transports/TransportImplPubNub.js.map +1 -1
- package/build/transports/TransportImplSocketIO.js +4 -2
- package/build/transports/TransportImplSocketIO.js.map +1 -1
- package/build/transports/TransportImplWebPlayer.js +7 -5
- package/build/transports/TransportImplWebPlayer.js.map +1 -1
- package/build/transports/index.js +5 -1
- package/build/transports/index.js.map +1 -1
- package/build/transports/types.d.ts +14 -14
- package/build/transports/webPlayer.js +1 -1
- package/build/transports/webPlayer.js.map +1 -1
- package/build/types.d.ts +9 -9
- package/build/utils.d.ts +6 -2
- package/build/utils.js +25 -11
- package/build/utils.js.map +1 -1
- package/package.json +6 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webPlayer.js","sourceRoot":"","sources":["../../src/transports/webPlayer.ts"],"names":[],"mappings":";;;;;;AAEA,oFAA8D;AAI9D,SAAgB,wBAAwB,CAAC,MAMxC;IACC,OAAO,IAAI,gCAAsB,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC;AARD,4DAQC;AAED,SAAgB,qBAAqB,CACnC,YAAoB,EACpB,UAAsB,EACtB,UAAkB,EAClB,OAAgB;IAEhB,IAAI,UAAU,GAAG,QAAQ,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAC1D,OAAO,SAAS,CAAC;KAClB;IAED,
|
|
1
|
+
{"version":3,"file":"webPlayer.js","sourceRoot":"","sources":["../../src/transports/webPlayer.ts"],"names":[],"mappings":";;;;;;AAEA,oFAA8D;AAI9D,SAAgB,wBAAwB,CAAC,MAMxC;IACC,OAAO,IAAI,gCAAsB,CAAC,MAAM,CAAC,CAAC;AAC5C,CAAC;AARD,4DAQC;AAED,SAAgB,qBAAqB,CACnC,YAAoB,EACpB,UAAsB,EACtB,UAAkB,EAClB,OAAgB;IAEhB,IAAI,UAAU,GAAG,QAAQ,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAC1D,OAAO,SAAS,CAAC;KAClB;IAED,OAAO,UAAG,YAAY,CAAC,OAAO,CAC5B,iBAAiB,EACjB,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CACzB,oCAA0B,kBAAkB,CAAC,UAAU,CAAC,qBAAW,kBAAkB,CACpF,MAAM,CAAC,QAAQ,CAAC,MAAM,CACvB,sBAAY,OAAO,CAAE,CAAC;AACzB,CAAC;AAhBD,sDAgBC","sourcesContent":["import { SDKVersion } from 'snack-content';\n\nimport TransportImplWebPlayer from './TransportImplWebPlayer';\nimport { SnackTransport } from './types';\nimport { SnackWindowRef } from '../types';\n\nexport function createWebPlayerTransport(config: {\n name?: string;\n verbose?: boolean;\n webPlayerURL: string;\n window: Window;\n ref: SnackWindowRef;\n}): SnackTransport {\n return new TransportImplWebPlayer(config);\n}\n\nexport function getWebPlayerIFrameURL(\n webPlayerURL: string,\n sdkVersion: SDKVersion,\n initialURL: string,\n verbose: boolean,\n) {\n if (sdkVersion < '40.0.0' || typeof window === 'undefined') {\n return undefined;\n }\n\n return `${webPlayerURL.replace(\n '%%SDK_VERSION%%',\n sdkVersion.split('.')[0],\n )}/index.html?initialUrl=${encodeURIComponent(initialURL)}&origin=${encodeURIComponent(\n window.location.origin,\n )}&verbose=${verbose}`;\n}\n"]}
|
package/build/types.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ export interface SnackError extends Error {
|
|
|
8
8
|
lineNumber?: number;
|
|
9
9
|
columnNumber?: number;
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type SnackConnectedClientStatus = 'ok' | 'error' | 'reloading';
|
|
12
12
|
/**
|
|
13
13
|
* Client which connected to the Snack.
|
|
14
14
|
*
|
|
15
15
|
* Clients are only able to connect when the Snack is `online`.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type SnackConnectedClient = {
|
|
18
18
|
transport: string;
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
@@ -27,39 +27,39 @@ export declare type SnackConnectedClient = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Collection of connected clients.
|
|
29
29
|
*/
|
|
30
|
-
export
|
|
30
|
+
export type SnackConnectedClients = {
|
|
31
31
|
[key: string]: SnackConnectedClient;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* User that is used for communicating with the Expo servers.
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export type SnackUser = {
|
|
37
37
|
sessionSecret?: string;
|
|
38
38
|
accessToken?: string;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Request data to be used with the `sendBeacon` API.
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type SnackSendBeaconRequest = {
|
|
44
44
|
url: string;
|
|
45
45
|
data: any;
|
|
46
46
|
};
|
|
47
|
-
export
|
|
47
|
+
export type SnackListenerSubscription = () => any;
|
|
48
48
|
/**
|
|
49
49
|
* Log data for when a connected client calls one of the
|
|
50
50
|
* `console.[log,info,warn,error]` to log information to the
|
|
51
51
|
* console.
|
|
52
52
|
*/
|
|
53
|
-
export
|
|
53
|
+
export type SnackLogEvent = {
|
|
54
54
|
type: 'error' | 'warn' | 'log' | 'info';
|
|
55
55
|
message: string;
|
|
56
56
|
connectedClient?: SnackConnectedClient;
|
|
57
57
|
error?: SnackError;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type SnackWindowRef = {
|
|
60
60
|
current: Window | null;
|
|
61
61
|
};
|
|
62
|
-
export
|
|
62
|
+
export type SnackState = {
|
|
63
63
|
/**
|
|
64
64
|
* Expo SDK version.
|
|
65
65
|
*/
|
package/build/utils.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { SDKVersion } from 'snack-content';
|
|
2
2
|
import { SnackError, SnackUser } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Stable reference to the fetch function that is used internally.
|
|
5
|
+
*/
|
|
6
|
+
declare const internalFetch: typeof fetch;
|
|
7
|
+
export { internalFetch as fetch };
|
|
8
|
+
export declare function setSnackSDKFetch(fn: typeof fetch): void;
|
|
5
9
|
export declare function createChannel(channel?: string): string;
|
|
6
10
|
export declare function createURL(endpoint: string, sdkVersion: SDKVersion, channel?: string, id?: string): string;
|
|
7
11
|
export declare function createError(config: {
|
package/build/utils.js
CHANGED
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createUserHeader = exports.createError = exports.createURL = exports.createChannel = exports.fetch = void 0;
|
|
7
|
-
var fetch_ponyfill_1 = __importDefault(require("fetch-ponyfill"));
|
|
3
|
+
exports.createUserHeader = exports.createError = exports.createURL = exports.createChannel = exports.setSnackSDKFetch = exports.fetch = void 0;
|
|
8
4
|
var nanoid_1 = require("nanoid");
|
|
9
5
|
var snack_content_1 = require("snack-content");
|
|
10
|
-
var
|
|
11
|
-
|
|
6
|
+
var fetchFn;
|
|
7
|
+
/**
|
|
8
|
+
* Stable reference to the fetch function that is used internally.
|
|
9
|
+
*/
|
|
10
|
+
var internalFetch = function () {
|
|
11
|
+
var args = [];
|
|
12
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
13
|
+
args[_i] = arguments[_i];
|
|
14
|
+
}
|
|
15
|
+
if (!fetchFn) {
|
|
16
|
+
// intialize on first use to avoid breaking global polyfill from user's code (or test mocks)
|
|
17
|
+
fetchFn = globalThis.fetch;
|
|
18
|
+
}
|
|
19
|
+
return fetchFn.apply(void 0, args);
|
|
20
|
+
};
|
|
21
|
+
exports.fetch = internalFetch;
|
|
22
|
+
function setSnackSDKFetch(fn) {
|
|
23
|
+
fetchFn = fn;
|
|
24
|
+
}
|
|
25
|
+
exports.setSnackSDKFetch = setSnackSDKFetch;
|
|
12
26
|
/**
|
|
13
27
|
* All valid characters to generate a new channel ID.
|
|
14
28
|
* Both `+` and `-` are used as delimiters in the classic updates URL.
|
|
15
29
|
* In the new URL format, we prefer URL/sub-domain safe characters.
|
|
16
30
|
*/
|
|
17
31
|
var VALID_CHANNEL_CHARS = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
|
|
18
|
-
var generateChannel = nanoid_1.customAlphabet(VALID_CHANNEL_CHARS, 10);
|
|
32
|
+
var generateChannel = (0, nanoid_1.customAlphabet)(VALID_CHANNEL_CHARS, 10);
|
|
19
33
|
function createChannel(channel) {
|
|
20
34
|
channel = channel !== null && channel !== void 0 ? channel : generateChannel();
|
|
21
35
|
if (channel.length < 6) {
|
|
@@ -27,14 +41,14 @@ function createChannel(channel) {
|
|
|
27
41
|
for (var _i = 0, channel_1 = channel; _i < channel_1.length; _i++) {
|
|
28
42
|
var char = channel_1[_i];
|
|
29
43
|
if (VALID_CHANNEL_CHARS.indexOf(char) < 0) {
|
|
30
|
-
throw new Error("Channel id contains an invalid character \""
|
|
44
|
+
throw new Error("Channel id contains an invalid character \"".concat(char, "\", only \"[0-9a-zA-Z]\" are allowed"));
|
|
31
45
|
}
|
|
32
46
|
}
|
|
33
47
|
return channel;
|
|
34
48
|
}
|
|
35
49
|
exports.createChannel = createChannel;
|
|
36
50
|
function createURL(endpoint, sdkVersion, channel, id) {
|
|
37
|
-
return snack_content_1.createRuntimeUrl({ endpoint: endpoint, channel: channel, sdkVersion: sdkVersion, snack: id });
|
|
51
|
+
return (0, snack_content_1.createRuntimeUrl)({ endpoint: endpoint, channel: channel, sdkVersion: sdkVersion, snack: id });
|
|
38
52
|
}
|
|
39
53
|
exports.createURL = createURL;
|
|
40
54
|
function createError(config) {
|
|
@@ -57,7 +71,7 @@ function createUserHeader(user) {
|
|
|
57
71
|
return { 'Expo-Session': user.sessionSecret };
|
|
58
72
|
}
|
|
59
73
|
if (user === null || user === void 0 ? void 0 : user.accessToken) {
|
|
60
|
-
return { Authorization: "Bearer "
|
|
74
|
+
return { Authorization: "Bearer ".concat(user.accessToken) };
|
|
61
75
|
}
|
|
62
76
|
return {};
|
|
63
77
|
}
|
package/build/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAAA,iCAAwC;AACxC,+CAA6D;AAI7D,IAAI,OAAqB,CAAC;AAE1B;;GAEG;AACH,IAAM,aAAa,GAAiB;IAAC,cAAO;SAAP,UAAO,EAAP,qBAAO,EAAP,IAAO;QAAP,yBAAO;;IAC1C,IAAI,CAAC,OAAO,EAAE;QACZ,4FAA4F;QAC5F,OAAO,GAAG,UAAU,CAAC,KAAK,CAAC;KAC5B;IAED,OAAO,OAAO,eAAI,IAAI,EAAE;AAC1B,CAAC,CAAC;AAEwB,8BAAK;AAE/B,SAAgB,gBAAgB,CAAC,EAAgB;IAC/C,OAAO,GAAG,EAAE,CAAC;AACf,CAAC;AAFD,4CAEC;AAED;;;;GAIG;AACH,IAAM,mBAAmB,GAAG,gEAAgE,CAAC;AAC7F,IAAM,eAAe,GAAG,IAAA,uBAAc,EAAC,mBAAmB,EAAE,EAAE,CAAC,CAAC;AAEhE,SAAgB,aAAa,CAAC,OAAgB;IAC5C,OAAO,GAAG,OAAO,aAAP,OAAO,cAAP,OAAO,GAAI,eAAe,EAAE,CAAC;IAEvC,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QACtB,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;KAC3E;IAED,IAAI,OAAO,CAAC,MAAM,GAAG,GAAG,EAAE;QACxB,MAAM,IAAI,KAAK,CAAC,yEAAyE,CAAC,CAAC;KAC5F;IAED,KAAmB,UAAO,EAAP,mBAAO,EAAP,qBAAO,EAAP,IAAO,EAAE;QAAvB,IAAM,IAAI,gBAAA;QACb,IAAI,mBAAmB,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;YACzC,MAAM,IAAI,KAAK,CACb,qDAA6C,IAAI,yCAAmC,CACrF,CAAC;SACH;KACF;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AApBD,sCAoBC;AAED,SAAgB,SAAS,CAAC,QAAgB,EAAE,UAAsB,EAAE,OAAgB,EAAE,EAAW;IAC/F,OAAO,IAAA,gCAAgB,EAAC,EAAE,QAAQ,UAAA,EAAE,OAAO,SAAA,EAAE,UAAU,YAAA,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;AACxE,CAAC;AAFD,8BAEC;AAED,SAAgB,WAAW,CAAC,MAO3B;IACC,IAAM,KAAK,GAAe,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACpD,IAAI,MAAM,CAAC,IAAI;QAAE,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;IAC1C,IAAI,MAAM,CAAC,QAAQ;QAAE,KAAK,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IACtD,IAAI,MAAM,CAAC,UAAU;QAAE,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;IAC5D,IAAI,MAAM,CAAC,YAAY;QAAE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;IAClE,IAAI,MAAM,CAAC,KAAK;QAAE,KAAK,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7C,OAAO,KAAK,CAAC;AACf,CAAC;AAfD,kCAeC;AAED,SAAgB,gBAAgB,CAAC,IAAgB;IAC/C,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,aAAa,EAAE;QACvB,OAAO,EAAE,cAAc,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC;KAC/C;IAED,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,EAAE;QACrB,OAAO,EAAE,aAAa,EAAE,iBAAU,IAAI,CAAC,WAAW,CAAE,EAAE,CAAC;KACxD;IAED,OAAO,EAAE,CAAC;AACZ,CAAC;AAVD,4CAUC","sourcesContent":["import { customAlphabet } from 'nanoid';\nimport { SDKVersion, createRuntimeUrl } from 'snack-content';\n\nimport { SnackError, SnackUser } from './types';\n\nlet fetchFn: typeof fetch;\n\n/**\n * Stable reference to the fetch function that is used internally.\n */\nconst internalFetch: typeof fetch = (...args) => {\n if (!fetchFn) {\n // intialize on first use to avoid breaking global polyfill from user's code (or test mocks)\n fetchFn = globalThis.fetch;\n }\n\n return fetchFn(...args);\n};\n\nexport { internalFetch as fetch };\n\nexport function setSnackSDKFetch(fn: typeof fetch) {\n fetchFn = fn;\n}\n\n/**\n * All valid characters to generate a new channel ID.\n * Both `+` and `-` are used as delimiters in the classic updates URL.\n * In the new URL format, we prefer URL/sub-domain safe characters.\n */\nconst VALID_CHANNEL_CHARS = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';\nconst generateChannel = customAlphabet(VALID_CHANNEL_CHARS, 10);\n\nexport function createChannel(channel?: string): string {\n channel = channel ?? generateChannel();\n\n if (channel.length < 6) {\n throw new Error('Please use a channel id with more characters (entropy)');\n }\n\n if (channel.length > 128) {\n throw new Error('Channel id too long, use a channel id thats shorter than 128 characters');\n }\n\n for (const char of channel) {\n if (VALID_CHANNEL_CHARS.indexOf(char) < 0) {\n throw new Error(\n `Channel id contains an invalid character \"${char}\", only \"[0-9a-zA-Z]\" are allowed`,\n );\n }\n }\n\n return channel;\n}\n\nexport function createURL(endpoint: string, sdkVersion: SDKVersion, channel?: string, id?: string) {\n return createRuntimeUrl({ endpoint, channel, sdkVersion, snack: id });\n}\n\nexport function createError(config: {\n message: string;\n name?: string;\n fileName?: string;\n lineNumber?: number;\n columnNumber?: number;\n stack?: string;\n}): SnackError {\n const error: SnackError = new Error(config.message);\n if (config.name) error.name = config.name;\n if (config.fileName) error.fileName = config.fileName;\n if (config.lineNumber) error.lineNumber = config.lineNumber;\n if (config.columnNumber) error.columnNumber = config.columnNumber;\n if (config.stack) error.stack = config.stack;\n return error;\n}\n\nexport function createUserHeader(user?: SnackUser): { [key: string]: string } {\n if (user?.sessionSecret) {\n return { 'Expo-Session': user.sessionSecret };\n }\n\n if (user?.accessToken) {\n return { Authorization: `Bearer ${user.accessToken}` };\n }\n\n return {};\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snack-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "The Expo Snack SDK",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -33,19 +33,18 @@
|
|
|
33
33
|
"author": "Expo <support@expo.dev>",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"volta": {
|
|
36
|
-
"node": "
|
|
36
|
+
"node": "22.21.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@expo/spawn-async": "^1.5.0",
|
|
40
40
|
"@koa/router": "^10.0.0",
|
|
41
41
|
"@types/diff": "^4.0.2",
|
|
42
|
-
"@types/jest": "^
|
|
42
|
+
"@types/jest": "^29.5.12",
|
|
43
43
|
"@types/koa": "^2.11.6",
|
|
44
44
|
"@types/koa-bodyparser": "^4.3.0",
|
|
45
45
|
"@types/koa__router": "^8.0.3",
|
|
46
46
|
"@types/lodash.isequal": "^4.5.5",
|
|
47
47
|
"@types/lodash.mapvalues": "^4.6.6",
|
|
48
|
-
"@types/node-fetch": "^2.5.7",
|
|
49
48
|
"@types/pubnub": "^7.2.0",
|
|
50
49
|
"@types/semver": "^7.3.4",
|
|
51
50
|
"@types/ua-parser-js": "^0.7.33",
|
|
@@ -53,25 +52,24 @@
|
|
|
53
52
|
"eslint": "^8.49.0",
|
|
54
53
|
"eslint-config-universe": "^12.0.0",
|
|
55
54
|
"form-data": "^3.0.0",
|
|
56
|
-
"jest": "^
|
|
55
|
+
"jest": "^29.7.0",
|
|
57
56
|
"jest-fetch-mock": "^3.0.3",
|
|
58
57
|
"koa": "^2.13.0",
|
|
59
58
|
"koa-bodyparser": "^4.3.0",
|
|
60
59
|
"prettier": "^3.0.3",
|
|
61
|
-
"ts-jest": "^
|
|
60
|
+
"ts-jest": "^29.1.2",
|
|
62
61
|
"typedoc": "^0.19.2",
|
|
63
62
|
"typedoc-plugin-markdown": "^3.0.11",
|
|
64
63
|
"typescript": "^4.1.2"
|
|
65
64
|
},
|
|
66
65
|
"dependencies": {
|
|
67
66
|
"diff": "^4.0.2",
|
|
68
|
-
"fetch-ponyfill": "^7.0.0",
|
|
69
67
|
"lodash": "^4.17.20",
|
|
70
68
|
"nanoid": "^3.1.20",
|
|
71
69
|
"nullthrows": "^1.1.1",
|
|
72
70
|
"pubnub": "^7.2.0",
|
|
73
71
|
"semver": "^7.3.4",
|
|
74
|
-
"snack-content": "~3.
|
|
72
|
+
"snack-content": "~3.6.0",
|
|
75
73
|
"socket.io-client": "~4.5.4",
|
|
76
74
|
"ua-parser-js": "^0.7.22",
|
|
77
75
|
"validate-npm-package-name": "^3.0.0"
|