New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@github/include-fragment-element

Package Overview
Dependencies
Maintainers
19
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/include-fragment-element - npm Package Compare versions

Comparing version 5.3.2 to 6.0.0

1

dist/index.d.ts

@@ -11,2 +11,3 @@ export default class IncludeFragmentElement extends HTMLElement {

attributeChangedCallback(attribute: string, oldVal: string | null): void;
constructor();
connectedCallback(): void;

@@ -13,0 +14,0 @@ request(): Request;

@@ -133,2 +133,12 @@ const privateData = new WeakMap();

}
constructor() {
super();
this.attachShadow({ mode: 'open' }).innerHTML = `
<style>
:host {
display: block;
}
</style>
<slot></slot>`;
}
connectedCallback() {

@@ -135,0 +145,0 @@ if (this.src && this.loading === 'eager') {

18

package.json
{
"name": "@github/include-fragment-element",
"version": "5.3.2",
"version": "6.0.0",
"main": "dist/index.js",

@@ -17,3 +17,3 @@ "module": "dist/index.js",

"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "tsc && cp src/index.css dist/index.css",
"build": "tsc",
"pretest": "npm run build",

@@ -27,13 +27,13 @@ "test": "karma start ./test/karma.config.cjs",

"@github/prettier-config": "0.0.4",
"chai": "^4.2.0",
"eslint": "^6.5.1",
"eslint-plugin-github": "^4.0.1",
"karma": "^5.0.9",
"chai": "^4.3.4",
"eslint": "^7.31.0",
"eslint-plugin-github": "^4.1.5",
"karma": "^6.3.4",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-firefox-launcher": "^1.2.0",
"karma-firefox-launcher": "^2.1.1",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^7.2.0",
"typescript": "^3.9.3"
"mocha": "^9.0.3",
"typescript": "^4.3.5"
},

@@ -40,0 +40,0 @@ "eslintIgnore": [

@@ -56,4 +56,2 @@ # &lt;include-fragment&gt; element

The
### Errors

@@ -60,0 +58,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