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

@ideal-postcodes/jsutil

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ideal-postcodes/jsutil - npm Package Compare versions

Comparing version 7.0.1 to 7.0.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [7.0.2](https://github.com/ideal-postcodes/jsutil/compare/7.0.1...7.0.2) (2024-03-07)
### Bug Fixes
* **MutateAddress:** Simplify options ([54a8d8c](https://github.com/ideal-postcodes/jsutil/commit/54a8d8c8f7d2bc3c3e82aa2b575b6366fe363cf5))
## [7.0.1](https://github.com/ideal-postcodes/jsutil/compare/7.0.0...7.0.1) (2024-03-07)

@@ -2,0 +9,0 @@

7

dist/address.d.ts

@@ -27,3 +27,2 @@ import { AnyAddress, GbrAddress } from "./types";

populateCounty?: boolean;
populateOrganisation?: boolean;
}

@@ -37,6 +36,4 @@ export interface PopulateAddressOptions {

}
export interface MutateConfig extends MaxLineConfig {
removeOrganisation?: boolean;
export interface MutateConfig extends MaxLineConfig, Pick<PopulateConfig, "removeOrganisation" | "populateCounty"> {
populateCounty?: boolean;
populateOrganisation?: boolean;
}

@@ -53,3 +50,3 @@ export interface MutateAddressOptions {

interface MutateAddress {
(options: PopulateAddressOptions): AnyAddress;
(options: MutateAddressOptions): AnyAddress;
}

@@ -56,0 +53,0 @@ export declare const mutateAddress: MutateAddress;

@@ -45,3 +45,2 @@ import { components } from "@ideal-postcodes/openapi";

apiKey: string;
populateOrganisation: boolean;
populateCounty: boolean;

@@ -48,0 +47,0 @@ autocomplete: boolean;

@@ -37,3 +37,2 @@ "use strict";

apiKey: "",
populateOrganisation: true,
populateCounty: false,

@@ -40,0 +39,0 @@ autocomplete: true,

@@ -27,3 +27,2 @@ import { AnyAddress, GbrAddress } from "./types";

populateCounty?: boolean;
populateOrganisation?: boolean;
}

@@ -37,6 +36,4 @@ export interface PopulateAddressOptions {

}
export interface MutateConfig extends MaxLineConfig {
removeOrganisation?: boolean;
export interface MutateConfig extends MaxLineConfig, Pick<PopulateConfig, "removeOrganisation" | "populateCounty"> {
populateCounty?: boolean;
populateOrganisation?: boolean;
}

@@ -53,3 +50,3 @@ export interface MutateAddressOptions {

interface MutateAddress {
(options: PopulateAddressOptions): AnyAddress;
(options: MutateAddressOptions): AnyAddress;
}

@@ -56,0 +53,0 @@ export declare const mutateAddress: MutateAddress;

@@ -45,3 +45,2 @@ import { components } from "@ideal-postcodes/openapi";

apiKey: string;
populateOrganisation: boolean;
populateCounty: boolean;

@@ -48,0 +47,0 @@ autocomplete: boolean;

@@ -32,3 +32,2 @@ import { toHtmlElem, getAnchors, getParent } from "./dom";

apiKey: "",
populateOrganisation: true,
populateCounty: false,

@@ -35,0 +34,0 @@ autocomplete: true,

{
"name": "@ideal-postcodes/jsutil",
"version": "7.0.1",
"version": "7.0.2",
"description": "Browser Address Autocomplete for api.ideal-postcodes.co.uk",

@@ -5,0 +5,0 @@ "author": {

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