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

@ng-web-apis/common

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ng-web-apis/common - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

esm2015/tokens/screen.js

5

bundles/ng-web-apis-common.umd.js

@@ -86,2 +86,6 @@ (function (global, factory) {

var SCREEN = new core.InjectionToken('An abstraction over window.screen object', {
factory: function () { return core.inject(WINDOW).screen; },
});
var SESSION_STORAGE = new core.InjectionToken('An abstraction over window.sessionStorage object', {

@@ -126,2 +130,3 @@ factory: function () { return core.inject(WINDOW).sessionStorage; },

exports.PERFORMANCE = PERFORMANCE;
exports.SCREEN = SCREEN;
exports.SESSION_STORAGE = SESSION_STORAGE;

@@ -128,0 +133,0 @@ exports.SPEECH_RECOGNITION = SPEECH_RECOGNITION;

3

esm2015/public-api.js

@@ -16,2 +16,3 @@ /**

export * from './tokens/performance';
export * from './tokens/screen';
export * from './tokens/session-storage';

@@ -22,2 +23,2 @@ export * from './tokens/speech-recognition';

export * from './tokens/window';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NvbW1vbi9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUNILGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLG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 import { InjectionToken, inject } from '@angular/core';

const SCREEN = new InjectionToken('An abstraction over window.screen object', {
factory: () => inject(WINDOW).screen,
});
const SESSION_STORAGE = new InjectionToken('An abstraction over window.sessionStorage object', {

@@ -113,3 +117,3 @@ factory: () => inject(WINDOW).sessionStorage,

export { ANIMATION_FRAME, CACHES, CRYPTO, CSS, HISTORY, LOCAL_STORAGE, LOCATION, MEDIA_DEVICES, NAVIGATOR, NETWORK_INFORMATION, PAGE_VISIBILITY, PERFORMANCE, SESSION_STORAGE, SPEECH_RECOGNITION, SPEECH_SYNTHESIS, USER_AGENT, WINDOW };
export { ANIMATION_FRAME, CACHES, CRYPTO, CSS, HISTORY, LOCAL_STORAGE, LOCATION, MEDIA_DEVICES, NAVIGATOR, NETWORK_INFORMATION, PAGE_VISIBILITY, PERFORMANCE, SCREEN, SESSION_STORAGE, SPEECH_RECOGNITION, SPEECH_SYNTHESIS, USER_AGENT, WINDOW };
//# sourceMappingURL=ng-web-apis-common.js.map
{
"name": "@ng-web-apis/common",
"version": "2.0.1",
"version": "2.1.0",
"peerDependencies": {

@@ -5,0 +5,0 @@ "@angular/common": ">=12.0.0",

@@ -16,2 +16,3 @@ /**

export * from './tokens/performance';
export * from './tokens/screen';
export * from './tokens/session-storage';

@@ -18,0 +19,0 @@ export * from './tokens/speech-recognition';

@@ -26,2 +26,3 @@ Common utils for Web APIs

- `LOCAL_STORAGE` — provides access to `window.localStorage` object
- `SCREEN` — provides access to `window.screen` object
- `SESSION_STORAGE` — provides access to `window.sessionStorage` object

@@ -28,0 +29,0 @@ - `SPEECH_RECOGNITION` — provides access to `SpeechRecognition` class or returns `null` if browser does not support it

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