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

@polymer/polymer

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polymer/polymer - npm Package Compare versions

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

test/.eslintignore

2

.github/ISSUE_TEMPLATE.md

@@ -13,3 +13,3 @@ <!--

<!-- jsBin starting point (fork and edit) -->
https://jsbin.com/luhaxab/1/edit
https://jsbin.com/luhaxab/edit
<!-- glitch.me starting point (remix and edit -- must be logged in to persist!) -->

@@ -16,0 +16,0 @@ https://glitch.com/edit/#!/polymer-repro?path=my-element.html:2:0

@@ -152,1 +152,12 @@ # Contributing to Polymer

information on configuring the tool.
### Viewing the source documentation locally
You can view the updates you make to the source documentation locally with the following steps.
Make sure to rerun step 1 after every change you make.
1. Run `polymer analyze > analysis.json`
1. Run `polymer serve`
1. Open `http://127.0.0.1:PORT/components/polymer/` to view the documentation

@@ -27,3 +27,3 @@ /**

const minimalDocument = require('./util/minimalDocument.js');
const dom5 = require('dom5');
const dom5 = require('dom5/lib/index-next');
const parse5 = require('parse5');

@@ -30,0 +30,0 @@ const replace = require('gulp-replace');

@@ -30,8 +30,8 @@ import '../../../../@webcomponents/shadycss/entrypoints/custom-style-interface.js';

*
* ```
* ```html
* <!-- import apply shim--only required if using mixins -->
* <link rel="import href="bower_components/shadycss/apply-shim.html">
* <link rel="import" href="bower_components/shadycss/apply-shim.html">
* <!-- import custom-style element -->
* <link rel="import" href="bower_components/polymer/lib/elements/custom-style.html">
* ...
*
* <custom-style>

@@ -38,0 +38,0 @@ * <style>

@@ -43,24 +43,26 @@ import { Element } from '../../polymer-element.js';

*
* <script>
* class EmployeeList extends Polymer.Element {
* static get is() { return 'employee-list'; }
* static get properties() {
* return {
* employees: {
* value() {
* return [
* {first: 'Bob', last: 'Smith'},
* {first: 'Sally', last: 'Johnson'},
* ...
* ];
* }
* }
* };
* }
* }
* < /script>
*
* </dom-module>
* ```
*
* With the following custom element definition:
*
* ```js
* class EmployeeList extends Polymer.Element {
* static get is() { return 'employee-list'; }
* static get properties() {
* return {
* employees: {
* value() {
* return [
* {first: 'Bob', last: 'Smith'},
* {first: 'Sally', last: 'Johnson'},
* ...
* ];
* }
* }
* };
* }
* }
* ```
*
* Notifications for changes to items sub-properties will be forwarded to template

@@ -67,0 +69,0 @@ * instances, which will update via the normal structured data notification system.

@@ -141,2 +141,3 @@ import '../../../../@webcomponents/shadycss/entrypoints/apply-shim.js';

* @override
* @suppress {invalidCasts}
*/

@@ -150,3 +151,3 @@ _initializeProperties() {

super._initializeProperties();
this.root = this;
this.root = /** @type {HTMLElement} */(this);
this.created();

@@ -153,0 +154,0 @@ }

@@ -529,2 +529,5 @@ import '../utils/boot.js';

*
* Note: This function does not support updating CSS mixins.
* You can not dynamically change the value of an `@apply`.
*
* @param {Object=} properties Bag of custom property key/values to

@@ -531,0 +534,0 @@ * apply to this element.

window.JSCompiler_renameProperty = function(prop, obj) { return prop; }
/** @namespace */
let Polymer;
/** @namespace Polymer */
let __PolymerBootstrap;
{
"name": "@polymer/polymer",
"flat": true,
"version": "3.0.0-pre.10",
"contributors": [
"The Polymer Authors (http://polymer.github.io/AUTHORS.txt)"
],
"description": "The Polymer library makes it easy to create your own web components. Give your element some markup and properties, and then use it on a site. Polymer provides features like dynamic templates and data binding to reduce the amount of boilerplate you need to write",
"repository": {

@@ -12,11 +7,54 @@ "type": "git",

},
"license": "BSD-3-Clause",
"dependencies": {
"@webcomponents/shadycss": "^1.0.0",
"@webcomponents/webcomponentsjs": "^1.0.0"
"homepage": "https://github.com/Polymer/polymer",
"name": "@polymer/polymer",
"version": "3.0.0-pre.11",
"main": "polymer.js",
"directories": {
"doc": "docs",
"test": "test"
},
"devDependencies": {
"@polymer/gen-closure-declarations": "^0.4.0",
"@polymer/gen-typescript-declarations": "^1.2.0",
"@webcomponents/shadycss": "^1.1.0",
"@webcomponents/webcomponentsjs": "^1.1.0",
"babel-preset-minify": "^0.2.0",
"del": "^3.0.0",
"dom5": "^3.0.0",
"eslint-plugin-html": "^4.0.1",
"fs-extra": "^5.0.0",
"google-closure-compiler": "^20180204.0.0",
"gulp": "^3.9.1",
"gulp-babel": "^6.1.2",
"gulp-eslint": "^4.0.0",
"gulp-if": "^2.0.1",
"gulp-replace": "^0.6.1",
"gulp-size": "^3.0.0",
"gulp-vulcanize": "^7.0.0",
"lazypipe": "^1.0.1",
"merge-stream": "^1.0.1",
"parse5": "^4.0.0",
"polymer-build": "^2.1.1",
"run-sequence": "^2.2.0",
"through2": "^2.0.0",
"web-component-tester": "^6.5.0",
"wct-browser-legacy": "0.0.1-pre.11",
"@polymer/test-fixture": "^3.0.0-pre.10"
"@polymer/test-fixture": "^3.0.0-pre.10",
"@polymer/iron-component-page": "^3.0.0-pre.10"
},
"scripts": {
"build": "gulp",
"test": "npm run lint && wct",
"lint": "gulp lint",
"version": "gulp update-version && git add lib/utils/boot.html",
"update-types": "gulp update-types"
},
"author": "The Polymer Project Authors",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/Polymer/polymer/issues"
},
"publishConfig": {
"access": "public"
},
"resolutions": {

@@ -27,3 +65,7 @@ "inherits": "2.0.3",

"type-detect": "1.0.0"
},
"dependencies": {
"@webcomponents/shadycss": "^1.0.0",
"@webcomponents/webcomponentsjs": "^1.0.0"
}
}

@@ -10,5 +10,4 @@ import { LegacyElementMixin } from './lib/legacy/legacy-element-mixin.js';

import './lib/legacy/mutable-data-behavior.js';
import './lib/utils/html-tag.js';
import { html as html$0 } from './polymer-element.js';
import { html as html$0 } from './lib/utils/html-tag.js';
export const Base = LegacyElementMixin(HTMLElement).prototype;
export { html$0 as html };

@@ -30,2 +30,5 @@ # Polymer

⁉️ **Looking to use Polymer with npm?** Polymer 1.x and 2.x both use `bower` for version management, but v3 and on will use `npm`. Please see our [v3 announcement](https://www.polymer-project.org/blog/2017-08-22-npm-modules.html) and [v3 hand-on](https://www.polymer-project.org/blog/2017-08-23-hands-on-30-preview.html) to use a preview version of v3.
Versions before 3.0 are also published to npm "as-is" and are generally unsupported. These packages are for advanced users who configure their own tooling to work around the differences between Bower and npm packages, like package folder layout.
## Overview

@@ -32,0 +35,0 @@

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