@digipair/skill-web-notification 0.61.0 → 0.63.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/index.cjs.js +9 -7
- package/index.esm.js +9 -7
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -23921,14 +23921,14 @@ function indent(str, spaces) {
|
|
|
23921
23921
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23922
23922
|
// match is required
|
|
23923
23923
|
if (!match) {
|
|
23924
|
-
return
|
|
23924
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
23925
23925
|
v: nextMatch1
|
|
23926
23926
|
};
|
|
23927
23927
|
}
|
|
23928
23928
|
var token = match.token, offset = match.offset;
|
|
23929
23929
|
i1 += offset;
|
|
23930
23930
|
if (token === " ") {
|
|
23931
|
-
return
|
|
23931
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23932
23932
|
}
|
|
23933
23933
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23934
23934
|
token
|
|
@@ -23947,7 +23947,7 @@ function indent(str, spaces) {
|
|
|
23947
23947
|
if (contextKeys.some(function(el) {
|
|
23948
23948
|
return el.startsWith(name);
|
|
23949
23949
|
})) {
|
|
23950
|
-
return
|
|
23950
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23951
23951
|
}
|
|
23952
23952
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23953
23953
|
return el === name;
|
|
@@ -23966,9 +23966,9 @@ function indent(str, spaces) {
|
|
|
23966
23966
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23967
23967
|
return el.startsWith(name);
|
|
23968
23968
|
})) {
|
|
23969
|
-
return
|
|
23969
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
|
|
23970
23970
|
}
|
|
23971
|
-
return
|
|
23971
|
+
return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
|
|
23972
23972
|
v: nextMatch1
|
|
23973
23973
|
};
|
|
23974
23974
|
};
|
|
@@ -27879,12 +27879,16 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27879
27879
|
var _settings_conditions, _settings_conditions1;
|
|
27880
27880
|
let settings = await preparePinsSettings(settingsOrigin, context);
|
|
27881
27881
|
const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
|
|
27882
|
+
const config = context.config || {};
|
|
27883
|
+
let version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27882
27884
|
if (alias) {
|
|
27883
27885
|
settings = await preparePinsSettings(_extends({}, settings, alias), {
|
|
27884
27886
|
settings: _extends({}, settings, {
|
|
27887
|
+
version,
|
|
27885
27888
|
library: settings.library.substring(alias.name.length + 1)
|
|
27886
27889
|
})
|
|
27887
27890
|
});
|
|
27891
|
+
version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27888
27892
|
}
|
|
27889
27893
|
if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
|
|
27890
27894
|
const results = [];
|
|
@@ -27925,8 +27929,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27925
27929
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
27926
27930
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
|
27927
27931
|
}
|
|
27928
|
-
const config = context.config || {};
|
|
27929
|
-
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27930
27932
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(isRemoteVersion.test(version) ? `${version}` : `${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
|
27931
27933
|
const pins = library == null ? void 0 : library[settings.element];
|
|
27932
27934
|
if (!pins) {
|
package/index.esm.js
CHANGED
|
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
|
|
|
23899
23899
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23900
23900
|
// match is required
|
|
23901
23901
|
if (!match) {
|
|
23902
|
-
return
|
|
23902
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23903
23903
|
v: nextMatch1
|
|
23904
23904
|
};
|
|
23905
23905
|
}
|
|
23906
23906
|
var token = match.token, offset = match.offset;
|
|
23907
23907
|
i1 += offset;
|
|
23908
23908
|
if (token === " ") {
|
|
23909
|
-
return
|
|
23909
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23910
23910
|
}
|
|
23911
23911
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23912
23912
|
token
|
|
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
|
|
|
23925
23925
|
if (contextKeys.some(function(el) {
|
|
23926
23926
|
return el.startsWith(name);
|
|
23927
23927
|
})) {
|
|
23928
|
-
return
|
|
23928
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23929
23929
|
}
|
|
23930
23930
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23931
23931
|
return el === name;
|
|
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
|
|
|
23944
23944
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23945
23945
|
return el.startsWith(name);
|
|
23946
23946
|
})) {
|
|
23947
|
-
return
|
|
23947
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23948
23948
|
}
|
|
23949
|
-
return
|
|
23949
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23950
23950
|
v: nextMatch1
|
|
23951
23951
|
};
|
|
23952
23952
|
};
|
|
@@ -27857,12 +27857,16 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27857
27857
|
var _settings_conditions, _settings_conditions1;
|
|
27858
27858
|
let settings = await preparePinsSettings(settingsOrigin, context);
|
|
27859
27859
|
const alias = _config.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
|
|
27860
|
+
const config = context.config || {};
|
|
27861
|
+
let version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27860
27862
|
if (alias) {
|
|
27861
27863
|
settings = await preparePinsSettings(_extends({}, settings, alias), {
|
|
27862
27864
|
settings: _extends({}, settings, {
|
|
27865
|
+
version,
|
|
27863
27866
|
library: settings.library.substring(alias.name.length + 1)
|
|
27864
27867
|
})
|
|
27865
27868
|
});
|
|
27869
|
+
version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27866
27870
|
}
|
|
27867
27871
|
if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
|
|
27868
27872
|
const results = [];
|
|
@@ -27903,8 +27907,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
27903
27907
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
27904
27908
|
throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
|
|
27905
27909
|
}
|
|
27906
|
-
const config = context.config || {};
|
|
27907
|
-
const version = (config.VERSIONS || {})[settings.library] || 'latest';
|
|
27908
27910
|
const library = _config.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await import(isRemoteVersion.test(version) ? `${version}` : `${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`));
|
|
27909
27911
|
const pins = library == null ? void 0 : library[settings.element];
|
|
27910
27912
|
if (!pins) {
|