@builder.io/react
Advanced tools
Comparing version 0.1.96-3 to 0.1.96-4
@@ -29,2 +29,3 @@ "use strict"; | ||
var mapValues_1 = require("lodash-es/mapValues"); | ||
var pick_1 = require("lodash-es/pick"); | ||
var BuilderPage = /** @class */ (function (_super) { | ||
@@ -74,3 +75,3 @@ __extends(BuilderPage, _super); | ||
get: function () { | ||
return __assign({}, location, { path: location.pathname.split('/').slice(1) }); | ||
return __assign({}, pick_1.default(location, 'pathname', 'hostname', 'search', 'host'), { path: location.pathname.split('/').slice(1) }); | ||
}, | ||
@@ -77,0 +78,0 @@ enumerable: true, |
@@ -15,15 +15,6 @@ import React from 'react'; | ||
path: string[]; | ||
hash: string; | ||
host: string; | ||
pathname: string; | ||
hostname: string; | ||
href: string; | ||
origin: string; | ||
pathname: string; | ||
port: string; | ||
protocol: string; | ||
search: string; | ||
assign(url: string): void; | ||
reload(forcedReload?: boolean | undefined): void; | ||
replace(url: string): void; | ||
toString(): string; | ||
host: string; | ||
}; | ||
@@ -30,0 +21,0 @@ static renderInto(elementOrSelector: string | HTMLElement, props?: BuilderPageProps): void | Element | React.Component<any, React.ComponentState, any>; |
{ | ||
"name": "@builder.io/react", | ||
"version": "0.1.96-3", | ||
"version": "0.1.96-4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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 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
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
3493743
24902