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

win-doc

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win-doc - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

5

build/cjs/src/index.js

@@ -12,4 +12,5 @@ "use strict";

*/
var doc = function doc() {
return 'undefined' !== typeof document ? document : {};
var doc = function doc(w) {
w = w || win();
return 'undefined' !== typeof w.document ? w.document : {};
};

@@ -16,0 +17,0 @@

@@ -5,4 +5,5 @@ /**

*/
var doc = function doc() {
return 'undefined' !== typeof document ? document : {};
var doc = function doc(w) {
w = w || win();
return 'undefined' !== typeof w.document ? w.document : {};
};

@@ -9,0 +10,0 @@

2

package.json
{
"name": "win-doc",
"version": "0.0.3",
"version": "0.0.4",
"description": "Simple to avoid global not found error",

@@ -5,0 +5,0 @@ "repository": "react-atomic/react-atomic-organism",

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