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

@polymer/iron-location

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/iron-location - npm Package Compare versions

Comparing version 3.0.0-pre.10 to 3.0.0-pre.11

test/index.html

16

iron-location.js

@@ -107,2 +107,15 @@ import '../polymer/polymer.js';

/**
* A flag that specifies whether the spaces in query that would normally be encoded as %20 should be
* encoded as +.
*
* Given an example text "hello world", it is encoded in query as
* - "hello%20world" without the parameter
* - "hello+world" with the parameter
*/
encodeSpaceAsPlusInQuery: {
type: Boolean,
value: false
},
/**
* urlSpaceRegex, but coerced into a regexp.

@@ -183,2 +196,5 @@ *

partiallyEncodedQuery = '?' + this.query.replace(/\#/g, '%23');
if(this.encodeSpaceAsPlusInQuery) {
partiallyEncodedQuery = partiallyEncodedQuery.replace(/\+/g, '%2B').replace(/ /g, '+').replace(/%20/g, '+');
}
}

@@ -185,0 +201,0 @@ var partiallyEncodedHash = '';

3

iron-query-params.js
import '../polymer/polymer.js';
import { Polymer } from '../polymer/lib/legacy/polymer-fn.js';
/**

@@ -14,4 +15,2 @@ @license

*/
'use strict';
Polymer({

@@ -18,0 +17,0 @@ is: 'iron-query-params',

{
"name": "@polymer/iron-location",
"flat": true,
"version": "3.0.0-pre.10",
"description": "Bidirectional data binding into the page's URL.",
"contributors": [
"The Polymer Authors"
],
"keywords": [

@@ -18,8 +12,8 @@ "web-components",

},
"homepage": "https://github.com/PolymerElements/iron-location",
"name": "@polymer/iron-location",
"license": "BSD-3-Clause",
"homepage": "https://github.com/PolymerElements/iron-location",
"dependencies": {
"@polymer/polymer": "^3.0.0-pre.10"
},
"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.2.0",
"bower": "^1.8.0",
"@polymer/iron-flex-layout": "^3.0.0-pre.10",

@@ -33,2 +27,6 @@ "@polymer/iron-demo-helpers": "^3.0.0-pre.10",

},
"scripts": {
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
},
"version": "3.0.0-pre.11",
"resolutions": {

@@ -39,3 +37,7 @@ "inherits": "2.0.3",

"type-detect": "1.0.0"
},
"author": "The Polymer Authors",
"dependencies": {
"@polymer/polymer": "^3.0.0-pre.10"
}
}
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