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

semantic-network

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

semantic-network - npm Package Compare versions

Comparing version 0.7.27 to 0.7.28

6

lib/es5/representation/loadOnStaleETagAddNoCacheHeaderStrategy.js

@@ -15,2 +15,8 @@ "use strict";

return {
/**
* WARNING: if this is a CORS request that both pragma and cache-control must be registered as exposed
* Access-Control-Allow-Headers (otherwise failed CORS request in browser)
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers
*/
headers: {

@@ -17,0 +23,0 @@ // http 1.0 - @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching

2

lib/es5/representation/trackedRepresentationFactory.js

@@ -310,2 +310,4 @@ "use strict";

trackedState.headers = this.mergeHeaders(trackedState.headers, response.headers);
// clear any feed headers, for example eager feed item eTags are no longer needed
trackedState.feedHeaders = {};
// save the across-the-wire metadata, so we can check for collisions/staleness

@@ -312,0 +314,0 @@ trackedState.previousStatus = trackedState.status;

@@ -12,2 +12,8 @@ /**

return {
/**
* WARNING: if this is a CORS request that both pragma and cache-control must be registered as exposed
* Access-Control-Allow-Headers (otherwise failed CORS request in browser)
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers
*/
headers: {

@@ -14,0 +20,0 @@ // http 1.0 - @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching

@@ -239,2 +239,4 @@ import { __awaiter } from "tslib";

trackedState.headers = this.mergeHeaders(trackedState.headers, response.headers);
// clear any feed headers, for example eager feed item eTags are no longer needed
trackedState.feedHeaders = {};
// save the across-the-wire metadata, so we can check for collisions/staleness

@@ -241,0 +243,0 @@ trackedState.previousStatus = trackedState.status;

2

package.json
{
"name": "semantic-network",
"version": "0.7.27",
"version": "0.7.28",
"description": "A utility library for manipulating a list of links that form a semantic interface to a network of resources.",

@@ -5,0 +5,0 @@ "main": "lib/es5/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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