Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@ideal-postcodes/address-finder

Package Overview
Dependencies
8
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.8.3 to 1.8.4

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [1.8.4](https://github.com/ideal-postcodes/address-finder/compare/1.8.3...1.8.4) (2021-05-09)
### Bug Fixes
* **JsUtil:** Upgrade utils ([dacf2f7](https://github.com/ideal-postcodes/address-finder/commit/dacf2f75ae07f8889deb904295e6fe80e1b5140f))
* **SSR:** Better support for SSR ([ee2ebbc](https://github.com/ideal-postcodes/address-finder/commit/ee2ebbc16721a293f9b278db7c1c1b7fb800a8ca))
## [1.8.3](https://github.com/ideal-postcodes/address-finder/compare/1.8.2...1.8.3) (2021-04-23)

@@ -2,0 +10,0 @@

2

dist/controller.d.ts

@@ -15,3 +15,3 @@ import { View } from "./view";

*/
export declare const defaults: StoredOptions;
export declare const defaults: Omit<StoredOptions, "scope" | "document">;
/**

@@ -18,0 +18,0 @@ * # Controller

@@ -23,4 +23,2 @@ "use strict";

// DOM
scope: window.document,
document: window.document,
outputScope: null,

@@ -98,3 +96,7 @@ // Client

constructor(options) {
this.options = { ...exports.defaults, ...options };
this.options = {
...{ scope: window.document, document: window.document },
...exports.defaults,
...options,
};
// Scope the operations of this controller to a document or DOM subtree

@@ -101,0 +103,0 @@ this.scope = jsutil_1.getScope(this.options.scope);

@@ -274,4 +274,4 @@ import { Address, AddressSuggestion } from "@ideal-postcodes/api-typings";

Controller: typeof Controller;
defaults: import("./controller").StoredOptions;
defaults: Omit<import("./controller").StoredOptions, "document" | "scope">;
};
export { ViewOptions, Controller };

@@ -15,3 +15,3 @@ import { View } from "./view";

*/
export declare const defaults: StoredOptions;
export declare const defaults: Omit<StoredOptions, "scope" | "document">;
/**

@@ -18,0 +18,0 @@ * # Controller

@@ -17,4 +17,2 @@ /* eslint-disable no-invalid-this */

// DOM
scope: window.document,
document: window.document,
outputScope: null,

@@ -92,3 +90,7 @@ // Client

constructor(options) {
this.options = { ...defaults, ...options };
this.options = {
...{ scope: window.document, document: window.document },
...defaults,
...options,
};
// Scope the operations of this controller to a document or DOM subtree

@@ -95,0 +97,0 @@ this.scope = getScope(this.options.scope);

@@ -274,4 +274,4 @@ import { Address, AddressSuggestion } from "@ideal-postcodes/api-typings";

Controller: typeof Controller;
defaults: import("./controller").StoredOptions;
defaults: Omit<import("./controller").StoredOptions, "document" | "scope">;
};
export { ViewOptions, Controller };
{
"name": "@ideal-postcodes/address-finder",
"version": "1.8.3",
"version": "1.8.4",
"description": "Address Finder JS library backed by the Ideal Postcodes UK address search API",

@@ -101,3 +101,3 @@ "main": "dist/index.js",

"@ideal-postcodes/core-axios": "~2.2.4",
"@ideal-postcodes/jsutil": "~4.3.7",
"@ideal-postcodes/jsutil": "~4.3.9",
"@xstate/fsm": "~1.6.0",

@@ -113,3 +113,3 @@ "lodash": "~4.17.20"

"@cablanchard/tsconfig": "~2.0.0",
"@ideal-postcodes/api-fixtures": "~1.2.0",
"@ideal-postcodes/api-fixtures": "~1.3.0",
"@ideal-postcodes/api-typings": "~2.1.0",

@@ -128,3 +128,3 @@ "@ideal-postcodes/doc-assets": "~1.0.6",

"@types/sinon": "~9.0.10",
"@typescript-eslint/eslint-plugin": "~4.21.0",
"@typescript-eslint/eslint-plugin": "~4.22.0",
"@wessberg/rollup-plugin-ts": "~1.3.8",

@@ -134,6 +134,6 @@ "chai": "~4.3.0",

"core-js": "~3.11.0",
"core-js-pure": "~3.10.0",
"core-js-pure": "~3.11.0",
"cypress": "~7.1.0",
"dotenv": "~8.2.0",
"eslint": "~7.24.0",
"eslint": "~7.25.0",
"eslint-plugin-compat": "~3.9.0",

@@ -140,0 +140,0 @@ "karma": "~6.3.2",

@@ -29,2 +29,3 @@ <h1 align="center">

- [Address Finder Demos](https://ideal-postcodes.co.uk/address-finder-demo)
- [Changelog](https://cdn.jsdelivr.net/npm/@ideal-postcodes/address-finder/CHANGELOG.md)

@@ -31,0 +32,0 @@ ## Example Setup

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc