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

@lrnwebcomponents/full-width-image

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lrnwebcomponents/full-width-image - npm Package Compare versions

Comparing version 2.4.1 to 2.5.0

777

analysis.json

@@ -10,94 +10,2 @@ {

{
"name": "_hasConnected",
"type": "?",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 472,
"column": 4
},
"end": {
"line": 474,
"column": 5
}
},
"metadata": {
"polymer": {
"readOnly": true
}
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_hasRequestedUpdate",
"type": "?",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 475,
"column": 4
},
"end": {
"line": 477,
"column": 5
}
},
"metadata": {
"polymer": {
"readOnly": true
}
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "hasUpdated",
"type": "?",
"description": "",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 478,
"column": 4
},
"end": {
"line": 480,
"column": 5
}
},
"metadata": {
"polymer": {
"readOnly": true
}
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "updateComplete",
"type": "Promise",
"description": "Returns a Promise that resolves when the element has completed updating.\nThe Promise value is a boolean that is `true` if the element completed the\nupdate without triggering another update. The Promise result is `false` if\na property was set inside `updated()`. If the Promise is rejected, an\nexception was thrown during the update.\n\nTo await additional asynchronous work, override the `_getUpdateComplete`\nmethod. For example, it is sometimes useful to await a rendered element\nbefore fulfilling this Promise. To do this, first await\n`super._getUpdateComplete()`, then any subsequent state.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 547,
"column": 4
},
"end": {
"line": 549,
"column": 5
}
},
"metadata": {
"polymer": {
"readOnly": true
}
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "source",

@@ -147,398 +55,19 @@ "type": "string | null | undefined",

{
"name": "initialize",
"description": "Performs element initialization. By default this calls `createRenderRoot`\nto create the element `renderRoot` node and captures any pre-set values for\nregistered properties.",
"name": "render",
"description": "render function",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 93,
"column": 4
"line": 78,
"column": 2
},
"end": {
"line": 103,
"column": 5
"line": 89,
"column": 3
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "LitElement"
"params": []
},
{
"name": "_saveInstanceProperties",
"description": "Fixes any properties set on the instance before upgrade time.\nOtherwise these would shadow the accessor and break these properties.\nThe properties are stored in a Map which is played back after the\nconstructor runs. Note, on very old versions of Safari (<=9) or Chrome\n(<=41), properties created for native platform properties like (`id` or\n`name`) may not have default values set in the element constructor. On\nthese browsers native properties appear on instances and therefore their\ndefault value will overwrite any element default (e.g. if the element sets\nthis.id = 'id' in the constructor, the 'id' will become '' since this is\nthe native platform default).",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 281,
"column": 4
},
"end": {
"line": 295,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_applyInstanceProperties",
"description": "Applies previously saved instance properties.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 299,
"column": 4
},
"end": {
"line": 305,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "connectedCallback",
"description": "",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 153,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "LitElement"
},
{
"name": "disconnectedCallback",
"description": "Allows for `super.disconnectedCallback()` in extensions while\nreserving the possibility of making non-breaking feature additions\nwhen disconnecting at some point in the future.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 322,
"column": 4
},
"end": {
"line": 323,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "attributeChangedCallback",
"description": "Synchronizes property values when attributes change.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 331,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "old"
},
{
"name": "value"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_propertyToAttribute",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 332,
"column": 4
},
"end": {
"line": 359,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "value"
},
{
"name": "options",
"defaultValue": "defaultPropertyDeclaration"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_attributeToProperty",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 360,
"column": 4
},
"end": {
"line": 378,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "value"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_requestUpdate",
"description": "This private version of `requestUpdate` does not access or return the\n`updateComplete` promise. This promise can be overridden and is therefore\nnot free to access.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 384,
"column": 4
},
"end": {
"line": 414,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "oldValue"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "requestUpdate",
"description": "Requests an update which is processed asynchronously. This should\nbe called when an element should update based on some state not triggered\nby setting a property. In this case, pass no arguments. It should also be\ncalled when manually implementing a property setter. In this case, pass the\nproperty `name` and `oldValue` to ensure that any configured property\noptions are honored. Returns the `updateComplete` Promise which is resolved\nwhen the update completes.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 428,
"column": 4
},
"end": {
"line": 431,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name",
"description": "{PropertyKey} (optional) name of requesting property"
},
{
"name": "oldValue",
"description": "{any} (optional) old value of requesting property"
}
],
"return": {
"type": "Promise",
"desc": "A Promise that is resolved when the update completes."
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_enqueueUpdate",
"description": "Sets up the element to asynchronously update.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 435,
"column": 4
},
"end": {
"line": 471,
"column": 5
}
},
"metadata": {},
"params": [],
"inheritedFrom": "UpdatingElement"
},
{
"name": "performUpdate",
"description": "Performs an element update. Note, if an exception is thrown during the\nupdate, `firstUpdated` and `updated` will not be called.\n\nYou can override this method to change the timing of updates. If this\nmethod is overridden, `super.performUpdate()` must be called.\n\nFor instance, to schedule updates to occur just before the next frame:\n\n```\nprotected async performUpdate(): Promise<unknown> {\n await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n super.performUpdate();\n}\n```",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 497,
"column": 4
},
"end": {
"line": 527,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_markUpdated",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 528,
"column": 4
},
"end": {
"line": 531,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "_getUpdateComplete",
"description": "Override point for the `updateComplete` promise.\n\nIt is not safe to override the `updateComplete` getter directly due to a\nlimitation in TypeScript which means it is not possible to call a\nsuperclass getter (e.g. `super.updateComplete.then(...)`) when the target\nlanguage is ES5 (https://github.com/microsoft/TypeScript/issues/338).\nThis method should be overridden instead. For example:\n\n class MyElement extends LitElement {\n async _getUpdateComplete() {\n await super._getUpdateComplete();\n await this._myChild.updateComplete;\n }\n }",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 566,
"column": 4
},
"end": {
"line": 568,
"column": 5
}
},
"metadata": {},
"params": [],
"inheritedFrom": "UpdatingElement"
},
{
"name": "shouldUpdate",
"description": "Controls whether or not `update` should be called when the element requests\nan update. By default, this method always returns `true`, but this can be\ncustomized to control when to update.\n\n* @param _changedProperties Map of changed properties with old values",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 576,
"column": 4
},
"end": {
"line": 578,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "_changedProperties"
}
],
"inheritedFrom": "UpdatingElement"
},
{
"name": "update",
"description": "Updates the element. This method reflects property values to attributes\nand calls `render` to render DOM via lit-html. Setting properties inside\nthis method will *not* trigger another update.\n* @param _changedProperties Map of changed properties with old values",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 178,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "changedProperties"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "LitElement"
},
{
"name": "updated",

@@ -568,90 +97,2 @@ "description": "LitElement properties changed",

{
"name": "firstUpdated",
"description": "Invoked when the element is first updated. Implement to perform one time\nwork on the element after update.\n\nSetting properties inside this method will trigger the element to update\nagain after this update cycle completes.\n\n* @param _changedProperties Map of changed properties with old values",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 616,
"column": 4
},
"end": {
"line": 617,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "_changedProperties"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "createRenderRoot",
"description": "Returns the node into which the element should render and by default\ncreates and returns an open shadowRoot. Implement to customize where the\nelement's DOM is rendered. For example, to render into the element's\nchildNodes, return `this`.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 111,
"column": 4
},
"end": {
"line": 113,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "(Element | DocumentFragment)",
"desc": "Returns a node into which to render."
},
"inheritedFrom": "LitElement"
},
{
"name": "adoptStyles",
"description": "Applies styling to the element shadowRoot using the `static get styles`\nproperty. Styling will apply using `shadowRoot.adoptedStyleSheets` where\navailable and will fallback otherwise. When Shadow DOM is polyfilled,\nShadyCSS scopes styles and adds them to the document. When Shadow DOM\nis available but `adoptedStyleSheets` is not, styles are appended to the\nend of the `shadowRoot` to [mimic spec\nbehavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 145,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "LitElement"
},
{
"name": "render",
"description": "render function",
"privacy": "public",
"sourceRange": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 89,
"column": 3
}
},
"metadata": {},
"params": []
},
{
"name": "_sourceChanged",

@@ -681,205 +122,3 @@ "description": "",

],
"staticMethods": [
{
"name": "_ensureClassProperties",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "createProperty",
"description": "Creates a property accessor on the element prototype if one does not exist.\nThe property setter calls the property's `hasChanged` property option\nor uses a strict identity check to determine whether or not to request\nan update.",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 170,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "options",
"defaultValue": "defaultPropertyDeclaration"
}
],
"return": {
"type": "void"
},
"inheritedFrom": "UpdatingElement"
},
{
"name": "finalize",
"description": "",
"privacy": "public",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 57,
"column": 5
}
},
"metadata": {},
"params": [],
"return": {
"type": "void"
},
"inheritedFrom": "LitElement"
},
{
"name": "_attributeNameForProperty",
"description": "Returns the property name for the given attribute `name`.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 212,
"column": 4
},
"end": {
"line": 219,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "name"
},
{
"name": "options"
}
],
"inheritedFrom": "UpdatingElement"
},
{
"name": "_valueHasChanged",
"description": "Returns true if a property should request an update.\nCalled when a property value is set and uses the `hasChanged`\noption for the property if present or a strict identity check.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 226,
"column": 4
},
"end": {
"line": 228,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "value"
},
{
"name": "old"
},
{
"name": "hasChanged",
"defaultValue": "notEqual"
}
],
"inheritedFrom": "UpdatingElement"
},
{
"name": "_propertyValueFromAttribute",
"description": "Returns the property value for the given attribute value.\nCalled via the `attributeChangedCallback` and uses the property's\n`converter` or `converter.fromAttribute` property option.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 235,
"column": 4
},
"end": {
"line": 240,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "value"
},
{
"name": "options"
}
],
"inheritedFrom": "UpdatingElement"
},
{
"name": "_propertyValueToAttribute",
"description": "Returns the attribute value for the given property value. If this\nreturns undefined, the property will *not* be reflected to an attribute.\nIf this returns null, the attribute will be removed, otherwise the\nattribute will be set to the value.\nThis uses the property's `reflect` and `type.toAttribute` property options.",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lib/updating-element.js",
"start": {
"line": 249,
"column": 4
},
"end": {
"line": 258,
"column": 5
}
},
"metadata": {},
"params": [
{
"name": "value"
},
{
"name": "options"
}
],
"inheritedFrom": "UpdatingElement"
},
{
"name": "_getUniqueStyles",
"description": "",
"privacy": "protected",
"sourceRange": {
"file": "../lit-element/lit-element.js",
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
},
"metadata": {},
"params": [],
"inheritedFrom": "LitElement"
}
],
"staticMethods": [],
"demos": [

@@ -886,0 +125,0 @@ {

14

package.json

@@ -20,3 +20,3 @@ {

},
"version": "2.4.1",
"version": "2.5.0",
"description": "full width image that flows beyond boundaries",

@@ -49,13 +49,13 @@ "repository": {

"@lrnwebcomponents/deduping-fix": "^2.4.0",
"@lrnwebcomponents/storybook-utilities": "^2.4.1",
"@lrnwebcomponents/storybook-utilities": "^2.5.0",
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page",
"@polymer/iron-demo-helpers": "3.1.0",
"@webcomponents/webcomponentsjs": "^2.2.10",
"concurrently": "4.1.0",
"@webcomponents/webcomponentsjs": "2.4.1",
"concurrently": "5.1.0",
"gulp-babel": "8.0.0",
"gulp-sourcemaps": "2.6.4",
"lodash": "4.17.13",
"polymer-cli": "1.9.9",
"polymer-cli": "1.9.11",
"wct-browser-legacy": "1.0.2",
"web-animations-js": "2.3.1"
"web-animations-js": "2.3.2"
},

@@ -70,3 +70,3 @@ "private": false,

],
"gitHead": "27af689f6d96197fba00cc508a953cdd008f21b1"
"gitHead": "3f7a6e3d9f51b13c9b2abaa53b1f75f3acb46f70"
}
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