diff --git a/bower.json b/bower.json index 9cb2133c69..c2f40369b9 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "polymer", - "version": "1.11.0", + "version": "1.11.1", "main": [ "polymer.html", "polymer-mini.html", diff --git a/build.log b/build.log index a7cb19b16f..03f5cf94a0 100644 --- a/build.log +++ b/build.log @@ -1,10 +1,10 @@ BUILD LOG --------- -Build Time: 2017-10-18T12:47:19-0700 +Build Time: 2017-12-05T14:18:43-0800 NODEJS INFORMATION ================== -nodejs: v8.7.0 +nodejs: v8.9.1 dom-serializer: 0.1.0 estraverse: 4.2.0 expand-tilde: 1.2.2 @@ -12,537 +12,537 @@ is-windows: 0.2.0 jade: 0.26.3 mocha: 2.5.3 path-is-inside: 1.0.2 -@types/chalk: 0.4.31 +@types/launchpad: 0.6.0 @types/clone: 0.1.30 -@types/express: 4.0.37 -@types/express-serve-static-core: 4.0.53 +@types/chalk: 0.4.31 @types/freeport: 1.0.21 -@types/launchpad: 0.6.0 -@types/mime: 2.0.0 @types/node: 4.2.20 +@types/express: 4.0.37 +@types/express-serve-static-core: 4.0.53 @types/parse5: 0.0.31 @types/serve-static: 1.7.32 -@types/which: 1.0.28 -abbrev: 1.1.1 +@types/mime: 2.0.0 accepts: 1.3.4 +@types/which: 1.0.28 accessibility-developer-tools: 2.12.0 -acorn-jsx: 3.0.1 +abbrev: 1.1.1 adm-zip: 0.4.7 +acorn-jsx: 3.0.1 +ansi-cyan: 0.1.1 after: 0.8.2 -agent-base: 2.1.1 ajv-keywords: 1.5.1 -ajv: 4.11.8 -align-text: 0.1.4 -ansi-cyan: 0.1.1 -ansi-escapes: 1.4.0 ansi-red: 0.1.1 ansi-regex: 2.1.1 -ansi-styles: 2.2.1 +ajv: 4.11.8 ansi-wrap: 0.1.0 +align-text: 0.1.4 +ansi-styles: 2.2.1 +ansi-escapes: 1.4.0 append-field: 0.1.0 -archiver: 0.14.4 -archy: 1.0.0 -argparse: 1.0.9 -arr-diff: 2.0.0 arr-flatten: 1.1.0 arr-union: 2.1.0 +agent-base: 2.1.1 array-differ: 1.0.0 -array-each: 1.0.1 -array-flatten: 1.1.1 -array-slice: 1.0.0 +archy: 1.0.0 +arr-diff: 2.0.0 +archiver: 0.14.4 array-union: 1.0.2 +array-each: 1.0.1 array-uniq: 1.0.3 +array-slice: 1.0.0 array-unique: 0.2.1 -arraybuffer.slice: 0.0.6 arrify: 1.0.1 asap: 2.0.6 +array-flatten: 1.1.1 +argparse: 1.0.9 +arraybuffer.slice: 0.0.6 asn1: 0.2.3 assert-plus: 0.2.0 assertion-error: 1.0.2 async: 0.9.2 -asynckit: 0.4.0 -aws-sign2: 0.6.0 -aws4: 1.6.0 -babel-code-frame: 6.26.0 babel-polyfill: 6.26.0 -babel-runtime: 6.26.0 -backo2: 1.0.2 balanced-match: 1.0.0 +aws-sign2: 0.6.0 +asynckit: 0.4.0 +aws4: 1.6.0 base64-arraybuffer: 0.1.5 -base64-js: 1.2.0 base64id: 1.0.0 -bcrypt-pbkdf: 1.0.1 +babel-code-frame: 6.26.0 +backo2: 1.0.2 beeper: 1.1.1 -better-assert: 1.0.2 +bcrypt-pbkdf: 1.0.1 binaryextensions: 1.0.1 -bl: 1.2.1 -blob: 0.0.4 bluebird: 2.11.0 -body-parser: 1.18.2 -boom: 2.10.1 -boxen: 0.3.1 +base64-js: 1.2.0 +babel-runtime: 6.26.0 +blob: 0.0.4 brace-expansion: 1.1.8 -braces: 1.8.5 -browserstack: 1.5.0 +better-assert: 1.0.2 +bl: 1.2.1 +boom: 2.10.1 buffer-crc32: 0.2.13 bufferstreams: 1.1.1 -busboy: 0.2.14 -bytes: 3.0.0 +body-parser: 1.18.2 caller-path: 0.1.0 -callsite: 1.0.0 +braces: 1.8.5 callsites: 0.2.0 -camelcase: 1.2.1 +busboy: 0.2.14 +boxen: 0.3.1 +callsite: 1.0.0 +browserstack: 1.5.0 +bytes: 3.0.0 capture-stack-trace: 1.0.0 -caseless: 0.11.0 center-align: 0.1.3 -chai: 3.5.0 chalk: 1.1.3 +caseless: 0.11.0 +camelcase: 1.2.1 +chai: 3.5.0 +clone: 1.0.2 +clone-stats: 0.0.1 circular-json: 0.3.3 -cleankill: 1.0.3 cli-cursor: 1.0.2 -cli-width: 2.2.0 +cleankill: 1.0.3 cliui: 2.1.0 -clone: 1.0.2 -clone-stats: 0.0.1 -co: 4.6.0 +cli-width: 2.2.0 code-point-at: 1.1.0 -combined-stream: 1.0.5 +co: 4.6.0 commander: 2.3.0 +concat-map: 0.0.1 +combined-stream: 1.0.5 component-bind: 1.0.0 -component-emitter: 1.1.2 -component-inherit: 0.0.3 compress-commons: 0.2.9 -concat-map: 0.0.1 concat-stream: 1.6.0 +component-emitter: 1.1.2 configstore: 2.1.0 +component-inherit: 0.0.3 content-disposition: 0.5.2 -content-type: 1.0.4 cookie: 0.3.1 -cookie-signature: 1.0.6 core-util-is: 1.0.2 -core-js: 2.5.1 +content-type: 1.0.4 +cookie-signature: 1.0.6 crc: 3.2.1 +ctype: 0.5.3 +dateformat: 2.2.0 crc32-stream: 0.3.4 +debug: 2.6.9 +debuglog: 1.0.1 create-error-class: 3.0.2 +core-js: 2.5.1 cryptiles: 2.0.5 -ctype: 0.5.3 +defaults: 1.0.3 d: 1.0.0 +del: 2.2.2 dashdash: 1.14.1 -dateformat: 2.2.0 -debug: 2.6.9 -debuglog: 1.0.1 +deprecated: 0.0.1 decamelize: 1.2.0 -deep-eql: 0.1.3 deep-extend: 0.4.2 -deep-is: 0.1.3 -defaults: 1.0.3 -del: 2.2.2 delayed-stream: 1.0.0 -depd: 1.1.1 -deprecated: 0.0.1 -destroy: 1.0.4 +dicer: 0.2.5 +deep-eql: 0.1.3 +deep-is: 0.1.3 detect-file: 0.1.0 dezalgo: 1.0.3 -dicer: 0.2.5 +destroy: 1.0.4 +depd: 1.1.1 diff: 1.4.0 -doctrine: 2.0.0 dom5: 1.3.6 -domelementtype: 1.3.0 domhandler: 2.4.1 -domutils: 1.6.2 -dot-prop: 3.0.0 +doctrine: 2.0.0 duplexer: 0.1.1 +domelementtype: 1.3.0 duplexer2: 0.0.2 ecc-jsbn: 0.1.1 -ee-first: 1.1.1 +domutils: 1.6.2 encodeurl: 1.0.1 end-of-stream: 0.1.5 +ee-first: 1.1.1 +dot-prop: 3.0.0 +es6-map: 0.1.5 +es6-iterator: 2.0.1 +entities: 1.1.1 engine.io: 1.8.4 -engine.io-client: 1.8.4 engine.io-parser: 1.3.2 -entities: 1.1.1 -error-ex: 1.3.1 es5-ext: 0.10.35 -es6-iterator: 2.0.1 -es6-map: 0.1.5 -es6-promise: 2.3.0 -es6-set: 0.1.5 -es6-symbol: 3.1.1 es6-weak-map: 2.0.2 -escape-html: 1.0.3 +engine.io-client: 1.8.4 escape-string-regexp: 1.0.5 +escape-html: 1.0.3 +es6-promise: 2.3.0 escope: 3.6.0 -eslint-plugin-html: 1.7.0 +es6-symbol: 3.1.1 espree: 3.5.1 esquery: 1.0.0 esrecurse: 4.2.0 esutils: 2.0.2 -etag: 1.8.1 +es6-set: 0.1.5 event-emitter: 0.3.5 +etag: 1.8.1 +eslint-plugin-html: 1.7.0 exit-hook: 1.1.1 +extend-shallow: 1.1.4 expand-brackets: 0.1.5 -expand-range: 1.8.2 express: 4.16.2 +error-ex: 1.3.1 +fancy-log: 1.3.0 +extsprintf: 1.3.0 +expand-range: 1.8.2 extend: 3.0.1 -extend-shallow: 1.1.4 extglob: 0.3.2 -extsprintf: 1.3.0 -fancy-log: 1.3.0 -fast-levenshtein: 2.0.6 -fd-slicer: 1.0.1 -figures: 1.7.0 file-entry-cache: 2.0.0 +fast-levenshtein: 2.0.6 filename-regex: 2.0.1 +figures: 1.7.0 fill-range: 2.2.3 -filled-array: 1.1.0 -finalhandler: 1.1.0 find-index: 0.1.1 findup-sync: 0.4.3 -fined: 1.1.0 +filled-array: 1.1.0 +fd-slicer: 1.0.1 +finalhandler: 1.1.0 first-chunk-stream: 1.0.0 flagged-respawn: 0.3.2 -flat-cache: 1.3.0 -for-in: 1.0.2 +fined: 1.1.0 for-own: 0.1.5 +for-in: 1.0.2 forever-agent: 0.6.1 -form-data: 2.1.4 -formatio: 1.1.1 -forwarded: 0.1.2 -freeport: 1.0.5 -fresh: 0.5.2 -fs-exists-sync: 0.1.0 fs.realpath: 1.0.0 gaze: 0.5.2 +forwarded: 0.1.2 generate-function: 2.0.0 generate-object-property: 1.2.0 -getpass: 0.1.7 github-url-from-git: 1.5.0 +formatio: 1.1.1 +flat-cache: 1.3.0 github-url-from-username-repo: 1.0.2 -glob: 7.1.2 -glob-base: 0.3.0 -glob-parent: 2.0.0 -glob-stream: 3.1.18 glob-watcher: 0.0.6 +form-data: 2.1.4 +glob-stream: 3.1.18 +getpass: 0.1.7 glob2base: 0.0.12 -global-modules: 0.2.3 -global-prefix: 0.1.5 globals: 9.18.0 +fresh: 0.5.2 +freeport: 1.0.5 +fs-exists-sync: 0.1.0 +glob: 7.1.2 globby: 5.0.0 globule: 0.1.0 +glob-parent: 2.0.0 +gulp-audit: 1.0.0 glogg: 1.0.0 -got: 5.7.1 graceful-fs: 3.0.11 -growl: 1.9.2 -gulp-audit: 1.0.0 +global-modules: 0.2.3 +got: 5.7.1 gulp-eslint: 3.0.1 -gulp-rename: 1.2.2 -gulp-replace: 0.5.4 gulp-util: 3.0.8 -gulp-vulcanize: 6.1.0 -gulplog: 1.0.0 +gulp-rename: 1.2.2 has-ansi: 2.0.0 +gulplog: 1.0.0 +gulp-replace: 0.5.4 +glob-base: 0.3.0 +global-prefix: 0.1.5 +has-gulplog: 0.1.0 +has-cors: 1.1.0 has-binary: 0.1.7 has-color: 0.1.7 -has-cors: 1.1.0 -has-gulplog: 0.1.0 -hawk: 3.1.3 -hoek: 2.16.3 -homedir-polyfill: 1.0.1 htmlparser2: 3.9.2 -http-errors: 1.6.2 -http-signature: 1.1.1 -https-proxy-agent: 1.0.0 hydrolysis: 1.25.0 -iconv-lite: 0.4.19 +gulp-vulcanize: 6.1.0 +hoek: 2.16.3 +homedir-polyfill: 1.0.1 ignore: 3.3.5 +http-errors: 1.6.2 imurmurhash: 0.1.4 -indexof: 0.0.1 inflight: 1.0.6 inherits: 2.0.3 -ini: 1.3.4 -inquirer: 0.12.0 +http-signature: 1.1.1 +hawk: 3.1.3 +https-proxy-agent: 1.0.0 +indexof: 0.0.1 interpret: 1.0.4 +iconv-lite: 0.4.19 +growl: 1.9.2 +inquirer: 0.12.0 +ini: 1.3.4 ipaddr.js: 1.5.2 -is-absolute: 0.2.6 is-arrayish: 0.2.1 is-buffer: 1.1.5 is-dotfile: 1.0.3 -is-equal-shallow: 0.1.3 is-extendable: 0.1.1 is-extglob: 1.0.0 -is-finite: 1.0.2 -is-fullwidth-code-point: 1.0.0 -is-glob: 2.0.1 -is-my-json-valid: 2.16.1 -is-npm: 1.0.0 -is-number: 2.1.0 -is-obj: 1.0.1 +is-absolute: 0.2.6 +is-fullwidth-code-point: 1.0.0 +is-my-json-valid: 2.16.1 is-path-cwd: 1.0.0 +is-equal-shallow: 0.1.3 +is-glob: 2.0.1 is-path-in-cwd: 1.0.0 is-path-inside: 1.0.0 -is-plain-object: 2.0.4 is-posix-bracket: 0.1.1 -is-primitive: 2.0.0 +is-finite: 1.0.2 +is-npm: 1.0.0 +is-plain-object: 2.0.4 +is-resolvable: 1.0.0 is-property: 1.0.2 -is-redirect: 1.0.0 +is-obj: 1.0.1 +is-number: 2.1.0 is-relative: 0.2.1 -is-resolvable: 1.0.0 -is-retry-allowed: 1.1.0 +is-utf8: 0.2.1 is-stream: 1.1.0 +is-primitive: 2.0.0 is-typedarray: 1.0.0 -is-unc-path: 0.1.2 -is-utf8: 0.2.1 isarray: 1.0.0 -isexe: 2.0.0 -isobject: 2.1.0 -isstream: 0.1.2 +is-unc-path: 0.1.2 +is-redirect: 1.0.0 istextorbinary: 1.0.2 +isexe: 2.0.0 +is-retry-allowed: 1.1.0 +json-parse-helpfulerror: 1.0.3 jju: 1.3.0 +isstream: 0.1.2 +isobject: 2.1.0 +json-stable-stringify: 1.0.1 js-tokens: 3.0.2 jsbn: 0.1.1 -json-parse-helpfulerror: 1.0.3 -json-schema: 0.2.3 -json-stable-stringify: 1.0.1 json-stringify-safe: 5.0.1 +jsonpointer: 4.0.1 +json-schema: 0.2.3 json3: 3.3.2 +lazypipe: 1.0.1 jsonify: 0.0.0 -jsonpointer: 4.0.1 jsprim: 1.4.1 kind-of: 3.2.2 -latest-version: 2.0.0 -launchpad: 0.6.0 -lazy-cache: 1.0.4 -lazypipe: 1.0.1 -lazystream: 0.1.0 +lodash._basecopy: 3.0.1 levn: 0.3.0 -liftoff: 2.3.0 lodash: 1.0.2 -lodash._basecopy: 3.0.1 +latest-version: 2.0.0 lodash._basetostring: 3.0.1 -lodash._basevalues: 3.0.0 lodash._getnative: 3.9.1 +lodash._basevalues: 3.0.0 +lazystream: 0.1.0 lodash._isiterateecall: 3.0.9 lodash._reescape: 3.0.0 -lodash._reevaluate: 3.0.0 +lazy-cache: 1.0.4 lodash._reinterpolate: 3.0.0 lodash._root: 3.0.1 +lodash._reevaluate: 3.0.0 lodash.escape: 3.2.0 lodash.isarguments: 3.1.0 -lodash.isarray: 3.0.4 -lodash.isplainobject: 4.0.6 -lodash.isstring: 4.0.1 lodash.keys: 3.1.2 -lodash.mapvalues: 4.6.0 -lodash.restparam: 3.6.1 +lodash.isarray: 3.0.4 +liftoff: 2.3.0 +launchpad: 0.6.0 lodash.template: 3.6.2 +lodash.restparam: 3.6.1 lodash.templatesettings: 3.1.1 -lolex: 1.3.2 +lodash.isstring: 4.0.1 +lodash.isplainobject: 4.0.6 +lru-cache: 2.7.3 +lodash.mapvalues: 4.6.0 longest: 1.0.1 +lolex: 1.3.2 +methods: 1.1.2 +merge-descriptors: 1.0.1 lowercase-keys: 1.0.0 -lru-cache: 2.7.3 -map-cache: 0.2.2 media-typer: 0.3.0 -merge-descriptors: 1.0.1 -methods: 1.1.2 +minimist: 1.2.0 +minimatch: 3.0.4 +map-cache: 0.2.2 micromatch: 2.3.11 +ms: 2.0.0 mime-db: 1.30.0 mime-types: 2.1.17 -minimatch: 3.0.4 -minimist: 1.2.0 -ms: 2.0.0 -multer: 1.3.0 -multipipe: 0.1.2 -mute-stream: 0.0.5 natives: 1.1.0 +mute-stream: 0.0.5 +multipipe: 0.1.2 natural-compare: 1.4.0 negotiator: 0.6.1 +normalize-package-data: 1.0.3 node-int64: 0.3.3 node-status-codes: 1.0.0 -nodegit-promise: 4.0.0 nomnom: 1.8.1 -normalize-package-data: 1.0.3 +nodegit-promise: 4.0.0 +multer: 1.3.0 normalize-path: 2.1.1 -number-is-nan: 1.0.1 oauth-sign: 0.8.2 -object-assign: 4.1.1 -object-component: 0.0.3 object.defaults: 1.1.0 object.omit: 2.0.1 -object.pick: 1.3.0 +number-is-nan: 1.0.1 on-finished: 2.3.0 -once: 1.4.0 +object.pick: 1.3.0 onetime: 1.1.0 -optionator: 0.8.2 -options: 0.0.6 +once: 1.4.0 orchestrator: 0.3.8 ordered-read-streams: 0.1.0 -os-homedir: 1.0.2 -os-tmpdir: 1.0.2 +object-component: 0.0.3 +options: 0.0.6 +optionator: 0.8.2 osenv: 0.1.4 package-json: 2.4.0 -parse-filepath: 1.0.1 +parse5: 1.5.1 +os-homedir: 1.0.2 +parse-passwd: 1.0.0 +os-tmpdir: 1.0.2 parse-glob: 3.0.4 +object-assign: 4.1.1 +path-is-absolute: 1.0.1 +parseqs: 0.0.5 +parse-filepath: 1.0.1 parse-json: 2.2.0 -parse-passwd: 1.0.0 -parse5: 1.5.1 parsejson: 0.0.3 -parseqs: 0.0.5 -parseuri: 0.0.5 parseurl: 1.3.2 -path-is-absolute: 1.0.1 -path-parse: 1.0.5 -path-posix: 1.0.0 -path-root: 0.1.1 -path-root-regex: 0.1.2 -path-to-regexp: 0.1.7 -pend: 1.2.0 pify: 2.3.0 -pinkie: 2.0.4 +parseuri: 0.0.5 pinkie-promise: 2.0.1 -plist: 2.1.0 +pend: 1.2.0 +path-posix: 1.0.0 +path-parse: 1.0.5 plugin-error: 0.1.2 -pluralize: 1.2.1 +path-to-regexp: 0.1.7 polyclean: 1.3.1 prelude-ls: 1.1.2 +path-root-regex: 0.1.2 +process-nextick-args: 1.0.7 +plist: 2.1.0 +pinkie: 2.0.4 prepend-http: 1.0.4 -preserve: 0.2.0 +pluralize: 1.2.1 pretty-hrtime: 1.0.3 -process-nextick-args: 1.0.7 -progress: 1.1.8 promisify-node: 0.4.0 +progress: 1.1.8 +path-root: 0.1.1 proxy-addr: 2.0.2 +preserve: 0.2.0 punycode: 1.4.1 q: 1.5.0 +read-installed: 3.1.5 qs: 6.5.1 randomatic: 1.1.7 range-parser: 1.2.0 raw-body: 2.3.2 -read-all-stream: 3.1.0 -read-installed: 3.1.5 read-package-json: 1.3.3 +read-all-stream: 3.1.0 readable-stream: 2.3.3 readdir-scoped-modules: 1.0.2 -readline2: 1.0.1 rechoir: 0.6.2 regenerator-runtime: 0.10.5 +readline2: 1.0.1 regex-cache: 0.4.4 registry-auth-token: 3.3.1 registry-url: 3.1.0 remove-trailing-separator: 1.1.0 +replace-ext: 0.0.1 +require-uncached: 1.0.3 +replacestream: 4.0.3 repeat-element: 1.1.2 repeat-string: 1.6.1 +resolve-from: 1.0.1 repeating: 2.0.1 -replace-ext: 0.0.1 -replacestream: 4.0.3 -request: 2.79.0 -require-uncached: 1.0.3 resolve: 1.4.0 resolve-dir: 0.1.1 -resolve-from: 1.0.1 -restore-cursor: 1.0.1 -right-align: 0.1.3 -run-async: 0.1.0 run-sequence: 1.2.2 -rx-lite: 3.1.2 +right-align: 0.1.3 safe-buffer: 5.1.1 +request: 2.79.0 +restore-cursor: 1.0.1 +rx-lite: 3.1.2 +run-async: 0.1.0 +sequencify: 0.0.7 samsam: 1.1.2 -sauce-connect-launcher: 1.2.2 +serve-static: 1.13.1 semver-diff: 2.1.0 send: 0.11.1 -sequencify: 0.0.7 -serve-static: 1.13.1 -serve-waterfall: 1.1.1 -server-destroy: 1.0.1 -setprototypeof: 1.0.3 sigmund: 1.0.1 -sinon: 1.17.7 +server-destroy: 1.0.1 +sauce-connect-launcher: 1.2.2 +serve-waterfall: 1.1.1 +slide: 1.1.6 sinon-chai: 2.14.0 +setprototypeof: 1.0.3 slice-ansi: 0.0.4 -slide: 1.1.6 sntp: 1.0.9 -socket.io: 1.7.4 +sinon: 1.17.7 +sparkles: 1.0.0 socket.io-adapter: 0.5.0 socket.io-client: 1.7.4 -socket.io-parser: 2.3.1 source-map: 0.5.7 -sparkles: 1.0.0 sprintf-js: 1.0.3 -stacky: 1.3.1 -statuses: 1.3.1 stream-combiner: 0.2.2 +socket.io: 1.7.4 stream-consume: 0.1.0 +statuses: 1.3.1 streamsearch: 0.1.2 -string-width: 1.0.2 -string_decoder: 1.0.3 -stringstream: 0.0.5 strip-ansi: 3.0.1 +stacky: 1.3.1 strip-json-comments: 2.0.1 +socket.io-parser: 2.3.1 supports-color: 2.0.0 +string-width: 1.0.2 +stringstream: 0.0.5 +textextensions: 1.0.2 table: 3.8.3 -tar-stream: 1.5.2 +string_decoder: 1.0.3 +through2: 2.0.3 temp: 0.8.3 +through: 2.3.8 test-fixture: 3.0.0-rc.1 text-table: 0.2.0 -textextensions: 1.0.2 -through: 2.3.8 -through2: 2.0.3 tildify: 1.2.0 time-stamp: 1.1.0 -timed-out: 3.1.3 to-array: 0.1.4 to-iso-string: 0.0.2 -tough-cookie: 2.3.3 tryit: 1.0.3 +timed-out: 3.1.3 +type-check: 0.3.2 +tar-stream: 1.5.2 +tough-cookie: 2.3.3 tunnel-agent: 0.4.3 tweetnacl: 0.14.5 -type-check: 0.3.2 type-detect: 1.0.0 type-is: 1.6.15 typedarray: 0.0.6 +unique-stream: 1.0.0 uglify-to-browserify: 1.0.2 -ultron: 1.0.2 unc-path-regex: 0.1.2 +ultron: 1.0.2 underscore: 1.6.0 underscore.string: 3.0.3 -unique-stream: 1.0.0 +util-deprecate: 1.0.2 +util-extend: 1.0.3 unpipe: 1.0.0 -unzip-response: 1.0.2 -update-notifier: 0.6.3 urijs: 1.16.1 url-parse-lax: 1.0.0 +unzip-response: 1.0.2 util: 0.10.3 -util-deprecate: 1.0.2 -util-extend: 1.0.3 utils-merge: 1.0.1 +update-notifier: 0.6.3 +vinyl-fs: 0.3.14 +vinyl: 0.5.3 uuid: 2.0.3 v8flags: 2.1.1 vargs: 0.1.0 -vary: 1.1.2 verror: 1.10.0 -vinyl: 0.5.3 -vinyl-fs: 0.3.14 +vary: 1.1.2 wct-local: 2.0.15 -wct-sauce: 1.8.6 widest-line: 1.0.0 -window-size: 0.1.0 -wordwrap: 1.0.0 wrappy: 1.0.2 +wordwrap: 1.0.0 +window-size: 0.1.0 write: 0.2.1 write-file-atomic: 1.3.4 -ws: 1.1.4 wtf-8: 1.0.0 +ws: 1.1.4 +wct-sauce: 1.8.6 +xtend: 4.0.1 xdg-basedir: 2.0.0 +xmlhttprequest-ssl: 1.5.3 xmlbuilder: 8.2.2 xmldom: 0.1.27 -xmlhttprequest-ssl: 1.5.3 -xtend: 4.0.1 -yargs: 3.10.0 yauzl: 2.8.0 -yeast: 0.1.2 -zip-stream: 0.5.2 acorn: 5.1.2 -escodegen: 1.9.0 +zip-stream: 0.5.2 +yargs: 3.10.0 +yeast: 0.1.2 eslint: 3.19.0 +escodegen: 1.9.0 esprima: 4.0.0 gulp: 3.9.1 har-validator: 2.0.6 @@ -553,8 +553,8 @@ node-uuid: 1.4.8 nopt: 3.0.6 rc: 1.2.2 rimraf: 2.6.2 -selenium-standalone: 5.11.2 semver: 4.3.6 +selenium-standalone: 5.11.2 shelljs: 0.7.8 sshpk: 1.13.1 strip-bom: 1.0.0 @@ -562,15 +562,15 @@ uglify-js: 2.8.29 user-home: 1.1.1 vulcanize: 1.16.0 wd: 0.3.12 -web-component-tester: 4.3.6 which: 1.3.0 +web-component-tester: 4.3.6 REPO REVISIONS ============== -polymer-1.x: ca2d8a57f57ee5c46195e8edb36e3e631ed5540e +polymer-1.x: 6188101a15d6853ed5987af7c91d10f52eb0d344 BUILD HASHES ============ polymer-mini.html: 41538c3e880a3db75fc80c61a8b9e5a3e831de7d -polymer-micro.html: 24a7ebac181ee0813a50d3dc2f7bea275e251ba0 -polymer.html: e6c3fb6d87676a1e0ad07c92e17a3c65612022bb \ No newline at end of file +polymer-micro.html: 8b60d18f77da094e7a84932903877646644a5700 +polymer.html: a7c1f33478141ed2915e6c54b0f05a50066499b9 \ No newline at end of file diff --git a/polymer-micro.html b/polymer-micro.html index a9235195a5..7219b82287 100644 --- a/polymer-micro.html +++ b/polymer-micro.html @@ -791,7 +791,7 @@ return value != null ? value : undefined; } } -});Polymer.version = "1.11.0";Polymer.Base._addFeature({ +});Polymer.version = "1.11.1";Polymer.Base._addFeature({ _registerFeatures: function () { this._prepIs(); this._prepBehaviors(); diff --git a/polymer.html b/polymer.html index 227104e17e..5d0439372c 100644 --- a/polymer.html +++ b/polymer.html @@ -572,7 +572,10 @@ } catch (e) { } }()); -function PASSIVE_TOUCH() { +function PASSIVE_TOUCH(eventName) { +if (isMouseEvent(eventName) || eventName === 'touchend') { +return; +} if (HAS_NATIVE_TA && SUPPORTS_PASSIVE && Polymer.Settings.passiveTouchGestures) { return { passive: true }; } @@ -805,8 +808,7 @@ gobj[dep] = gd = { _count: 0 }; } if (gd._count === 0) { -var options = !isMouseEvent(dep) && PASSIVE_TOUCH(); -node.addEventListener(dep, this.handleNative, options); +node.addEventListener(dep, this.handleNative, PASSIVE_TOUCH(dep)); } gd[name] = (gd[name] || 0) + 1; gd._count = (gd._count || 0) + 1; @@ -830,8 +832,7 @@ gd[name] = (gd[name] || 1) - 1; gd._count = (gd._count || 1) - 1; if (gd._count === 0) { -var options = !isMouseEvent(dep) && PASSIVE_TOUCH(); -node.removeEventListener(dep, this.handleNative, options); +node.removeEventListener(dep, this.handleNative, PASSIVE_TOUCH(dep)); } } } @@ -2525,7 +2526,7 @@ OPEN_BRACE: '{', CLOSE_BRACE: '}', _rx: { -comments: /\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim, +comments: /\/\*[^*]*\*+([^\/*][^*]*\*+)*\//gim, port: /@import[^;]*;/gim, customProp: /(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim, mixinProp: /(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim, @@ -2541,6 +2542,8 @@ }();Polymer.StyleUtil = function () { var settings = Polymer.Settings; return { +unscopedStyleImports: new WeakMap(), +SHADY_UNSCOPED_ATTR: 'shady-unscoped', NATIVE_VARIABLES: Polymer.Settings.useNativeCSSProperties, MODULE_STYLES_SELECTOR: 'style, link[rel=import][type~=css], template', INCLUDE_ATTR: 'include', @@ -2648,7 +2651,7 @@ return placeHolder; }, cssFromModules: function (moduleIds, warnIfNotFound) { -var modules = moduleIds.trim().split(' '); +var modules = moduleIds.trim().split(/\s+/); var cssText = ''; for (var i = 0; i < modules.length; i++) { cssText += this.cssFromModule(modules[i], warnIfNotFound); @@ -2683,9 +2686,26 @@ } e = e.__appliedElement || e; e.parentNode.removeChild(e); -cssText += this.resolveCss(e.textContent, element.ownerDocument); +var css = this.resolveCss(e.textContent, element.ownerDocument); +if (!settings.useNativeShadow && e.hasAttribute(this.SHADY_UNSCOPED_ATTR)) { +e.textContent = css; +document.head.insertBefore(e, document.head.firstChild); +} else { +cssText += css; +} } else if (e.import && e.import.body) { -cssText += this.resolveCss(e.import.body.textContent, e.import); +var importCss = this.resolveCss(e.import.body.textContent, e.import); +if (!settings.useNativeShadow && e.hasAttribute(this.SHADY_UNSCOPED_ATTR)) { +if (!this.unscopedStyleImports.has(e.import)) { +this.unscopedStyleImports.set(e.import, true); +var importStyle = document.createElement('style'); +importStyle.setAttribute(this.SHADY_UNSCOPED_ATTR, ''); +importStyle.textContent = importCss; +document.head.insertBefore(importStyle, document.head.firstChild); +} +} else { +cssText += importCss; +} } } } @@ -2890,19 +2910,36 @@ } return p$.join(COMPLEX_SELECTOR_SEP); }, +_ensureScopedDir: function (s) { +var m = s.match(DIR_PAREN); +if (m && m[1] === '' && m[0].length === s.length) { +s = '*' + s; +} +return s; +}, +_additionalDirSelectors: function (dir, after, prefix) { +if (!dir || !after) { +return ''; +} +prefix = prefix || ''; +return COMPLEX_SELECTOR_SEP + prefix + ' ' + dir + ' ' + after; +}, _transformComplexSelector: function (selector, scope, hostScope) { var stop = false; var hostContext = false; +var dir = false; var self = this; selector = selector.trim(); selector = this._slottedToContent(selector); selector = selector.replace(ROOT, ':host > *'); selector = selector.replace(CONTENT_START, HOST + ' $1'); +selector = this._ensureScopedDir(selector); selector = selector.replace(SIMPLE_SELECTOR_SEP, function (m, c, s) { if (!stop) { var info = self._transformCompoundSelector(s, c, scope, hostScope); stop = stop || info.stop; hostContext = hostContext || info.hostContext; +dir = dir || info.dir; c = info.combinator; s = info.value; } else { @@ -2912,14 +2949,28 @@ }); if (hostContext) { selector = selector.replace(HOST_CONTEXT_PAREN, function (m, pre, paren, post) { -return pre + paren + ' ' + hostScope + post + COMPLEX_SELECTOR_SEP + ' ' + pre + hostScope + paren + post; +var replacement = pre + paren + ' ' + hostScope + post + COMPLEX_SELECTOR_SEP + ' ' + pre + hostScope + paren + post; +if (dir) { +replacement += self._additionalDirSelectors(paren, post, hostScope); +} +return replacement; }); } return selector; }, +_transformDir: function (s) { +s = s.replace(HOST_DIR, HOST_DIR_REPLACE); +s = s.replace(DIR_PAREN, DIR_REPLACE); +return s; +}, _transformCompoundSelector: function (selector, combinator, scope, hostScope) { var jumpIndex = selector.search(SCOPE_JUMP); var hostContext = false; +var dir = false; +if (selector.match(DIR_PAREN)) { +selector = this._transformDir(selector); +dir = true; +} if (selector.indexOf(HOST_CONTEXT) >= 0) { hostContext = true; } else if (selector.indexOf(HOST) >= 0) { @@ -2935,12 +2986,12 @@ selector = selector.replace(SCOPE_JUMP, ' '); stop = true; } -selector = selector.replace(DIR_PAREN, DIR_REPLACE); return { value: selector, combinator: combinator, stop: stop, -hostContext: hostContext +hostContext: hostContext, +dir: dir }; }, _transformSimpleSelector: function (selector, scope) { @@ -2991,10 +3042,14 @@ }, _dirShadowTransform: function (selector) { return selector.split(',').map(function (s) { -s = s.replace(HOST_DIR, HOST_DIR_REPLACE); -s = s.replace(DIR_PAREN, SHADOW_DIR_REPLACE); +s = this._ensureScopedDir(s); +s = this._transformDir(s); +var m = HOST_CONTEXT_PAREN.exec(s); +if (m) { +s += this._additionalDirSelectors(m[2], m[3], ''); +} return s; -}).join(','); +}, this).join(','); }, SCOPE_NAME: 'style-scope' }; @@ -3019,9 +3074,8 @@ var SELECTOR_NO_MATCH = 'should_not_match'; var SLOTTED_PAREN = /(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/g; var HOST_OR_HOST_GT_STAR = /:host(?:\s*>\s*\*)?/; -var DIR_PAREN = /(.*):dir\((ltr|rtl)\)/g; -var DIR_REPLACE = '[dir="$2"] $1, $1[dir="$2"]'; -var SHADOW_DIR_REPLACE = ':host-context([dir="$2"]) $1'; +var DIR_PAREN = /(.*):dir\((ltr|rtl)\)/; +var DIR_REPLACE = ':host-context([dir="$2"]) $1'; var HOST_DIR = /:host\(:dir\((rtl|ltr)\)\)/g; var HOST_DIR_REPLACE = ':host-context([dir="$1"])'; return api; @@ -3704,13 +3758,18 @@ rule.transformedSelector = rule.transformedSelector || rule.selector; rule.selector = rule.transformedSelector.replace(rule.keyframesName, rule.transformedKeyframesName); }, +_hasDirOrHostContext: function (parsedSelector) { +return /:host-context|:dir/.test(parsedSelector); +}, _scopeSelector: function (rule, hostRx, hostSelector, viaAttr, scopeId) { rule.transformedSelector = rule.transformedSelector || rule.selector; var selector = rule.transformedSelector; -var scope = viaAttr ? '[' + styleTransformer.SCOPE_NAME + '~=' + scopeId + ']' : '.' + scopeId; +var scope = styleTransformer._calcElementScope(scopeId, viaAttr); +var hostScope = styleTransformer._calcElementScope(hostSelector, viaAttr); var parts = selector.split(','); +var isDirOrHostContextSelector = this._hasDirOrHostContext(rule.parsedSelector); for (var i = 0, l = parts.length, p; i < l && (p = parts[i]); i++) { -parts[i] = p.match(hostRx) ? p.replace(hostSelector, scope) : scope + ' ' + p; +parts[i] = p.match(hostRx) ? p.replace(hostSelector, scope) : isDirOrHostContextSelector ? p.replace(hostScope, scope + ' ' + hostScope) : scope + ' ' + p; } rule.selector = parts.join(','); },