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

@wework/ray-core

Package Overview
Dependencies
Maintainers
27
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wework/ray-core - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.0.5](https://github.com/wework/ray/compare/@wework/ray-core@1.0.4...@wework/ray-core@1.0.5) (2019-05-07)
**Note:** Version bump only for package @wework/ray-core
## [1.0.4](https://github.com/wework/ray/compare/@wework/ray-core@1.0.3...@wework/ray-core@1.0.4) (2019-05-07)

@@ -8,0 +16,0 @@

16

es/global/js/boot.js
import * as components from '../../components';
function initializeAllComponents() {
export function initializeAllComponents() {
Object.keys(components).forEach(function (componentKey) {

@@ -12,9 +11,10 @@ var Component = components[componentKey];

}
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
export default function boot() {
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
}
}
}
import './global/js/polyfills';
import './global/js/boot';
import boot from './global/js/boot';
boot();
export * from './components';
{
"name": "@wework/ray-core",
"version": "1.0.4",
"version": "1.0.5",
"main": "umd/index.js",

@@ -77,3 +77,3 @@ "module": "es/index.js",

],
"gitHead": "2da7bbed02508de40976805d8a3059f99bb6191f",
"gitHead": "291e3a2b86b9fce4e6ba524dadd5701096a2b598",
"keywords": [

@@ -80,0 +80,0 @@ "wework",

@@ -538,11 +538,14 @@ this.Ray = this.Ray || {};

}
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
function boot() {
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
}
}
}
boot();
exports.Select = Select;

@@ -549,0 +552,0 @@ exports.TextArea = TextArea;

import * as components from '../../components';
function initializeAllComponents() {
export function initializeAllComponents() {
Object.keys(components).forEach(componentKey => {
const Component = components[componentKey];
if (Component.createAll) {

@@ -12,12 +13,14 @@ Component.createAll();

if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (
document.readyState === 'complete' ||
document.readyState === 'loaded' ||
document.readyState === 'interactive'
) {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
export default function boot() {
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (
document.readyState === 'complete' ||
document.readyState === 'loaded' ||
document.readyState === 'interactive'
) {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
}
}
}
import './global/js/polyfills';
import './global/js/boot';
import boot from './global/js/boot';
boot();
export * from './components';
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(["../../components"], factory);
define(["exports", "../../components"], factory);
} else if (typeof exports !== "undefined") {
factory(require("../../components"));
factory(exports, require("../../components"));
} else {

@@ -10,8 +10,13 @@ var mod = {

};
factory(global.components);
factory(mod.exports, global.components);
global.boot = mod.exports;
}
})(this, function (components) {
})(this, function (_exports, components) {
"use strict";
Object.defineProperty(_exports, "__esModule", {
value: true
});
_exports.initializeAllComponents = initializeAllComponents;
_exports.default = boot;
components = _interopRequireWildcard(components);

@@ -31,9 +36,11 @@

if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
function boot() {
if (typeof window !== 'undefined' && typeof document !== 'undefined') {
if (document.readyState === 'complete' || document.readyState === 'loaded' || document.readyState === 'interactive') {
initializeAllComponents();
} else {
window.addEventListener('DOMContentLoaded', initializeAllComponents);
}
}
}
});

@@ -19,2 +19,3 @@ (function (global, factory) {

});
_boot = _interopRequireDefault(_boot);
Object.keys(_components).forEach(function (key) {

@@ -29,2 +30,6 @@ if (key === "default" || key === "__esModule") return;

});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
(0, _boot.default)();
});

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