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

can-fixture

Package Overview
Dependencies
Maintainers
12
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-fixture - npm Package Compare versions

Comparing version 3.0.0-pre.11 to 3.0.0

helpers/legacyStore.js

1

build.js

@@ -0,1 +1,2 @@

"use strict";
var stealTools = require("steal-tools");

@@ -2,0 +3,0 @@ var globalJS = require("steal-tools/lib/build/helpers/global").js;

@@ -0,1 +1,2 @@

"use strict";
// Adds

@@ -186,2 +187,9 @@ var sub = require("can-key/sub/sub");

//!steal-remove-start
if(process.env.NODE_ENV !== 'production') {
var json = JSON.stringify(xhrSettings.data);
canLog.log("" + xhrSettings.type.toUpperCase() + " " + xhrSettings.url+" "+json.substr(0,50)+" -> handler(req,res)");
}
//!steal-remove-end
var response = function(){

@@ -188,0 +196,0 @@ var res = exports.extractResponse.apply(xhrSettings, arguments);

@@ -0,1 +1,2 @@

"use strict";
var core = require("./core");

@@ -2,0 +3,0 @@ var fixture = core.add;

@@ -0,1 +1,2 @@

"use strict";
// Attemps to guess where the id is in an AJAX call's URL and returns it.

@@ -2,0 +3,0 @@ module.exports = function (xhrSettings, fixtureSettings) {

4

package.json
{
"name": "can-fixture",
"version": "3.0.0-pre.11",
"version": "3.0.0",
"description": "Intercept AJAX requests and simulate responses.",

@@ -36,3 +36,3 @@ "main": "fixture.js",

"steal-tools": "^1.0.0",
"testee": "^0.7.0"
"testee": "^0.8.0"
},

@@ -39,0 +39,0 @@ "repository": {

@@ -0,1 +1,2 @@

"use strict";
/* global require, window, global */

@@ -2,0 +3,0 @@ /* global setTimeout, clearTimeout, XMLHttpRequest */

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