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

crossdomainxml

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crossdomainxml - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

11

index.js

@@ -124,8 +124,9 @@ 'use strict';

fs.writeFile(path.join(options.dest, 'crossdomain.xml'), $.xml(), function (error) {
if (error) {
throw error;
var contents = $.xml();
fs.writeFile(path.join(options.dest, 'crossdomain.xml'), contents, function (error) {
if (callback) {
callback(error, contents);
} else {
if (callback) {
callback();
if (error) {
throw new Error(error);
}

@@ -132,0 +133,0 @@ }

{
"name": "crossdomainxml",
"version": "1.0.3",
"version": "1.0.4",
"description": "Generate crossdomain.xml file and middleware for express/connect framework",

@@ -5,0 +5,0 @@ "license": "MIT",

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