@blockchain-com/constellation
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -5,2 +5,3 @@ import debounceWithMaxCount from './utils/debounceWithMaxCount'; | ||
import queuevent from './utils/queuevent'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent }; | ||
import utmCampaignBuilder from './utils/utmCampaignBuilder'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent, utmCampaignBuilder }; |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.queuevent = exports.parseUTM = exports.parseSymbol = exports.debounceWithMaxCount = void 0; | ||
exports.utmCampaignBuilder = exports.queuevent = exports.parseUTM = exports.parseSymbol = exports.debounceWithMaxCount = void 0; | ||
const debounceWithMaxCount_1 = __importDefault(require("./utils/debounceWithMaxCount")); | ||
@@ -16,2 +16,4 @@ exports.debounceWithMaxCount = debounceWithMaxCount_1.default; | ||
exports.queuevent = queuevent_1.default; | ||
const utmCampaignBuilder_1 = __importDefault(require("./utils/utmCampaignBuilder")); | ||
exports.utmCampaignBuilder = utmCampaignBuilder_1.default; | ||
//# sourceMappingURL=index.js.map |
@@ -10,3 +10,8 @@ "use strict"; | ||
const keyValue = param.split('='); | ||
return { ...obj, [keyValue[0].slice(keyValue[0].indexOf('_') + 1)]: keyValue[1] }; | ||
let key = keyValue[0].slice(keyValue[0].indexOf('_') + 1); | ||
if (key === 'campaign') { | ||
key = 'name'; | ||
} | ||
const value = keyValue[1]; | ||
return { ...obj, [key]: value }; | ||
}, {}); | ||
@@ -13,0 +18,0 @@ return values; |
@@ -5,2 +5,3 @@ import debounceWithMaxCount from './utils/debounceWithMaxCount'; | ||
import queuevent from './utils/queuevent'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent }; | ||
import utmCampaignBuilder from './utils/utmCampaignBuilder'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent, utmCampaignBuilder }; |
@@ -5,3 +5,4 @@ import debounceWithMaxCount from './utils/debounceWithMaxCount'; | ||
import queuevent from './utils/queuevent'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent }; | ||
import utmCampaignBuilder from './utils/utmCampaignBuilder'; | ||
export { debounceWithMaxCount, parseSymbol, parseUTM, queuevent, utmCampaignBuilder }; | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,8 @@ const UTM_REGEX = /(?!&)utm_[^=]*=[^&]*/g; | ||
const keyValue = param.split('='); | ||
return { ...obj, [keyValue[0].slice(keyValue[0].indexOf('_') + 1)]: keyValue[1] }; | ||
let key = keyValue[0].slice(keyValue[0].indexOf('_') + 1); | ||
if (key === 'campaign') { | ||
key = 'name'; | ||
} | ||
const value = keyValue[1]; | ||
return { ...obj, [key]: value }; | ||
}, {}); | ||
@@ -11,0 +16,0 @@ return values; |
{ | ||
"name": "@blockchain-com/constellation", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"license": "MIT", | ||
@@ -15,8 +15,22 @@ "main": "dist/cjs/index.js", | ||
"build:esm": "tsc", | ||
"build:cjs": "tsc --module commonjs --outDir dist/cjs" | ||
"build:cjs": "tsc --module commonjs --outDir dist/cjs", | ||
"storybook": "start-storybook -p 6006", | ||
"build:storybook": "build-storybook", | ||
"deploy-storybook": "storybook-to-ghpages", | ||
"deploy:storybook": "yarn deploy-storybook --existing-output-dir=./storybook-static" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.15.0", | ||
"@mdx-js/react": "^1.6.22", | ||
"@storybook/addon-actions": "^6.3.7", | ||
"@storybook/addon-docs": "^6.3.7", | ||
"@storybook/addon-essentials": "^6.3.7", | ||
"@storybook/addon-links": "^6.3.7", | ||
"@storybook/react": "^6.3.7", | ||
"@storybook/storybook-deployer": "^2.8.10", | ||
"@types/react": "^17.0.16", | ||
"@types/react-dom": "^17.0.9", | ||
"eslint-config-constellation": "0.0.25", | ||
"@types/styled-components": "^5.1.12", | ||
"babel-loader": "^8.2.2", | ||
"eslint-config-constellation": "0.0.26", | ||
"jest": "^26.6.3", | ||
@@ -32,3 +46,6 @@ "prettier-config-constellation": "0.0.5", | ||
"react-dom": "^17.0.2" | ||
}, | ||
"dependencies": { | ||
"styled-components": "^5.3.0" | ||
} | ||
} |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22428
38
323
0
3
19
+ Addedstyled-components@^5.3.0
+ Added@ampproject/remapping@2.3.0(transitive)
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/compat-data@7.26.2(transitive)
+ Added@babel/core@7.26.0(transitive)
+ Added@babel/generator@7.26.2(transitive)
+ Added@babel/helper-annotate-as-pure@7.25.9(transitive)
+ Added@babel/helper-compilation-targets@7.25.9(transitive)
+ Added@babel/helper-module-imports@7.25.9(transitive)
+ Added@babel/helper-module-transforms@7.26.0(transitive)
+ Added@babel/helper-plugin-utils@7.25.9(transitive)
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/helper-validator-option@7.25.9(transitive)
+ Added@babel/helpers@7.26.0(transitive)
+ Added@babel/parser@7.26.2(transitive)
+ Added@babel/plugin-syntax-jsx@7.25.9(transitive)
+ Added@babel/template@7.25.9(transitive)
+ Added@babel/traverse@7.25.9(transitive)
+ Added@babel/types@7.26.0(transitive)
+ Added@emotion/is-prop-valid@1.3.1(transitive)
+ Added@emotion/memoize@0.9.0(transitive)
+ Added@emotion/stylis@0.8.5(transitive)
+ Added@emotion/unitless@0.7.5(transitive)
+ Added@jridgewell/gen-mapping@0.3.5(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Addedbabel-plugin-styled-components@2.1.4(transitive)
+ Addedbrowserslist@4.24.2(transitive)
+ Addedcamelize@1.0.1(transitive)
+ Addedcaniuse-lite@1.0.30001680(transitive)
+ Addedconvert-source-map@2.0.0(transitive)
+ Addedcss-color-keywords@1.0.0(transitive)
+ Addedcss-to-react-native@3.2.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addedelectron-to-chromium@1.5.62(transitive)
+ Addedescalade@3.2.0(transitive)
+ Addedgensync@1.0.0-beta.2(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedjsesc@3.0.2(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlru-cache@5.1.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-releases@2.0.18(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedpostcss-value-parser@4.2.0(transitive)
+ Addedreact-is@16.13.118.3.1(transitive)
+ Addedsemver@6.3.1(transitive)
+ Addedshallowequal@1.1.0(transitive)
+ Addedstyled-components@5.3.11(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedupdate-browserslist-db@1.1.1(transitive)
+ Addedyallist@3.1.1(transitive)