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.5 to 0.0.6

4

build/cjs/src/__tests__/testNode.js

@@ -23,3 +23,3 @@ "use strict";

var d = (0, _index.doc)();
(0, _chai.expect)(d["null"]).to.be["true"];
(0, _chai.expect)(d.__null).to.be["true"];
});

@@ -39,4 +39,4 @@ });

var w = (0, _index.win)();
(0, _chai.expect)(w["null"]).to.be["true"];
(0, _chai.expect)(w.__null).to.be["true"];
});
});

@@ -15,3 +15,3 @@ "use strict";

return 'undefined' !== typeof w.document ? w.document : {
"null": true
__null: true
};

@@ -24,3 +24,3 @@ };

return 'undefined' !== typeof window ? window : {
"null": true
__null: true
};

@@ -27,0 +27,0 @@ };

@@ -16,3 +16,3 @@ import { win, doc } from '../index.js';

var d = doc();
expect(d["null"]).to.be["true"];
expect(d.__null).to.be["true"];
});

@@ -32,4 +32,4 @@ });

var w = win();
expect(w["null"]).to.be["true"];
expect(w.__null).to.be["true"];
});
});

@@ -8,3 +8,3 @@ /**

return 'undefined' !== typeof w.document ? w.document : {
"null": true
__null: true
};

@@ -15,3 +15,3 @@ };

return 'undefined' !== typeof window ? window : {
"null": true
__null: true
};

@@ -18,0 +18,0 @@ };

{
"name": "win-doc",
"version": "0.0.5",
"version": "0.0.6",
"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