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

@sitecore-cloudsdk/utils

Package Overview
Dependencies
Maintainers
0
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitecore-cloudsdk/utils - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0-rc.0

dist/cjs/src/lib/browser/appendScriptWithAttributes.d.ts

1

dist/cjs/src/index.d.ts

@@ -21,4 +21,5 @@ export { createCookieString } from './lib/cookies/create-cookie-string';

export { isValidLocation } from './lib/validators/is-valid-location';
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes';
export type { Request, Response, MiddlewareNextResponse, HttpResponse, MiddlewareRequest, HttpRequest, BasicTypes } from './lib/interfaces';
export type { Cookie, CookieProperties } from './lib/cookies/interfaces';
export type { NestedObject, FlattenedObject } from './lib/converters/flatten-object';

4

dist/cjs/src/index.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.isValidLocation = exports.isValidHttpURL = exports.ErrorMessages = exports.normalizeHeaders = exports.generateV4UUID = exports.omit = exports.isValidEmail = exports.isShortISODateString = exports.flattenObject = exports.cookieExists = exports.getCookieServerSide = exports.getCookie = exports.isHttpResponse = exports.isHttpRequest = exports.isNextJsMiddlewareResponse = exports.isNextJsMiddlewareRequest = exports.getCookieValueClientSide = exports.fetchWithTimeout = exports.createCookieString = void 0;
exports.appendScriptWithAttributes = exports.isValidLocation = exports.isValidHttpURL = exports.ErrorMessages = exports.normalizeHeaders = exports.generateV4UUID = exports.omit = exports.isValidEmail = exports.isShortISODateString = exports.flattenObject = exports.cookieExists = exports.getCookieServerSide = exports.getCookie = exports.isHttpResponse = exports.isHttpRequest = exports.isNextJsMiddlewareResponse = exports.isNextJsMiddlewareRequest = exports.getCookieValueClientSide = exports.fetchWithTimeout = exports.createCookieString = void 0;
var create_cookie_string_1 = require("./lib/cookies/create-cookie-string");

@@ -59,1 +59,3 @@ Object.defineProperty(exports, "createCookieString", { enumerable: true, get: function () { return create_cookie_string_1.createCookieString; } });

Object.defineProperty(exports, "isValidLocation", { enumerable: true, get: function () { return is_valid_location_1.isValidLocation; } });
var appendScriptWithAttributes_1 = require("./lib/browser/appendScriptWithAttributes");
Object.defineProperty(exports, "appendScriptWithAttributes", { enumerable: true, get: function () { return appendScriptWithAttributes_1.appendScriptWithAttributes; } });
"use strict";
// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
Object.defineProperty(exports, "__esModule", { value: true });

@@ -4,0 +3,0 @@ exports.isNextJsMiddlewareRequest = void 0;

@@ -21,4 +21,5 @@ export { createCookieString } from './lib/cookies/create-cookie-string';

export { isValidLocation } from './lib/validators/is-valid-location';
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes';
export type { Request, Response, MiddlewareNextResponse, HttpResponse, MiddlewareRequest, HttpRequest, BasicTypes } from './lib/interfaces';
export type { Cookie, CookieProperties } from './lib/cookies/interfaces';
export type { NestedObject, FlattenedObject } from './lib/converters/flatten-object';

@@ -22,1 +22,2 @@ // © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.

export { isValidLocation } from './lib/validators/is-valid-location';
export { appendScriptWithAttributes } from './lib/browser/appendScriptWithAttributes';

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

// © Sitecore Corporation A/S. All rights reserved. Sitecore® is a registered trademark of Sitecore Corporation A/S.
/**

@@ -3,0 +2,0 @@ * Checks if the given 'request' object is a valid Middleware Request

{
"name": "@sitecore-cloudsdk/utils",
"version": "0.3.1",
"version": "0.4.0-rc.0",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "main": "dist/cjs/src/index.js",

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