@krakenjs/post-robot
Advanced tools
Comparing version 10.0.46 to 11.0.0
@@ -6,5 +6,5 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("belter/src"); | ||
var _src2 = require("@krakenjs/belter/src"); | ||
@@ -11,0 +11,0 @@ var _conf = require("../conf"); |
@@ -6,7 +6,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -13,0 +13,0 @@ var _global = require("../global"); |
@@ -17,7 +17,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -24,0 +24,0 @@ var _conf = require("../conf"); |
@@ -12,5 +12,5 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
@@ -17,0 +17,0 @@ var _conf = require("../conf"); |
@@ -6,5 +6,5 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("belter/src"); | ||
var _src2 = require("@krakenjs/belter/src"); | ||
@@ -11,0 +11,0 @@ var _global = require("./global"); |
@@ -14,5 +14,5 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("belter/src"); | ||
var _src2 = require("@krakenjs/belter/src"); | ||
@@ -19,0 +19,0 @@ var _global = require("../global"); |
@@ -10,7 +10,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -17,0 +17,0 @@ var _conf = require("../../conf"); |
@@ -8,7 +8,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -15,0 +15,0 @@ var _conf = require("../../conf"); |
@@ -6,7 +6,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -13,0 +13,0 @@ var _serialize = require("../../serialize"); |
@@ -6,3 +6,3 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
@@ -9,0 +9,0 @@ var _conf = require("../../conf"); |
@@ -12,5 +12,5 @@ "use strict"; | ||
var _src = require("cross-domain-safe-weakmap/src"); | ||
var _src = require("@krakenjs/cross-domain-safe-weakmap/src"); | ||
var _src2 = require("belter/src"); | ||
var _src2 = require("@krakenjs/belter/src"); | ||
@@ -17,0 +17,0 @@ function getGlobalKey() { |
@@ -33,3 +33,3 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
@@ -36,0 +36,0 @@ exports.Promise = _src.ZalgoPromise; |
@@ -6,3 +6,3 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
@@ -9,0 +9,0 @@ function needsGlobalMessagingForBrowser() { |
@@ -9,7 +9,7 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("zalgo-promise/src"); | ||
var _src2 = require("@krakenjs/zalgo-promise/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -16,0 +16,0 @@ var _conf = require("../conf"); |
@@ -7,3 +7,3 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
@@ -10,0 +10,0 @@ var _drivers = require("../drivers"); |
@@ -6,7 +6,7 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("cross-domain-utils/src"); | ||
var _src2 = require("@krakenjs/cross-domain-utils/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
@@ -13,0 +13,0 @@ var _conf = require("../conf"); |
@@ -7,9 +7,9 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("zalgo-promise/src"); | ||
var _src2 = require("@krakenjs/zalgo-promise/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
var _src4 = require("universal-serialize/src"); | ||
var _src4 = require("@krakenjs/universal-serialize/src"); | ||
@@ -16,0 +16,0 @@ var _conf = require("../conf"); |
@@ -7,5 +7,5 @@ "use strict"; | ||
var _src = require("zalgo-promise/src"); | ||
var _src = require("@krakenjs/zalgo-promise/src"); | ||
var _src2 = require("universal-serialize/src"); | ||
var _src2 = require("@krakenjs/universal-serialize/src"); | ||
@@ -12,0 +12,0 @@ var _conf = require("../conf"); |
@@ -7,5 +7,5 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("universal-serialize/src"); | ||
var _src2 = require("@krakenjs/universal-serialize/src"); | ||
@@ -12,0 +12,0 @@ var _conf = require("../conf"); |
@@ -8,9 +8,9 @@ "use strict"; | ||
var _src = require("cross-domain-utils/src"); | ||
var _src = require("@krakenjs/cross-domain-utils/src"); | ||
var _src2 = require("zalgo-promise/src"); | ||
var _src2 = require("@krakenjs/zalgo-promise/src"); | ||
var _src3 = require("belter/src"); | ||
var _src3 = require("@krakenjs/belter/src"); | ||
var _src4 = require("universal-serialize/src"); | ||
var _src4 = require("@krakenjs/universal-serialize/src"); | ||
@@ -17,0 +17,0 @@ var _conf = require("../conf"); |
{ | ||
"name": "@krakenjs/post-robot", | ||
"version": "10.0.46", | ||
"version": "11.0.0", | ||
"description": "Simple postMessage based server.", | ||
@@ -99,8 +99,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"belter": "^1.0.41", | ||
"cross-domain-safe-weakmap": "^1.0.1", | ||
"cross-domain-utils": "^2.0.0", | ||
"universal-serialize": "^1.0.4", | ||
"zalgo-promise": "^1.0.3" | ||
"@krakenjs/belter": "^2.0.0", | ||
"@krakenjs/cross-domain-safe-weakmap": "^2.0.0", | ||
"@krakenjs/cross-domain-utils": "^3.0.0", | ||
"@krakenjs/universal-serialize": "^2.0.0", | ||
"@krakenjs/zalgo-promise": "^2.0.0" | ||
} | ||
} |
/* @flow */ | ||
import { type ZalgoPromise } from 'zalgo-promise/src'; | ||
import { getParent, isWindowClosed, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { noop, uniqueID } from 'belter/src'; | ||
import { type ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { getParent, isWindowClosed, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { noop, uniqueID } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { MESSAGE_NAME, WILDCARD } from '../conf'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { isSameDomain, getOpener, getDomain, getFrameByName, assertSameDomain, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { noop } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { isSameDomain, getOpener, getDomain, getFrameByName, assertSameDomain, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { noop } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { getGlobal, windowStore } from '../global'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { getDomain, isSameDomain, isOpener, isSameTopWindow, matchDomain, getUserAgent, getDomainFromUrl, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { noop } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { getDomain, isSameDomain, isOpener, isSameTopWindow, matchDomain, getUserAgent, getDomainFromUrl, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { noop } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { BRIDGE_NAME_PREFIX } from '../conf'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { getDomain, getFrameByName, isWindowClosed, getDomainFromUrl, normalizeMockUrl, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { getDomain, getFrameByName, isWindowClosed, getDomainFromUrl, normalizeMockUrl, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -6,0 +6,0 @@ import { BRIDGE_TIMEOUT, MESSAGE_NAME } from '../conf'; |
/* @flow */ | ||
import { type CrossDomainWindowType, isWindowClosed } from 'cross-domain-utils/src'; | ||
import { noop } from 'belter/src'; | ||
import { type CrossDomainWindowType, isWindowClosed } from '@krakenjs/cross-domain-utils/src'; | ||
import { noop } from '@krakenjs/belter/src'; | ||
@@ -6,0 +6,0 @@ import { windowStore } from './global'; |
/* @flow */ | ||
import { type ZalgoPromise } from 'zalgo-promise/src'; | ||
import { matchDomain, type CrossDomainWindowType, type DomainMatcher } from 'cross-domain-utils/src'; | ||
import { isRegex, getOrSet, noop } from 'belter/src'; | ||
import { type ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { matchDomain, type CrossDomainWindowType, type DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
import { isRegex, getOrSet, noop } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { getWildcard, type WildCard, globalStore, windowStore } from '../global'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { isWindowClosed, type CrossDomainWindowType, getDomain, isSameTopWindow, PROTOCOL } from 'cross-domain-utils/src'; | ||
import { addEventListener, noop } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { isWindowClosed, type CrossDomainWindowType, getDomain, isSameTopWindow, PROTOCOL } from '@krakenjs/cross-domain-utils/src'; | ||
import { addEventListener, noop } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import type { Message } from '../types'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { getDomain, isWindowClosed, matchDomain, stringifyDomainPattern, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { noop, stringifyError, uniqueID } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { getDomain, isWindowClosed, matchDomain, stringifyDomainPattern, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { noop, stringifyError, uniqueID } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { MESSAGE_TYPE, MESSAGE_ACK, MESSAGE_NAME } from '../../conf'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { isWindowClosed, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { stringifyError, noop } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { isWindowClosed, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { stringifyError, noop } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { serializeMessage } from '../../serialize'; |
/* @flow */ | ||
import { isSameDomain, isSameTopWindow, isActuallySameDomain, getActualDomain, | ||
getDomain, type CrossDomainWindowType, PROTOCOL } from 'cross-domain-utils/src'; | ||
getDomain, type CrossDomainWindowType, PROTOCOL } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -6,0 +6,0 @@ import { SEND_STRATEGY, WILDCARD } from '../../conf'; |
/* @flow */ | ||
import { type CrossDomainWindowType, type SameDomainWindowType } from 'cross-domain-utils/src'; | ||
import { WeakMap } from 'cross-domain-safe-weakmap/src'; | ||
import { getOrSet, getCurrentScriptUID } from 'belter/src'; | ||
import { type CrossDomainWindowType, type SameDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { WeakMap } from '@krakenjs/cross-domain-safe-weakmap/src'; | ||
import { getOrSet, getCurrentScriptUID } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ export function getGlobalKey() : string { |
@@ -7,3 +7,3 @@ /* @flow */ | ||
export { ZalgoPromise as Promise } from 'zalgo-promise/src'; | ||
export { ZalgoPromise as Promise } from '@krakenjs/zalgo-promise/src'; | ||
@@ -10,0 +10,0 @@ export * from './types'; |
/* @flow */ | ||
import { getUserAgent } from 'cross-domain-utils/src'; | ||
import { getUserAgent } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -5,0 +5,0 @@ export function needsGlobalMessagingForBrowser() : boolean { |
/* @flow */ | ||
import { getAncestor, type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { uniqueID } from 'belter/src'; | ||
import { getAncestor, type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { uniqueID } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ import { MESSAGE_NAME, WILDCARD } from '../conf'; |
/* @flow */ | ||
import { type CrossDomainWindowType } from 'cross-domain-utils/src'; | ||
import { type CrossDomainWindowType } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -5,0 +5,0 @@ import { windowStore } from '../global'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
@@ -5,0 +5,0 @@ import { addRequestListener } from '../drivers'; |
/* @flow */ | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { isAncestor, isWindowClosed, getDomain, matchDomain, type CrossDomainWindowType, type DomainMatcher } from 'cross-domain-utils/src'; | ||
import { uniqueID, isRegex, noop, safeInterval, stringify, stringifyError } from 'belter/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { isAncestor, isWindowClosed, getDomain, matchDomain, type CrossDomainWindowType, type DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
import { uniqueID, isRegex, noop, safeInterval, stringify, stringifyError } from '@krakenjs/belter/src'; | ||
@@ -7,0 +7,0 @@ |
/* @flow */ | ||
import { matchDomain, getDomain, type CrossDomainWindowType, type DomainMatcher } from 'cross-domain-utils/src'; | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { uniqueID, isRegex, arrayFrom } from 'belter/src'; | ||
import { serializeType, type CustomSerializedType } from 'universal-serialize/src'; | ||
import { matchDomain, getDomain, type CrossDomainWindowType, type DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { uniqueID, isRegex, arrayFrom } from '@krakenjs/belter/src'; | ||
import { serializeType, type CustomSerializedType } from '@krakenjs/universal-serialize/src'; | ||
@@ -8,0 +8,0 @@ import { MESSAGE_NAME, WILDCARD, SERIALIZATION_TYPE } from '../conf'; |
/* @flow */ | ||
import { type CrossDomainWindowType, type DomainMatcher } from 'cross-domain-utils/src'; | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { serializeType, type CustomSerializedType, type Thenable } from 'universal-serialize/src'; | ||
import { type CrossDomainWindowType, type DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { serializeType, type CustomSerializedType, type Thenable } from '@krakenjs/universal-serialize/src'; | ||
@@ -7,0 +7,0 @@ import { SERIALIZATION_TYPE } from '../conf'; |
/* @flow */ | ||
import { type CrossDomainWindowType, isWindow, type DomainMatcher } from 'cross-domain-utils/src'; | ||
import { TYPE, serialize, deserialize, type Thenable } from 'universal-serialize/src'; | ||
import { type CrossDomainWindowType, isWindow, type DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
import { TYPE, serialize, deserialize, type Thenable } from '@krakenjs/universal-serialize/src'; | ||
@@ -6,0 +6,0 @@ import { SERIALIZATION_TYPE } from '../conf'; |
@@ -5,6 +5,6 @@ /* @flow */ | ||
import { isSameDomain, isWindowClosed, type CrossDomainWindowType, closeWindow, | ||
type DomainMatcher, getOpener, WINDOW_TYPE, isWindow, assertSameDomain, getFrameForWindow } from 'cross-domain-utils/src'; | ||
import { ZalgoPromise } from 'zalgo-promise/src'; | ||
import { uniqueID, memoizePromise, noop, submitForm } from 'belter/src'; | ||
import { serializeType, type CustomSerializedType } from 'universal-serialize/src'; | ||
type DomainMatcher, getOpener, WINDOW_TYPE, isWindow, assertSameDomain, getFrameForWindow } from '@krakenjs/cross-domain-utils/src'; | ||
import { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import { uniqueID, memoizePromise, noop, submitForm } from '@krakenjs/belter/src'; | ||
import { serializeType, type CustomSerializedType } from '@krakenjs/universal-serialize/src'; | ||
@@ -11,0 +11,0 @@ import { SERIALIZATION_TYPE, METHOD } from '../conf'; |
/* @flow */ | ||
import type { CrossDomainWindowType, DomainMatcher } from 'cross-domain-utils/src'; | ||
import type { CrossDomainWindowType, DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -5,0 +5,0 @@ import { initHello } from './lib'; |
/* @flow */ | ||
import type { ZalgoPromise } from 'zalgo-promise/src'; | ||
import type { CrossDomainWindowType, DomainMatcher } from 'cross-domain-utils/src'; | ||
import type { ZalgoPromise } from '@krakenjs/zalgo-promise/src'; | ||
import type { CrossDomainWindowType, DomainMatcher } from '@krakenjs/cross-domain-utils/src'; | ||
@@ -6,0 +6,0 @@ import type { ProxyWindow } from './serialize/window'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1169893
80
10079
1
+ Added@krakenjs/belter@^2.0.0
+ Added@krakenjs/belter@2.6.0(transitive)
+ Added@krakenjs/cross-domain-safe-weakmap@2.0.3(transitive)
+ Added@krakenjs/cross-domain-utils@3.1.0(transitive)
+ Added@krakenjs/universal-serialize@2.0.0(transitive)
+ Added@krakenjs/zalgo-promise@2.0.1(transitive)
- Removedbelter@^1.0.41
- Removedcross-domain-safe-weakmap@^1.0.1
- Removedcross-domain-utils@^2.0.0
- Removeduniversal-serialize@^1.0.4
- Removedzalgo-promise@^1.0.3
- Removedbelter@1.0.190(transitive)
- Removedcross-domain-safe-weakmap@1.0.29(transitive)
- Removedcross-domain-utils@2.0.38(transitive)
- Removeduniversal-serialize@1.0.10(transitive)
- Removedzalgo-promise@1.0.48(transitive)