diff --git a/bower.json b/bower.json index f0b22f06bd..0dd998c13f 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "polymer", - "version": "1.6.1", + "version": "1.7.0", "main": [ "polymer.html", "polymer-mini.html", diff --git a/build.log b/build.log index 149dff6f7b..b10d62f58e 100644 --- a/build.log +++ b/build.log @@ -1,117 +1,127 @@ BUILD LOG --------- -Build Time: 2016-08-01T11:30:14-0700 +Build Time: 2016-09-28T12:22:02-0700 NODEJS INFORMATION ================== -nodejs: v6.3.1 -abbrev: 1.0.7 +nodejs: v6.6.0 +abbrev: 1.0.9 accepts: 1.3.3 -accessibility-developer-tools: 2.10.0 +accessibility-developer-tools: 2.11.0 +acorn: 4.0.3 acorn-jsx: 3.0.1 adm-zip: 0.4.7 after: 0.8.1 +ajv-keywords: 1.1.1 +ajv: 4.7.4 agent-base: 2.0.1 -align-text: 0.1.4 amdefine: 1.0.0 ansi-cyan: 0.1.1 ansi-escapes: 1.4.0 +align-text: 0.1.4 ansi-red: 0.1.1 ansi-regex: 2.0.0 -ansi-styles: 2.2.0 +ansi-styles: 2.2.1 ansi-wrap: 0.1.0 append-field: 0.1.0 -archiver: 0.14.4 archy: 1.0.0 argparse: 1.0.7 -arr-diff: 1.1.0 arr-flatten: 1.0.1 arr-union: 2.1.0 array-differ: 1.0.0 -array-find-index: 1.0.1 +arr-diff: 2.0.0 +archiver: 0.14.4 array-flatten: 1.1.1 +array-find-index: 1.0.1 array-slice: 0.2.3 +array-uniq: 1.0.3 array-union: 1.0.2 -array-uniq: 1.0.2 arraybuffer.slice: 0.0.6 +array-unique: 0.2.1 arrify: 1.0.1 -asap: 2.0.3 +asap: 2.0.5 asn1: 0.1.11 assert-plus: 0.1.5 -assertion-error: 1.0.2 async: 0.9.2 +asynckit: 0.4.0 aws-sign2: 0.5.0 +assertion-error: 1.0.2 +babel-polyfill: 6.13.0 aws4: 1.4.1 -babel-polyfill: 6.7.2 -babel-regenerator-runtime: 6.5.0 -babel-runtime: 5.8.35 -backo2: 1.0.2 +babel-runtime: 6.11.6 backoff: 2.5.0 -balanced-match: 0.3.0 -base64-js: 0.0.8 +balanced-match: 0.4.2 +backo2: 1.0.2 base64-arraybuffer: 0.1.2 +base64-js: 1.1.2 base64id: 0.1.0 +bcrypt-pbkdf: 1.0.0 beeper: 1.1.0 benchmark: 1.0.0 +binaryextensions: 1.0.1 better-assert: 1.0.2 -binaryextensions: 1.0.0 -bl: 0.9.5 blob: 0.0.4 -bluebird: 3.4.1 +bluebird: 2.11.0 +bl: 0.9.5 body-parser: 1.15.2 boom: 0.4.2 +brace-expansion: 1.1.6 +braces: 1.8.5 boxen: 0.3.1 -brace-expansion: 1.1.3 -browserstack: 1.5.0 buffer-crc32: 0.2.5 +buffer-shims: 1.0.0 bufferstreams: 1.1.1 -builtin-modules: 1.1.1 +browserstack: 1.5.0 +bunyan: 1.8.1 busboy: 0.2.13 bytes: 2.4.0 caller-path: 0.1.0 callsite: 1.0.0 callsites: 0.2.0 camelcase: 2.1.1 +builtin-modules: 1.1.1 camelcase-keys: 2.1.0 capture-stack-trace: 1.0.0 caseless: 0.8.0 center-align: 0.1.3 -chai: 3.5.0 -chalk: 1.1.1 +chalk: 1.1.3 circular-json: 0.3.1 cleankill: 1.0.3 -cli-cursor: 1.0.2 +chai: 3.5.0 cli-width: 2.1.0 cliui: 2.1.0 clone: 1.0.2 clone-stats: 0.0.1 +co: 4.6.0 +cli-cursor: 1.0.2 code-point-at: 1.0.0 -color-convert: 1.0.0 combined-stream: 0.0.7 -commander: 2.3.0 component-bind: 1.0.0 component-emitter: 1.1.2 -component-inherit: 0.0.3 +commander: 2.3.0 compress-commons: 0.2.9 concat-map: 0.0.1 -concat-stream: 1.5.1 -configstore: 2.0.0 +concat-stream: 1.5.2 +component-inherit: 0.0.3 content-disposition: 0.5.1 -content-type: 1.0.2 cookie: 0.3.1 +content-type: 1.0.2 cookie-signature: 1.0.6 -core-js: 2.2.0 +core-js: 2.4.1 core-util-is: 1.0.2 crc: 3.2.1 +configstore: 2.1.0 +create-error-class: 3.0.2 crc32-stream: 0.3.4 -create-error-class: 2.0.1 -cryptiles: 0.2.2 csv: 0.4.6 csv-generate: 0.0.6 csv-parse: 1.1.7 csv-stringify: 0.0.8 +cryptiles: 0.2.2 ctype: 0.5.3 +currently-unhandled: 0.4.1 d: 0.1.1 +dateformat: 1.0.12 dashdash: 1.14.0 debug: 2.2.0 debuglog: 1.0.1 @@ -120,180 +130,213 @@ deep-eql: 0.1.3 deep-extend: 0.4.1 deep-is: 0.1.3 defaults: 1.0.3 -del: 2.2.1 -delayed-stream: 0.0.5 +del: 2.2.2 depd: 1.1.0 deprecated: 0.0.1 +delayed-stream: 0.0.5 destroy: 1.0.4 +detect-file: 0.1.0 dezalgo: 1.0.3 dicer: 0.2.5 diff: 1.4.0 -doctrine: 1.2.2 -dom-serializer: 0.1.0 -dom5: 1.3.1 +doctrine: 1.4.0 +dom5: 1.3.6 domelementtype: 1.3.0 domhandler: 2.3.0 +dom-serializer: 0.1.0 domutils: 1.5.1 -dot-prop: 2.4.0 dtrace-provider: 0.6.0 duplexer: 0.1.1 duplexer2: 0.0.2 ecc-jsbn: 0.1.1 ee-first: 1.1.1 -encodeurl: 1.0.1 +dot-prop: 3.0.0 end-of-stream: 0.1.5 engine.io: 1.6.11 +encodeurl: 1.0.1 engine.io-client: 1.6.11 engine.io-parser: 1.2.4 entities: 1.1.1 +es5-ext: 0.10.12 error-ex: 1.3.0 -es5-ext: 0.10.11 -es6-iterator: 2.0.0 es6-map: 0.1.4 es6-promise: 2.3.0 es6-set: 0.1.4 -es6-symbol: 3.0.2 +es6-symbol: 3.1.0 es6-weak-map: 2.0.1 +es6-iterator: 2.0.0 escape-html: 1.0.3 -escape-regexp-component: 1.0.2 escape-string-regexp: 1.0.5 +escodegen: 1.8.1 escope: 3.6.0 -eslint-plugin-html: 1.5.1 -espree: 3.1.7 +eslint: 3.6.1 +escape-regexp-component: 1.0.2 +eslint-plugin-html: 1.5.3 +espree: 3.3.1 esrecurse: 4.1.0 estraverse: 4.2.0 esutils: 2.0.2 etag: 1.7.0 -event-emitter: 0.3.4 +esprima: 2.7.3 exit-hook: 1.1.1 +event-emitter: 0.3.4 +expand-range: 1.8.2 +expand-tilde: 1.2.2 express: 4.14.0 -extend: 2.0.1 +expand-brackets: 0.1.5 extend-shallow: 1.1.4 +extend: 3.0.0 extsprintf: 1.2.0 +extglob: 0.3.2 fancy-log: 1.2.0 -fast-levenshtein: 1.1.3 +fast-levenshtein: 2.0.4 fd-slicer: 1.0.1 -figures: 1.7.0 -file-entry-cache: 1.3.1 +file-entry-cache: 2.0.0 +filename-regex: 2.0.0 +fill-range: 2.2.3 filled-array: 1.1.0 -find-index: 0.1.1 finalhandler: 0.5.0 +find-index: 0.1.1 find-up: 1.1.2 +figures: 1.7.0 +findup-sync: 0.4.2 +fined: 1.0.1 first-chunk-stream: 1.0.0 -findup-sync: 0.3.0 -flagged-respawn: 0.3.1 -forever-agent: 0.5.2 +flagged-respawn: 0.3.2 flat-cache: 1.2.1 +for-own: 0.1.4 +forever-agent: 0.5.2 +for-in: 0.1.6 form-data: 0.2.0 formatio: 1.1.1 formidable: 1.0.17 forwarded: 0.1.0 -freeport: 1.0.5 fresh: 0.3.0 -fs.realpath: 1.0.0 +freeport: 1.0.5 gaze: 0.5.2 +fs.realpath: 1.0.0 generate-function: 2.0.0 generate-object-property: 1.2.0 -get-stdin: 4.0.1 +fs-exists-sync: 0.1.0 getpass: 0.1.6 github-url-from-git: 1.4.0 github-url-from-username-repo: 1.0.2 -glob: 7.0.5 +glob: 7.1.0 +get-stdin: 4.0.1 +glob-base: 0.3.0 +glob-parent: 2.0.0 glob-stream: 3.1.18 glob-watcher: 0.0.6 glob2base: 0.0.12 -globals: 9.9.0 +global-modules: 0.2.3 +globals: 9.10.0 globby: 5.0.0 globule: 0.1.0 +global-prefix: 0.1.4 glogg: 1.0.0 -got: 5.5.0 -graceful-fs: 4.1.3 +got: 5.6.0 +graceful-fs: 4.1.8 graceful-readlink: 1.0.1 growl: 1.9.2 +gulp: 3.9.1 gulp-audit: 1.0.0 -gulp-eslint: 2.1.0 +gulp-eslint: 3.0.1 gulp-rename: 1.2.2 gulp-replace: 0.5.4 gulp-util: 3.0.7 gulp-vulcanize: 6.1.0 -gulplog: 1.0.0 -handle-thing: 1.2.4 +handle-thing: 1.2.5 +har-validator: 2.0.6 has-ansi: 2.0.0 +gulplog: 1.0.0 has-binary: 0.1.7 has-color: 0.1.7 has-cors: 1.1.0 has-gulplog: 0.1.0 hoek: 0.9.1 -hpack.js: 2.1.4 -htmlparser2: 3.9.1 -hosted-git-info: 2.1.4 +hosted-git-info: 2.1.5 hawk: 1.1.1 +hpack.js: 2.1.6 +htmlparser2: 3.9.1 http-deceiver: 1.2.7 -http-errors: 1.5.0 http-signature: 0.11.0 -https-proxy-agent: 1.0.0 -hydrolysis: 1.23.1 +http-errors: 1.5.0 +hydrolysis: 1.24.1 iconv-lite: 0.4.13 -ignore: 3.1.3 +ignore: 3.1.5 imurmurhash: 0.1.4 -indent-string: 2.1.0 +https-proxy-agent: 1.0.0 indexof: 0.0.1 -inflight: 1.0.4 -inherits: 2.0.1 +inflight: 1.0.5 +inherits: 2.0.3 ini: 1.3.4 inquirer: 0.12.0 -interpret: 1.0.0 -ipaddr.js: 1.1.1 -is-absolute: 0.1.7 +indent-string: 2.1.0 +interpret: 1.0.1 +is-absolute: 0.2.5 is-arrayish: 0.2.1 -is-buffer: 1.1.3 +is-buffer: 1.1.4 is-builtin-module: 1.0.0 +is-dotfile: 1.0.2 +is-equal-shallow: 0.1.3 +is-extendable: 0.1.1 +is-extglob: 1.0.0 is-finite: 1.0.1 is-fullwidth-code-point: 1.0.0 -is-my-json-valid: 2.13.1 +is-glob: 2.0.1 +ipaddr.js: 1.1.1 +is-my-json-valid: 2.14.0 is-npm: 1.0.0 -is-obj: 1.0.0 -is-path-cwd: 1.0.0 +is-number: 2.1.0 +is-obj: 1.0.1 is-path-in-cwd: 1.0.0 is-path-inside: 1.0.0 is-plain-obj: 1.1.0 +is-path-cwd: 1.0.0 +is-posix-bracket: 0.1.1 +is-primitive: 2.0.0 is-property: 1.0.2 is-redirect: 1.0.0 -is-relative: 0.1.3 +is-relative: 0.2.1 is-resolvable: 1.0.0 -is-retry-allowed: 1.0.0 -is-stream: 1.0.1 +is-retry-allowed: 1.1.0 is-typedarray: 1.0.0 +is-stream: 1.1.0 +is-unc-path: 0.1.1 is-utf8: 0.2.1 +is-windows: 0.2.0 isarray: 1.0.0 isexe: 1.1.2 +isobject: 2.1.0 isstream: 0.1.2 istextorbinary: 1.0.2 +jade: 0.26.3 jju: 1.3.0 +js-yaml: 3.6.1 jodid25519: 1.0.2 jsbn: 0.1.0 json-parse-helpfulerror: 1.0.3 -json-schema: 0.2.2 +json-schema: 0.2.3 json-stable-stringify: 1.0.1 json-stringify-safe: 5.0.1 -json3: 3.2.6 jsonify: 0.0.0 jsonpointer: 2.0.0 -jsprim: 1.3.0 +jsprim: 1.3.1 +json3: 3.2.6 keep-alive-agent: 0.0.1 -kind-of: 1.1.0 +kind-of: 3.0.4 latest-version: 2.0.0 -launchpad: 0.5.3 -lazy-cache: 1.0.3 +lazy-cache: 1.0.4 lazypipe: 1.0.1 lazystream: 0.1.0 levn: 0.3.0 -liftoff: 2.2.0 +liftoff: 2.3.0 load-json-file: 1.1.0 lodash: 1.0.2 lodash._basecopy: 3.0.1 lodash._basetostring: 3.0.1 lodash._basevalues: 3.0.0 +launchpad: 0.5.4 lodash._getnative: 3.9.1 lodash._isiterateecall: 3.0.9 lodash._reescape: 3.0.0 @@ -301,56 +344,76 @@ lodash._reevaluate: 3.0.0 lodash._reinterpolate: 3.0.0 lodash._root: 3.0.1 lodash.escape: 3.2.0 -lodash.isarguments: 3.0.8 +lodash.isarguments: 3.1.0 lodash.isarray: 3.0.4 +lodash.isempty: 4.4.0 +lodash.assignwith: 4.2.0 +lodash.isstring: 4.0.1 lodash.keys: 3.1.2 +lodash.mapvalues: 4.6.0 +lodash.pick: 4.4.0 lodash.restparam: 3.6.1 lodash.template: 3.6.2 -lodash.templatesettings: 3.1.1 lolex: 1.3.2 +lodash.templatesettings: 3.1.1 +lodash.isplainobject: 4.0.6 longest: 1.0.1 -loud-rejection: 1.3.0 +loud-rejection: 1.6.0 lowercase-keys: 1.0.0 lru-cache: 2.7.3 +map-cache: 0.2.2 map-obj: 1.0.1 media-typer: 0.3.0 -meow: 3.7.0 merge-descriptors: 1.0.1 methods: 1.1.2 -mime-db: 1.23.0 -mime-types: 2.1.11 +meow: 3.7.0 +micromatch: 2.3.11 +mime: 1.3.4 +mime-db: 1.24.0 +mime-types: 2.1.12 minimalistic-assert: 1.0.0 -minimatch: 3.0.0 +minimatch: 3.0.3 minimist: 1.2.0 -moment: 2.14.1 +mkdirp: 0.5.1 ms: 0.7.1 +moment: 2.15.1 +multer: 1.2.0 multipipe: 0.1.2 -multer: 1.1.0 -mute-stream: 0.0.5 +mocha: 2.5.3 mv: 2.1.1 +mute-stream: 0.0.5 +natives: 1.1.0 nan: 2.4.0 +natural-compare: 1.4.0 negotiator: 0.6.1 node-int64: 0.3.3 +ncp: 2.0.0 +node-uuid: 1.4.7 node-status-codes: 1.0.0 nodegit-promise: 4.0.0 nomnom: 1.8.1 -normalize-package-data: 2.3.5 +nopt: 3.0.6 +normalize-path: 2.0.1 number-is-nan: 1.0.0 oauth-sign: 0.5.0 -object-assign: 4.0.1 +object-assign: 4.1.0 object-component: 0.0.3 +normalize-package-data: 2.3.5 +object.omit: 2.0.0 obuf: 1.1.1 on-finished: 2.3.0 -once: 1.3.3 +once: 1.4.0 onetime: 1.1.0 -optionator: 0.8.1 +optionator: 0.8.2 options: 0.0.6 orchestrator: 0.3.7 ordered-read-streams: 0.1.0 os-homedir: 1.0.1 os-tmpdir: 1.0.1 +package-json: 2.4.0 osenv: 0.1.3 -package-json: 2.3.1 +parse-filepath: 1.0.1 +parse-glob: 3.0.4 parse-json: 2.2.0 parse5: 1.5.1 parsejson: 0.0.1 @@ -359,204 +422,205 @@ parseuri: 0.0.4 parseurl: 1.3.1 path-exists: 2.1.0 path-is-absolute: 1.0.0 -path-is-inside: 1.0.1 +path-is-inside: 1.0.2 path-posix: 1.0.0 -path-to-regexp: 0.1.7 +path-root: 0.1.1 +path-root-regex: 0.1.2 path-type: 1.1.0 pend: 1.2.0 pify: 2.3.0 pinkie: 2.0.4 -pinkie-promise: 2.0.0 -plist: 1.2.0 +pinkie-promise: 2.0.1 +plist: 2.0.1 +path-to-regexp: 0.1.7 plugin-error: 0.1.2 pluralize: 1.2.1 -polyclean: 1.3.1 precond: 0.2.3 prelude-ls: 1.1.2 -prepend-http: 1.0.3 +prepend-http: 1.0.4 +preserve: 0.2.0 +polyclean: 1.3.1 pretty-hrtime: 1.0.2 -process-nextick-args: 1.0.6 -progress: 1.1.8 +process-nextick-args: 1.0.7 promisify-node: 0.4.0 -proxy-addr: 1.1.2 +progress: 1.1.8 pseudomap: 1.0.2 -q: 1.4.1 +proxy-addr: 1.1.2 qs: 6.2.0 +randomatic: 1.1.5 range-parser: 1.2.0 +rc: 1.1.6 raw-body: 2.1.7 read-all-stream: 3.1.0 read-installed: 3.1.5 read-package-json: 1.3.3 read-pkg: 1.1.0 read-pkg-up: 1.0.1 -readable-stream: 2.0.6 +readable-stream: 2.1.5 readdir-scoped-modules: 1.0.2 readline2: 1.0.1 +q: 1.4.1 rechoir: 0.6.2 redent: 1.0.0 -registry-url: 3.0.3 +regenerator-runtime: 0.9.5 +regex-cache: 0.4.3 +registry-auth-token: 3.0.1 +registry-url: 3.1.0 +repeat-element: 1.1.2 repeat-string: 1.5.4 -repeating: 2.0.0 +repeating: 2.0.1 replace-ext: 0.0.1 -replacestream: 4.0.0 +replacestream: 4.0.2 request: 2.51.0 require-uncached: 1.0.2 resolve: 1.1.7 +resolve-dir: 0.1.1 resolve-from: 1.0.1 -restore-cursor: 1.0.1 +restify: 4.1.1 right-align: 0.1.3 -run-async: 0.1.0 +restore-cursor: 1.0.1 +rimraf: 2.5.4 run-sequence: 1.2.2 +run-async: 0.1.0 safe-json-stringify: 1.0.3 rx-lite: 3.1.2 samsam: 1.1.2 -sauce-connect-launcher: 0.14.0 select-hose: 2.0.0 -semver-diff: 2.1.0 +sauce-connect-launcher: 0.14.0 +semver: 4.3.6 +selenium-standalone: 5.7.2 send: 0.11.1 sequencify: 0.0.7 +semver-diff: 2.1.0 serve-static: 1.11.1 serve-waterfall: 1.1.1 server-destroy: 1.0.1 setprototypeof: 1.0.1 sigmund: 1.0.1 -signal-exit: 2.1.2 -sinon: 1.17.5 +shelljs: 0.6.1 +sinon: 1.17.6 sinon-chai: 2.8.0 -slice-ansi: 0.0.4 +signal-exit: 3.0.1 slide: 1.1.6 +slice-ansi: 0.0.4 sntp: 0.2.4 -socket.io: 1.4.8 socket.io-adapter: 0.4.0 -socket.io-parser: 2.2.6 +socket.io-client: 1.4.8 +socket.io: 1.4.8 source-map: 0.2.0 sparkles: 1.0.0 spdx-correct: 1.0.2 -spdx-exceptions: 1.0.4 -spdx-expression-parse: 1.0.2 -socket.io-client: 1.4.8 -spdx-license-ids: 1.2.0 -spdy: 3.3.4 -spdy-transport: 2.0.11 +spdx-expression-parse: 1.0.3 +spdx-license-ids: 1.2.2 +socket.io-parser: 2.2.6 +spdy-transport: 2.0.15 sprintf-js: 1.0.3 +sshpk: 1.10.0 +spdy: 3.4.2 stacky: 1.3.1 statuses: 1.3.0 stream-combiner: 0.2.2 stream-consume: 0.1.0 stream-transform: 0.1.1 +string-width: 1.0.2 streamsearch: 0.1.2 -string-width: 1.0.1 string_decoder: 0.10.31 -stringstream: 0.0.5 strip-ansi: 3.0.1 +stringstream: 0.0.5 strip-bom: 2.0.0 +strip-indent: 1.0.1 +strip-json-comments: 1.0.4 supports-color: 2.0.0 -table: 3.7.8 -tar-stream: 1.1.5 +tar-stream: 1.5.2 temp: 0.8.3 test-fixture: 1.1.1 text-table: 0.2.0 -textextensions: 1.0.1 +textextensions: 1.0.2 through: 2.3.8 through2: 2.0.1 -tildify: 1.1.2 -time-stamp: 1.0.0 +tildify: 1.2.0 +time-stamp: 1.0.1 timed-out: 2.0.0 to-array: 0.1.4 -to-iso-string: 0.0.2 +table: 3.8.0 tough-cookie: 2.3.1 trim-newlines: 1.0.0 +to-iso-string: 0.0.2 tryit: 1.0.2 tunnel-agent: 0.4.3 -tv4: 1.2.7 -tweetnacl: 0.13.3 type-check: 0.3.2 +tweetnacl: 0.13.3 type-detect: 1.0.0 type-is: 1.6.13 typedarray: 0.0.6 +uglify-js: 2.7.3 uglify-to-browserify: 1.0.2 ultron: 1.0.2 +unc-path-regex: 0.1.2 underscore: 1.6.0 -underscore.string: 3.0.3 unique-stream: 1.0.0 unpipe: 1.0.0 -unzip-response: 1.0.0 +unzip-response: 1.0.1 +underscore.string: 3.0.3 update-notifier: 0.6.3 -urijs: 1.16.1 url-parse-lax: 1.0.0 -utf8: 2.1.0 +user-home: 1.1.1 +urijs: 1.16.1 util: 0.10.3 util-deprecate: 1.0.2 util-extend: 1.0.3 +utf8: 2.1.0 utils-merge: 1.0.0 -uuid: 2.0.1 +uuid: 2.0.3 v8flags: 2.0.11 validate-npm-package-license: 3.0.1 vargs: 0.1.0 vary: 1.1.0 vasync: 1.6.3 -verror: 1.6.1 +verror: 1.8.1 vinyl: 0.5.3 vinyl-fs: 0.3.14 +vulcanize: 1.14.8 +wct-local: 2.0.11 wbuf: 1.7.2 -wct-local: 2.0.8 -wct-sauce: 1.8.4 +wd: 0.3.12 +web-component-tester: 4.3.4 +which: 1.2.11 widest-line: 1.0.0 window-size: 0.1.0 wordwrap: 1.0.0 -wrappy: 1.0.1 +wrappy: 1.0.2 write: 0.2.1 -write-file-atomic: 1.1.4 +write-file-atomic: 1.2.0 +wct-sauce: 1.8.4 ws: 1.1.0 xdg-basedir: 2.0.0 -xmlbuilder: 4.0.0 -xmldom: 0.1.22 +xmlbuilder: 8.2.2 xmlhttprequest-ssl: 1.5.1 -xregexp: 3.1.1 +xmldom: 0.1.22 xtend: 4.0.1 yallist: 2.0.0 yargs: 3.10.0 yauzl: 2.6.0 yeast: 0.1.2 zip-stream: 0.5.2 -acorn: 3.3.0 -bunyan: 1.8.1 -dateformat: 1.0.12 -escodegen: 1.8.0 -eslint: 2.13.1 -esprima: 2.7.2 -gulp: 3.9.1 -har-validator: 2.0.6 -jade: 0.26.3 -js-yaml: 3.6.1 -mime: 1.3.4 -mkdirp: 0.5.1 -mocha: 2.5.3 -ncp: 2.0.0 -node-uuid: 1.4.7 -nopt: 3.0.6 -rc: 1.1.6 -restify: 4.1.1 -rimraf: 2.5.4 -selenium-standalone: 5.5.0 -semver: 4.3.6 -shelljs: 0.6.0 -sshpk: 1.9.2 -strip-indent: 1.0.1 -strip-json-comments: 1.0.4 -uglify-js: 2.6.2 -user-home: 1.1.1 -vulcanize: 1.14.7 -wd: 0.3.12 -web-component-tester: 4.3.1 -which: 1.2.10 +@types/chalk: 0.4.30 +@types/express: 4.0.33 +@types/clone: 0.1.30 +@types/freeport: 1.0.20 +@types/mime: 0.0.29 +@types/node: 4.0.30 +@types/express-serve-static-core: 4.0.36 +@types/parse5: 0.0.31 +@types/serve-static: 1.7.31 +@types/which: 1.0.28 REPO REVISIONS ============== -polymer: 4abd53c716e32de2bbac4f87f5b01ce007119f04 +polymer: e6ad8c92edf8ea2de18cc49d868360c89ed032c7 BUILD HASHES ============ polymer-mini.html: 7b55678ec0ca21f4a1af9423262f367d87a9b739 -polymer-micro.html: ff9824cb1fb68b011f3fe0de7b54474e65b52da7 -polymer.html: 2df3f2cd58aef56f63fc472e70c61d646adf801e \ No newline at end of file +polymer-micro.html: 70d9d3d40db1fdc42d933a0fca275b9bd4bbd64f +polymer.html: bcd7bc9cc9f3dbc6dbb112a55447201b0822f01d \ No newline at end of file diff --git a/polymer-micro.html b/polymer-micro.html index c101259167..42461228b9 100644 --- a/polymer-micro.html +++ b/polymer-micro.html @@ -700,7 +700,7 @@ return value != null ? value : undefined; } } -});Polymer.version = "1.6.1";Polymer.Base._addFeature({ +});Polymer.version = "1.7.0";Polymer.Base._addFeature({ _registerFeatures: function () { this._prepIs(); this._prepBehaviors(); diff --git a/polymer.html b/polymer.html index 8a6f32761e..1cbf2dcc8a 100644 --- a/polymer.html +++ b/polymer.html @@ -136,6 +136,9 @@ if (node.localName === 'template' && !node.hasAttribute('preserve-content')) { this._parseTemplate(node, i, list, annote); } +if (node.localName == 'slot') { +node = this._replaceSlotWithContent(node); +} if (node.nodeType === Node.TEXT_NODE) { var n = next; while (n && n.nodeType === Node.TEXT_NODE) { @@ -161,6 +164,22 @@ } } }, +_replaceSlotWithContent: function (slot) { +var content = slot.ownerDocument.createElement('content'); +while (slot.firstChild) { +content.appendChild(slot.firstChild); +} +var attrs = slot.attributes; +for (var i = 0; i < attrs.length; i++) { +var attr = attrs[i]; +content.setAttribute(attr.name, attr.value); +} +var name = slot.getAttribute('name'); +var select = name ? '[slot=\'' + name + '\']' : ':not([slot])'; +content.setAttribute('select', select); +slot.parentNode.replaceChild(content, slot); +return content; +}, _parseTemplate: function (node, index, list, parent) { var content = document.createDocumentFragment(); content._notes = this.parseAnnotations(node); @@ -294,7 +313,30 @@ resolveAttrs: resolveAttrs, resolveUrl: resolveUrl }; -}());Polymer.Base._addFeature({ +}());Polymer.Path = { +root: function (path) { +var dotIndex = path.indexOf('.'); +if (dotIndex === -1) { +return path; +} +return path.slice(0, dotIndex); +}, +isDeep: function (path) { +return path.indexOf('.') !== -1; +}, +isAncestor: function (base, path) { +return base.indexOf(path + '.') === 0; +}, +isDescendant: function (base, path) { +return path.indexOf(base + '.') === 0; +}, +translate: function (base, newBase, path) { +return newBase + path.slice(base.length); +}, +matches: function (base, wildcard, path) { +return base === path || this.isAncestor(base, path) || Boolean(wildcard) && this.isDescendant(base, path); +} +};Polymer.Base._addFeature({ _prepAnnotations: function () { if (!this._template) { this._notes = []; @@ -324,7 +366,7 @@ if (signature) { p.signature = signature; } else { -p.model = this._modelForPath(p.value); +p.model = Polymer.Path.root(p.value); } } } @@ -587,8 +629,9 @@ } }; function setupTeardownMouseCanceller(setup) { -for (var i = 0, en; i < MOUSE_EVENTS.length; i++) { -en = MOUSE_EVENTS[i]; +var events = IS_TOUCH_ONLY ? ['click'] : MOUSE_EVENTS; +for (var i = 0, en; i < events.length; i++) { +en = events[i]; if (setup) { document.addEventListener(en, mouseCanceller, true); } else { @@ -597,9 +640,6 @@ } } function ignoreMouse() { -if (IS_TOUCH_ONLY) { -return; -} if (!POINTERSTATE.mouse.mouseIgnoreJob) { setupTeardownMouseCanceller(true); } @@ -792,7 +832,7 @@ } for (var i = 0, dep, gd; i < deps.length; i++) { dep = deps[i]; -if (IS_TOUCH_ONLY && MOUSE_EVENTS.indexOf(dep) > -1) { +if (IS_TOUCH_ONLY && MOUSE_EVENTS.indexOf(dep) > -1 && dep !== 'click') { continue; } gd = gobj[dep]; @@ -1451,7 +1491,7 @@ }, _clearPath: function (path) { for (var prop in this.__data__) { -if (prop.indexOf(path + '.') === 0) { +if (Polymer.Path.isDescendant(path, prop)) { this.__data__[prop] = undefined; } } @@ -1528,7 +1568,7 @@ if (!model._bindListeners) { model._bindListeners = []; } -var fn = this._notedListenerFactory(property, path, this._isStructured(path), negated); +var fn = this._notedListenerFactory(property, path, Polymer.Path.isDeep(path), negated); var eventName = event || Polymer.CaseMap.camelToDashCase(property) + '-changed'; model._bindListeners.push({ index: index, @@ -1538,16 +1578,14 @@ event: eventName }); }, -_isStructured: function (path) { -return path.indexOf('.') > 0; -}, _isEventBogus: function (e, target) { return e.path && e.path[0] !== target; }, _notedListenerFactory: function (property, path, isStructured, negated) { return function (target, value, targetPath) { if (targetPath) { -this._notifyPath(this._fixPath(path, property, targetPath), value); +var newPath = Polymer.Path.translate(property, path, targetPath); +this._notifyPath(newPath, value); } else { value = target[property]; if (negated) { @@ -1669,7 +1707,7 @@ return; } if (arg.wildcard) { -var matches = path.indexOf(name + '.') === 0; +var matches = Polymer.Path.isAncestor(path, name); values[i] = { path: matches ? path : name, value: matches ? value : v, @@ -1896,8 +1934,8 @@ break; } if (!a.literal) { -a.model = this._modelForPath(arg); -a.structured = arg.indexOf('.') > 0; +a.model = Polymer.Path.root(arg); +a.structured = Polymer.Path.isDeep(arg); if (a.structured) { a.wildcard = arg.slice(-2) == '.*'; if (a.wildcard) { @@ -2087,6 +2125,7 @@ }); }());(function () { 'use strict'; +var Path = Polymer.Path; Polymer.Base._addFeature({ notifyPath: function (path, value, fromAbove) { var info = {}; @@ -2194,7 +2233,7 @@ return prop; }, _pathEffector: function (path, value) { -var model = this._modelForPath(path); +var model = Path.root(path); var fx$ = this._propertyEffects && this._propertyEffects[model]; if (fx$) { for (var i = 0, fx; i < fx$.length && (fx = fx$[i]); i++) { @@ -2209,35 +2248,31 @@ } }, _annotationPathEffect: function (path, value, effect) { -if (effect.value === path || effect.value.indexOf(path + '.') === 0) { +if (Path.matches(effect.value, false, path)) { Polymer.Bind._annotationEffect.call(this, path, value, effect); -} else if (path.indexOf(effect.value + '.') === 0 && !effect.negate) { +} else if (!effect.negate && Path.isDescendant(effect.value, path)) { var node = this._nodes[effect.index]; if (node && node._notifyPath) { -var p = this._fixPath(effect.name, effect.value, path); -node._notifyPath(p, value, true); +var newPath = Path.translate(effect.value, effect.name, path); +node._notifyPath(newPath, value, true); } } }, _complexObserverPathEffect: function (path, value, effect) { -if (this._pathMatchesEffect(path, effect)) { +if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) { Polymer.Bind._complexObserverEffect.call(this, path, value, effect); } }, _computePathEffect: function (path, value, effect) { -if (this._pathMatchesEffect(path, effect)) { +if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) { Polymer.Bind._computeEffect.call(this, path, value, effect); } }, _annotatedComputationPathEffect: function (path, value, effect) { -if (this._pathMatchesEffect(path, effect)) { +if (Path.matches(effect.trigger.name, effect.trigger.wildcard, path)) { Polymer.Bind._annotatedComputationEffect.call(this, path, value, effect); } }, -_pathMatchesEffect: function (path, effect) { -var effectArg = effect.trigger.name; -return effectArg == path || effectArg.indexOf(path + '.') === 0 || effect.trigger.wildcard && path.indexOf(effectArg + '.') === 0; -}, linkPaths: function (to, from) { this._boundPaths = this._boundPaths || {}; if (from) { @@ -2254,18 +2289,15 @@ _notifyBoundPaths: function (path, value) { for (var a in this._boundPaths) { var b = this._boundPaths[a]; -if (path.indexOf(a + '.') == 0) { -this._notifyPath(this._fixPath(b, a, path), value); -} else if (path.indexOf(b + '.') == 0) { -this._notifyPath(this._fixPath(a, b, path), value); +if (Path.isDescendant(a, path)) { +this._notifyPath(Path.translate(a, b, path), value); +} else if (Path.isDescendant(b, path)) { +this._notifyPath(Path.translate(b, a, path), value); } } }, -_fixPath: function (property, root, path) { -return property + path.slice(root.length); -}, _notifyPathUp: function (path, value) { -var rootName = this._modelForPath(path); +var rootName = Path.root(path); var dashCaseName = Polymer.CaseMap.camelToDashCase(rootName); var eventName = dashCaseName + this._EVENT_CHANGED; this.fire(eventName, { @@ -2276,10 +2308,6 @@ _useCache: true }); }, -_modelForPath: function (path) { -var dot = path.indexOf('.'); -return dot < 0 ? path : path.slice(0, dot); -}, _EVENT_CHANGED: '-changed', notifySplices: function (path, splices) { var info = {}; @@ -2385,8 +2413,6 @@ _complexObserverPathEffect: Polymer.Base._complexObserverPathEffect, _annotatedComputationPathEffect: Polymer.Base._annotatedComputationPathEffect, _computePathEffect: Polymer.Base._computePathEffect, -_modelForPath: Polymer.Base._modelForPath, -_pathMatchesEffect: Polymer.Base._pathMatchesEffect, _notifyBoundPaths: Polymer.Base._notifyBoundPaths, _getPathParts: Polymer.Base._getPathParts }); @@ -2680,7 +2706,9 @@ for (var i = 0, e; i < e$.length; i++) { e = e$[i]; if (e.localName === 'template') { +if (!e.hasAttribute('preserve-content')) { cssText += this.cssFromElement(e); +} } else { if (e.localName === 'style') { var include = e.getAttribute(this.INCLUDE_ATTR); @@ -2807,9 +2835,21 @@ var styles = element._styles; var cssText = ''; var cssBuildType = element.__cssBuild; +var passthrough = settings.useNativeShadow || cssBuildType === 'shady'; +var cb; +if (passthrough) { +var self = this; +cb = function (rule) { +rule.selector = self._slottedToContent(rule.selector); +rule.selector = rule.selector.replace(ROOT, ':host > *'); +if (callback) { +callback(rule); +} +}; +} for (var i = 0, l = styles.length, s; i < l && (s = styles[i]); i++) { var rules = styleUtil.rulesForStyle(s); -cssText += settings.useNativeShadow || cssBuildType === 'shady' ? styleUtil.toCssText(rules, callback) : this.css(rules, element.is, element.extends, callback, element._scopeCssViaAttr) + '\n\n'; +cssText += passthrough ? styleUtil.toCssText(rules, cb) : this.css(rules, element.is, element.extends, callback, element._scopeCssViaAttr) + '\n\n'; } return cssText.trim(); }, @@ -2857,6 +2897,8 @@ var hostContext = false; var self = this; selector = selector.trim(); +selector = this._slottedToContent(selector); +selector = selector.replace(ROOT, ':host > *'); selector = selector.replace(CONTENT_START, HOST + ' $1'); selector = selector.replace(SIMPLE_SELECTOR_SEP, function (m, c, s) { if (!stop) { @@ -2935,13 +2977,14 @@ } }, normalizeRootSelector: function (rule) { -if (rule.selector === ROOT) { -rule.selector = 'html'; -} +rule.selector = rule.selector.replace(ROOT, 'html'); }, _transformDocumentSelector: function (selector) { return selector.match(SCOPE_JUMP) ? this._transformComplexSelector(selector, SCOPE_DOC_SELECTOR) : this._transformSimpleSelector(selector.trim(), SCOPE_DOC_SELECTOR); }, +_slottedToContent: function (cssText) { +return cssText.replace(SLOTTED_PAREN, CONTENT + '> $1'); +}, SCOPE_NAME: 'style-scope' }; var SCOPE_NAME = api.SCOPE_NAME; @@ -2963,6 +3006,7 @@ var CLASS = 'class'; var CONTENT_START = new RegExp('^(' + CONTENT + ')'); var SELECTOR_NO_MATCH = 'should_not_match'; +var SLOTTED_PAREN = /(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g; return api; }();Polymer.StyleExtends = function () { var styleUtil = Polymer.StyleUtil; @@ -3140,7 +3184,7 @@ return prefix + out.join('; ') + ';'; } function fixVars(matchText, varA, varB) { -return 'var(' + varA + ',' + 'var(' + varB + '));'; +return 'var(' + varA + ',' + 'var(' + varB + '))'; } function atApplyToCssProperties(mixinName, fallbacks) { mixinName = mixinName.replace(APPLY_NAME_CLEAN, ''); @@ -3201,20 +3245,28 @@ _separator: MIXIN_VAR_SEP, transform: function (styles, elementProto) { this.__currentElementProto = elementProto; -styleUtil.forRulesInStyles(styles, this._boundTransformRule); +styleUtil.forRulesInStyles(styles, this._boundFindDefinitions); +styleUtil.forRulesInStyles(styles, this._boundFindApplications); +if (elementProto) { elementProto.__applyShimInvalid = false; +} this.__currentElementProto = null; }, -transformRule: function (rule) { -rule.cssText = this.transformCssText(rule.parsedCssText); +_findDefinitions: function (rule) { +var cssText = rule.parsedCssText; +cssText = cssText.replace(BAD_VAR, fixVars); +cssText = cssText.replace(VAR_ASSIGN, produceCssProperties); +rule.cssText = cssText; if (rule.selector === ':root') { rule.selector = ':host > *'; } }, -transformCssText: function (cssText) { -cssText = cssText.replace(BAD_VAR, fixVars); -cssText = cssText.replace(VAR_ASSIGN, produceCssProperties); -return consumeCssProperties(cssText); +_findApplications: function (rule) { +rule.cssText = consumeCssProperties(rule.cssText); +}, +transformRule: function (rule) { +this._findDefinitions(rule); +this._findApplications(rule); }, _getInitialValueForProperty: function (property) { if (!this._measureElement) { @@ -3226,6 +3278,8 @@ } }; ApplyShim._boundTransformRule = ApplyShim.transformRule.bind(ApplyShim); +ApplyShim._boundFindDefinitions = ApplyShim._findDefinitions.bind(ApplyShim); +ApplyShim._boundFindApplications = ApplyShim._findApplications.bind(ApplyShim); return ApplyShim; }();(function () { var prepElement = Polymer.Base._prepElement; @@ -3536,6 +3590,10 @@ key: o }; }, +_rootSelector: /:root|:host\s*>\s*\*/, +_checkRoot: function (hostScope, selector) { +return Boolean(selector.match(this._rootSelector)) || hostScope === 'html' && selector.indexOf('html') > -1; +}, whenHostOrRootRule: function (scope, rule, style, callback) { if (!rule.propertyInfo) { self.decorateRule(rule); @@ -3545,17 +3603,13 @@ } var hostScope = scope.is ? styleTransformer._calcHostScope(scope.is, scope.extends) : 'html'; var parsedSelector = rule.parsedSelector; -var isRoot = parsedSelector === ':root'; -var isHost = parsedSelector.indexOf(':host') === 0; +var isRoot = this._checkRoot(hostScope, parsedSelector); +var isHost = !isRoot && parsedSelector.indexOf(':host') === 0; var cssBuild = scope.__cssBuild || style.__cssBuild; if (cssBuild === 'shady') { -isRoot = parsedSelector === hostScope + ' > *.' + hostScope || parsedSelector.indexOf('html') !== -1; +isRoot = parsedSelector === hostScope + ' > *.' + hostScope || parsedSelector.indexOf('html') > -1; isHost = !isRoot && parsedSelector.indexOf(hostScope) === 0; } -if (cssBuild === 'shadow') { -isRoot = parsedSelector === ':host > *' || parsedSelector === 'html'; -isHost = isHost && !isRoot; -} if (!isRoot && !isHost) { return; } @@ -3566,6 +3620,9 @@ } selectorToMatch = rule.transformedSelector || rule.parsedSelector; } +if (isRoot && hostScope === 'html') { +selectorToMatch = rule.transformedSelector || rule.parsedSelector; +} callback({ selector: selectorToMatch, isHost: isHost, @@ -3670,6 +3727,9 @@ style = styleUtil.applyCss(cssText, selector, null, element._scopeStyle); } } else if (!style.parentNode) { +if (IS_IE && cssText.indexOf('@media') > -1) { +style.textContent = cssText; +} styleUtil.applyStyle(style, null, element._scopeStyle); } } @@ -3680,9 +3740,6 @@ } element._customStyle = style; } -if (IS_IE) { -style.textContent = style.textContent; -} return style; }, mixinCustomStyle: function (props, customStyle) { @@ -4125,10 +4182,10 @@ if (!targetedBuild) { styleUtil.forEachRule(styleRules, function (rule) { styleTransformer.documentRule(rule); +}); if (settings.useNativeCSSProperties && !buildType) { -applyShim.transformRule(rule); +applyShim.transform([e]); } -}); } if (settings.useNativeCSSProperties) { e.textContent = styleUtil.toCssText(styleRules); @@ -4355,8 +4412,7 @@ }, _notifyPathUpImpl: function (path, value) { var dataHost = this.dataHost; -var dot = path.indexOf('.'); -var root = dot < 0 ? path : path.slice(0, dot); +var root = Polymer.Path.root(path); dataHost._forwardInstancePath.call(dataHost, this, path, value); if (root in dataHost._parentProps) { dataHost._templatized._notifyPath(dataHost._parentPropPrefix + path, value); @@ -4366,7 +4422,7 @@ if (this._forwardParentPath) { if (path.indexOf(this._parentPropPrefix) === 0) { var subPath = path.substring(this._parentPropPrefix.length); -var model = this._modelForPath(subPath); +var model = Polymer.Path.root(subPath); if (model in this._parentProps) { this._forwardParentPath(subPath, value); } @@ -5353,5 +5409,6 @@ +