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

@builder.io/sdk

Package Overview
Dependencies
Maintainers
1
Versions
696
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builder.io/sdk - npm Package Compare versions

Comparing version 0.0.78 to 0.0.79

.rpt2_cache/29cd67cf21b4b02d45e3b23a4f7613686f321ac5/code/cache/6c61a45934fb7aa8b3c0b1c1bd1d2150daf79fbe

0

dist/clients/js/index.d.ts
import { Builder, BuilderComponent } from './src/builder.class';
export { Builder, BuilderComponent };
export declare const builder: Builder;

@@ -0,0 +0,0 @@ /// <reference types="virtual-dom" />

@@ -0,0 +0,0 @@ export declare class EventCapturer {

@@ -0,0 +0,0 @@ /// <reference types="virtual-dom" />

49

index.cjs.js

@@ -22,2 +22,25 @@ 'use strict';

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var __assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
var version = "2";

@@ -137,14 +160,2 @@

const __assign = Object.assign || function (target) {
for (var source, i = 1; i < arguments.length; i++) {
source = arguments[i];
for (var prop in source) {
if (Object.prototype.hasOwnProperty.call(source, prop)) {
target[prop] = source[prop];
}
}
}
return target;
};
// tslint:disable:no-increment-decrement

@@ -206,7 +217,7 @@ // CREDIT: adopted from https://raw.githubusercontent.com/marcelklehr/vdom-virtualize/master/index.js

for (var k = 0; k < atts.length; k++) {
var name = atts[k].name;
if (obj[name] || obj[attrBlacklist[name]]) {
var name_1 = atts[k].name;
if (obj[name_1] || obj[attrBlacklist[name_1]]) {
continue;
}
hash[name] = el.getAttribute(name);
hash[name_1] = el.getAttribute(name_1);
}

@@ -363,4 +374,4 @@ obj[propName] = hash;

for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
var event = _a[_i];
this.getElementForEvent(event).addEventListener(event, this.handleEvent, {
var event_1 = _a[_i];
this.getElementForEvent(event_1).addEventListener(event_1, this.handleEvent, {
capture: true,

@@ -377,4 +388,4 @@ passive: this.usePassive,

for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
var event = _a[_i];
this.getElementForEvent(event).removeEventListener(event, this.handleEvent);
var event_2 = _a[_i];
this.getElementForEvent(event_2).removeEventListener(event_2, this.handleEvent);
}

@@ -381,0 +392,0 @@ this.stopObservingMutations();

@@ -16,2 +16,25 @@ import uniqueSelector from 'unique-selector';

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var __assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
var version = "2";

@@ -131,14 +154,2 @@

const __assign = Object.assign || function (target) {
for (var source, i = 1; i < arguments.length; i++) {
source = arguments[i];
for (var prop in source) {
if (Object.prototype.hasOwnProperty.call(source, prop)) {
target[prop] = source[prop];
}
}
}
return target;
};
// tslint:disable:no-increment-decrement

@@ -200,7 +211,7 @@ // CREDIT: adopted from https://raw.githubusercontent.com/marcelklehr/vdom-virtualize/master/index.js

for (var k = 0; k < atts.length; k++) {
var name = atts[k].name;
if (obj[name] || obj[attrBlacklist[name]]) {
var name_1 = atts[k].name;
if (obj[name_1] || obj[attrBlacklist[name_1]]) {
continue;
}
hash[name] = el.getAttribute(name);
hash[name_1] = el.getAttribute(name_1);
}

@@ -357,4 +368,4 @@ obj[propName] = hash;

for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
var event = _a[_i];
this.getElementForEvent(event).addEventListener(event, this.handleEvent, {
var event_1 = _a[_i];
this.getElementForEvent(event_1).addEventListener(event_1, this.handleEvent, {
capture: true,

@@ -371,4 +382,4 @@ passive: this.usePassive,

for (var _i = 0, _a = this.events; _i < _a.length; _i++) {
var event = _a[_i];
this.getElementForEvent(event).removeEventListener(event, this.handleEvent);
var event_2 = _a[_i];
this.getElementForEvent(event_2).removeEventListener(event_2, this.handleEvent);
}

@@ -375,0 +386,0 @@ this.stopObservingMutations();

{
"name": "@builder.io/sdk",
"version": "0.0.77",
"version": "0.0.78",
"lockfileVersion": 1,

@@ -611,2 +611,13 @@ "requires": true,

},
"fs-extra": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz",
"integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==",
"dev": true,
"requires": {
"graceful-fs": "4.1.11",
"jsonfile": "4.0.0",
"universalify": "0.1.1"
}
},
"fwd-stream": {

@@ -675,2 +686,8 @@ "version": "1.0.4",

},
"graceful-fs": {
"version": "4.1.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
"dev": true
},
"hash-base": {

@@ -843,2 +860,11 @@ "version": "3.0.4",

},
"jsonfile": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
"integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",
"dev": true,
"requires": {
"graceful-fs": "4.1.11"
}
},
"jsonify": {

@@ -1541,2 +1567,32 @@ "version": "0.0.0",

},
"rollup-plugin-typescript2": {
"version": "0.13.0",
"resolved": "https://registry.npmjs.org/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.13.0.tgz",
"integrity": "sha512-E+NgtKWuT7QaQAjWz9KKFqC+aoBRR9HeiN/N2EJcAzGggqpcK+jLJGeqnyq+/g0ptaVQCzkyDGhqG0skSn4JHg==",
"dev": true,
"requires": {
"fs-extra": "5.0.0",
"resolve": "1.7.1",
"rollup-pluginutils": "2.0.1",
"tslib": "1.9.0"
},
"dependencies": {
"estree-walker": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.3.1.tgz",
"integrity": "sha1-5rGlHPcpJSTnI3wxLl/mZgwc4ao=",
"dev": true
},
"rollup-pluginutils": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.0.1.tgz",
"integrity": "sha1-fslbNXP2VDpGpkYb2afFRFJdD8A=",
"dev": true,
"requires": {
"estree-walker": "0.3.1",
"micromatch": "2.3.11"
}
}
}
},
"rollup-plugin-uglify": {

@@ -1633,2 +1689,8 @@ "version": "3.0.0",

},
"tslib": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.0.tgz",
"integrity": "sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==",
"dev": true
},
"typedarray": {

@@ -1672,2 +1734,8 @@ "version": "0.0.6",

},
"universalify": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz",
"integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=",
"dev": true
},
"url": {

@@ -1674,0 +1742,0 @@ "version": "0.11.0",

{
"name": "@builder.io/sdk",
"version": "0.0.78",
"browser": "dist/clients/js/index.umd.js",
"main": "dist/clients/js/index.cjs.js",
"module": "dist/clients/js/index.esm.js",
"version": "0.0.79",
"browser": "index.umd.js",
"main": "index.cjs.js",
"module": "index.esm.js",
"typings": "dist/clients/js/index.d.ts",

@@ -42,2 +42,3 @@ "scripts": {

"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-typescript2": "^0.13.0",
"rollup-plugin-uglify": "^3.0.0",

@@ -44,0 +45,0 @@ "typescript": "^2.6.2"

import * as ts from 'typescript';
import typescript from 'rollup-plugin-typescript';
import typescript from 'rollup-plugin-typescript2';
import builtins from 'rollup-plugin-node-builtins';

@@ -17,2 +17,3 @@ import commonjs from 'rollup-plugin-commonjs';

typescript: ts,
useTsconfigDeclarationDir: true,
}),

@@ -19,0 +20,0 @@ builtins(),

@@ -6,5 +6,6 @@ {

"rootDir": "../..",
"module": "commonjs",
"module": "esnext",
"strict": true,
"declaration": true,
"declarationDir": "dist",
"lib": ["dom", "es6"],

@@ -11,0 +12,0 @@ "typeRoots": ["./node_modules/@types"]

Sorry, the diff of this file is too big to display

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