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

@xo-union/url-template

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xo-union/url-template - npm Package Compare versions

Comparing version 1.2.6-canary-8f51fcd95.0 to 1.2.6

10

lib/index.cjs.js

@@ -25,2 +25,6 @@ "use strict";

function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
var _templateString = /*#__PURE__*/new _weakMap.default();

@@ -38,3 +42,3 @@

_templateString.set(this, {
_classPrivateFieldInitSpec(this, _templateString, {
writable: true,

@@ -44,3 +48,3 @@ value: void 0

_variables.set(this, {
_classPrivateFieldInitSpec(this, _variables, {
writable: true,

@@ -50,3 +54,3 @@ value: void 0

_replacer.set(this, {
_classPrivateFieldInitSpec(this, _replacer, {
writable: true,

@@ -53,0 +57,0 @@ value: function value(_match, capture) {

@@ -6,2 +6,7 @@ import _classCallCheck from "@babel/runtime-corejs3/helpers/esm/classCallCheck";

import _WeakMap from "@babel/runtime-corejs3/core-js/weak-map";
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
import { parse, format } from "url";

@@ -21,3 +26,3 @@

_templateString.set(this, {
_classPrivateFieldInitSpec(this, _templateString, {
writable: true,

@@ -27,3 +32,3 @@ value: void 0

_variables.set(this, {
_classPrivateFieldInitSpec(this, _variables, {
writable: true,

@@ -33,3 +38,3 @@ value: void 0

_replacer.set(this, {
_classPrivateFieldInitSpec(this, _replacer, {
writable: true,

@@ -36,0 +41,0 @@ value: function value(_match, capture) {

{
"name": "@xo-union/url-template",
"version": "1.2.6-canary-8f51fcd95.0",
"version": "1.2.6",
"sideEffects": false,

@@ -15,4 +15,4 @@ "main": "lib/index.cjs.js",

"devDependencies": {
"@xo-union/packager": "4.3.1-canary-8f51fcd95.0",
"@xo-union/pkg-validator": "3.1.3-canary-8f51fcd95.0"
"@xo-union/packager": "^4.3.1",
"@xo-union/pkg-validator": "^3.1.2"
},

@@ -25,3 +25,3 @@ "files": [

},
"gitHead": "ced5600af7eaad43ada5ef17f2d25c55f1c7d094"
"gitHead": "05cbf686532e5ad2f052ab7d835c81e05c26d70e"
}
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