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

@genesislcap/foundation-utils

Package Overview
Dependencies
Maintainers
1
Versions
1142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@genesislcap/foundation-utils - npm Package Compare versions

Comparing version 13.1.0 to 13.2.0-pa-659.1

dist/dts/directives/when-else/index.d.ts

1

dist/dts/directives/index.d.ts
export * from './sync';
export * from './when-else';
//# sourceMappingURL=index.d.ts.map

@@ -9,2 +9,3 @@ export type Listener<EventType> = (ev: EventType) => void;

export declare const createObserver: <EventType>() => Observer<EventType>;
export declare const respondToVisibility: (element: HTMLElement, callback: (arg0: boolean) => any) => void;
//# sourceMappingURL=observer.d.ts.map
export * from './sync';
export * from './when-else';

@@ -13,1 +13,12 @@ export const createObserver = () => {

};
export const respondToVisibility = (element, callback) => {
const options = {
root: document.documentElement,
};
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
callback(entry.intersectionRatio > 0);
});
}, options);
observer.observe(element);
};

4

package.json
{
"name": "@genesislcap/foundation-utils",
"description": "Genesis Foundation Utils",
"version": "13.1.0",
"version": "13.2.0-pa-659.1",
"sideEffects": false,

@@ -93,3 +93,3 @@ "license": "SEE LICENSE IN license.txt",

},
"gitHead": "39bf570c9614148441adcf214ce2a56ab7984174"
"gitHead": "5f7cfea7d5fc30205cb5f930d6f69c0b72a12ccf"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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