Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beyond-js/kernel

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beyond-js/kernel - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

bundle/bundle.sjs.js

@@ -130,3 +130,3 @@ System.register([], function (_export, _context) {

} else {
return _context.import(`${resource + (version ? `?version=${version}` : '')}`);
return (specifier => new Promise(r => r(_context.import(`${specifier}`))))(resource + (version ? `?version=${version}` : ''));
}

@@ -133,0 +133,0 @@ }

@@ -10,3 +10,3 @@ define(["exports"], function (_exports) {

"package": "@beyond-js/kernel",
"version": "0.1.4",
"version": "0.1.6",
"languages": {

@@ -13,0 +13,0 @@ "supported": [],

@@ -9,3 +9,3 @@ "use strict";

"package": "@beyond-js/kernel",
"version": "0.1.4",
"version": "0.1.6",
"languages": {

@@ -12,0 +12,0 @@ "supported": [],

@@ -9,3 +9,3 @@ System.register([], function (_export, _context) {

"package": "@beyond-js/kernel",
"version": "0.1.4",
"version": "0.1.6",
"languages": {

@@ -12,0 +12,0 @@ "supported": [],

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle"], function (_exports, _amd_module, dependency_0) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/core"
"vspecifier": "@beyond-js/kernel@0.1.6/core"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -13,3 +13,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/core"
"vspecifier": "@beyond-js/kernel@0.1.6/core"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -25,3 +25,3 @@ System.register(["@beyond-js/kernel/bundle"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/core"
"vspecifier": "@beyond-js/kernel@0.1.6/core"
},

@@ -28,0 +28,0 @@ "type": "ts"

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle"], function (_exports, _amd_module, dependency_0) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/error"
"vspecifier": "@beyond-js/kernel@0.1.6/error"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -13,3 +13,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/error"
"vspecifier": "@beyond-js/kernel@0.1.6/error"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -15,3 +15,3 @@ System.register(["@beyond-js/kernel/bundle"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/error"
"vspecifier": "@beyond-js/kernel@0.1.6/error"
},

@@ -18,0 +18,0 @@ "type": "ts"

{
"name": "@beyond-js/kernel",
"version": "0.1.5",
"version": "0.1.6",
"license": "MIT",

@@ -101,4 +101,7 @@ "keywords": [],

"dependencies": {},
"devDependencies": {
"@types/node": "^18.11.18"
},
"uimport": true,
"clientDependencies": []
}

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_exports, _amd_module, dependency_0, dependency_1) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/routing"
"vspecifier": "@beyond-js/kernel@0.1.6/routing"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -14,3 +14,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/routing"
"vspecifier": "@beyond-js/kernel@0.1.6/routing"
},

@@ -17,0 +17,0 @@ "type": "ts"

@@ -21,3 +21,3 @@ System.register(["@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/routing"
"vspecifier": "@beyond-js/kernel@0.1.6/routing"
},

@@ -24,0 +24,0 @@ "type": "ts"

@@ -66,2 +66,14 @@ import {Events} from '@beyond-js/kernel/core';

let {uri} = this.#bundle;
/**
* validate if the uri belongs to the CDN
*/
const regexp = new RegExp('^https?://cdn.beyondjs.com', 'i');
if (regexp.test(uri)) {
const {origin, searchParams} = new URL(uri);
const version = searchParams.has('version') ? `&version=${searchParams.get('version')}` : '';
return origin + '?css' + version;
}
uri = uri.slice(0, uri.length - 3); // Remove the .js extension

@@ -68,0 +80,0 @@ return `${uri}.css`;

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_exports, _amd_module, dependency_0, dependency_1) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/styles"
"vspecifier": "@beyond-js/kernel@0.1.6/styles"
},

@@ -190,3 +190,3 @@ "type": "ts"

ims.set('./v1', {
hash: 3449853183,
hash: 287061548,
creator: function (require, exports) {

@@ -258,2 +258,14 @@ "use strict";

} = this.#bundle;
/**
* validate if the uri belongs to the CDN
*/
const regexp = new RegExp('^https?://cdn.beyondjs.com', 'i');
if (regexp.test(uri)) {
const {
origin,
searchParams
} = new URL(uri);
const version = searchParams.has('version') ? `&version=${searchParams.get('version')}` : '';
return origin + '?css' + version;
}
uri = uri.slice(0, uri.length - 3); // Remove the .js extension

@@ -260,0 +272,0 @@ return `${uri}.css`;

@@ -14,3 +14,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/styles"
"vspecifier": "@beyond-js/kernel@0.1.6/styles"
},

@@ -191,3 +191,3 @@ "type": "ts"

ims.set('./v1', {
hash: 3449853183,
hash: 287061548,
creator: function (require, exports) {

@@ -259,2 +259,14 @@ "use strict";

} = this.#bundle;
/**
* validate if the uri belongs to the CDN
*/
const regexp = new RegExp('^https?://cdn.beyondjs.com', 'i');
if (regexp.test(uri)) {
const {
origin,
searchParams
} = new URL(uri);
const version = searchParams.has('version') ? `&version=${searchParams.get('version')}` : '';
return origin + '?css' + version;
}
uri = uri.slice(0, uri.length - 3); // Remove the .js extension

@@ -261,0 +273,0 @@ return `${uri}.css`;

@@ -22,3 +22,3 @@ System.register(["@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/styles"
"vspecifier": "@beyond-js/kernel@0.1.6/styles"
},

@@ -197,3 +197,3 @@ "type": "ts"

ims.set('./v1', {
hash: 3449853183,
hash: 287061548,
creator: function (require, exports) {

@@ -265,2 +265,14 @@ "use strict";

} = this.#bundle;
/**
* validate if the uri belongs to the CDN
*/
const regexp = new RegExp('^https?://cdn.beyondjs.com', 'i');
if (regexp.test(uri)) {
const {
origin,
searchParams
} = new URL(uri);
const version = searchParams.has('version') ? `&version=${searchParams.get('version')}` : '';
return origin + '?css' + version;
}
uri = uri.slice(0, uri.length - 3); // Remove the .js extension

@@ -267,0 +279,0 @@ return `${uri}.css`;

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_exports, _amd_module, dependency_0, dependency_1) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/texts"
"vspecifier": "@beyond-js/kernel@0.1.6/texts"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -14,3 +14,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/texts"
"vspecifier": "@beyond-js/kernel@0.1.6/texts"
},

@@ -17,0 +17,0 @@ "type": "ts"

@@ -21,3 +21,3 @@ System.register(["@beyond-js/kernel/bundle", "@beyond-js/kernel/core"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/texts"
"vspecifier": "@beyond-js/kernel@0.1.6/texts"
},

@@ -24,0 +24,0 @@ "type": "ts"

@@ -13,3 +13,3 @@ define(["exports", "module", "@beyond-js/kernel/bundle"], function (_exports, _amd_module, dependency_0) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/transversals"
"vspecifier": "@beyond-js/kernel@0.1.6/transversals"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -13,3 +13,3 @@ "use strict";

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/transversals"
"vspecifier": "@beyond-js/kernel@0.1.6/transversals"
},

@@ -16,0 +16,0 @@ "type": "ts"

@@ -16,3 +16,3 @@ System.register(["@beyond-js/kernel/bundle"], function (_export, _context) {

"module": {
"vspecifier": "@beyond-js/kernel@0.1.4/transversals"
"vspecifier": "@beyond-js/kernel@0.1.6/transversals"
},

@@ -19,0 +19,0 @@ "type": "ts"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc