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

@aws-sdk/util-locate-window

Package Overview
Dependencies
Maintainers
7
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-locate-window - npm Package Compare versions

Comparing version 3.32.0 to 3.34.0

tsconfig.types.json

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
### Features
* **non-clients:** remove comments from transpiled JS files ([#2813](https://github.com/aws/aws-sdk-js-v3/issues/2813)) ([e6fc7f3](https://github.com/aws/aws-sdk-js-v3/commit/e6fc7f3e0fa74785590ac19e7ed143c916bb9b6e))
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)

@@ -8,0 +19,0 @@

7

dist/cjs/index.js
Object.defineProperty(exports, "__esModule", { value: true });
exports.locateWindow = void 0;
const fallbackWindow = {};
/**
* Locates the global scope for a browser or browser-like environment. If
* neither `window` nor `self` is defined by the environment, the same object
* will be returned on each invocation.
*/
function locateWindow() {

@@ -19,2 +14,2 @@ if (typeof window !== "undefined") {

exports.locateWindow = locateWindow;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxNQUFNLGNBQWMsR0FBRyxFQUFZLENBQUM7QUFFcEM7Ozs7R0FJRztBQUNILFNBQWdCLFlBQVk7SUFDMUIsSUFBSSxPQUFPLE1BQU0sS0FBSyxXQUFXLEVBQUU7UUFDakMsT0FBTyxNQUFNLENBQUM7S0FDZjtTQUFNLElBQUksT0FBTyxJQUFJLEtBQUssV0FBVyxFQUFFO1FBQ3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dEMsT0FBTyxJQUFJLENBQUM7S0FDYjtJQUVELE9BQU8sY0FBYyxDQUFDO0FBQ3hCLENBQUM7QUFSRCxvQ0FRQyIsInNvdXJjZXNDb250ZW50IjpbImNvbnN0IGZhbGxiYWNrV2luZG93ID0ge30gYXMgV2luZG93O1xuXG4vKipcbiAqIExvY2F0ZXMgdGhlIGdsb2JhbCBzY29wZSBmb3IgYSBicm93c2VyIG9yIGJyb3dzZXItbGlrZSBlbnZpcm9ubWVudC4gSWZcbiAqIG5laXRoZXIgYHdpbmRvd2Agbm9yIGBzZWxmYCBpcyBkZWZpbmVkIGJ5IHRoZSBlbnZpcm9ubWVudCwgdGhlIHNhbWUgb2JqZWN0XG4gKiB3aWxsIGJlIHJldHVybmVkIG9uIGVhY2ggaW52b2NhdGlvbi5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGxvY2F0ZVdpbmRvdygpOiBXaW5kb3cge1xuICBpZiAodHlwZW9mIHdpbmRvdyAhPT0gXCJ1bmRlZmluZWRcIikge1xuICAgIHJldHVybiB3aW5kb3c7XG4gIH0gZWxzZSBpZiAodHlwZW9mIHNlbGYgIT09IFwidW5kZWZpbmVkXCIpIHtcbiAgICByZXR1cm4gc2VsZjtcbiAgfVxuXG4gIHJldHVybiBmYWxsYmFja1dpbmRvdztcbn1cbiJdfQ==
{
"name": "@aws-sdk/util-locate-window",
"version": "3.32.0",
"version": "3.34.0",
"scripts": {
"build": "yarn build:cjs && yarn build:es && yarn build:types",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:es && yarn build:cjs",
"build:types": "tsc -p tsconfig.types.json",
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",

@@ -9,0 +10,0 @@ "test": "jest"

{
"compilerOptions": {
"strict": false,
"noImplicitUseStrict": true,
"baseUrl": ".",
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/cjs",
"baseUrl": "."
"noImplicitUseStrict": true,
"outDir": "dist/cjs",
"rootDir": "src",
"strict": false,
"strictNullChecks": true
},

@@ -13,0 +12,0 @@ "extends": "../../tsconfig.cjs.json",

{
"compilerOptions": {
"strict": false,
"noImplicitUseStrict": true,
"baseUrl": ".",
"lib": ["dom", "es5", "es2015.collection"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"lib": ["dom", "es5", "es2015.collection"],
"declarationDir": "./dist/types",
"rootDir": "./src",
"outDir": "./dist/es",
"baseUrl": "."
"noImplicitUseStrict": true,
"outDir": "dist/es",
"rootDir": "src",
"strict": false,
"strictNullChecks": true
},

@@ -14,0 +13,0 @@ "extends": "../../tsconfig.es.json",

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