@xo-union/url-template
Advanced tools
Comparing version 1.2.6-canary-8f51fcd95.0 to 1.2.6
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
16031
117
1