@ideal-postcodes/jsutil
Advanced tools
Comparing version 1.0.2 to 2.0.0
@@ -0,1 +1,16 @@ | ||
# [2.0.0](https://github.com/ideal-postcodes/jsutil/compare/1.0.2...2.0.0) (2020-05-27) | ||
### Features | ||
* **Exports:** Export lib contents from root ([8a43b52](https://github.com/ideal-postcodes/jsutil/commit/8a43b528fba36b49250b73187ab4bf925f824f18)) | ||
### BREAKING CHANGES | ||
* **Exports:** Functions can be imported straight from main file | ||
e.g. import { getTargets } from "@ideal-postcodes/jsutil/dist/dom" is | ||
now import { getTargets } from "@ideal-postcodes/jsutil" | ||
## [1.0.2](https://github.com/ideal-postcodes/jsutil/compare/1.0.1...1.0.2) (2020-05-27) | ||
@@ -2,0 +17,0 @@ |
@@ -1,6 +0,5 @@ | ||
import * as util from "./util"; | ||
import * as types from "./types"; | ||
import * as dom from "./dom"; | ||
import * as assets from "./assets"; | ||
import * as country from "./country"; | ||
export { util, types, dom, assets, country }; | ||
export * from "./util"; | ||
export * from "./types"; | ||
export * from "./dom"; | ||
export * from "./assets"; | ||
export * from "./country"; |
@@ -9,26 +9,11 @@ "use strict"; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.country = exports.assets = exports.dom = exports.types = exports.util = void 0; | ||
const util = __importStar(require("./util")); | ||
exports.util = util; | ||
const types = __importStar(require("./types")); | ||
exports.types = types; | ||
const dom = __importStar(require("./dom")); | ||
exports.dom = dom; | ||
const assets = __importStar(require("./assets")); | ||
exports.assets = assets; | ||
const country = __importStar(require("./country")); | ||
exports.country = country; | ||
__exportStar(require("./util"), exports); | ||
__exportStar(require("./types"), exports); | ||
__exportStar(require("./dom"), exports); | ||
__exportStar(require("./assets"), exports); | ||
__exportStar(require("./country"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@ideal-postcodes/jsutil", | ||
"version": "1.0.2", | ||
"version": "2.0.0", | ||
"description": "Browser Address Autocomplete for api.ideal-postcodes.co.uk", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -5,2 +5,3 @@ [![codecov](https://codecov.io/gh/ideal-postcodes/jsutil/branch/master/graph/badge.svg?token=4VJlNKmzMu)](https://codecov.io/gh/ideal-postcodes/jsutil) | ||
[![npm version](https://badge.fury.io/js/%40ideal-postcodes%2Fjsutil.svg)](https://badge.fury.io/js/%40ideal-postcodes%2Fjsutil) | ||
![Cross Browser Testing](https://github.com/ideal-postcodes/jsutil/workflows/Cross%20Browser%20Testing/badge.svg) | ||
@@ -13,2 +14,4 @@ # JSUtil | ||
Tested against [a suite of modern and legacy, mobile and desktop browsers](https://github.com/ideal-postcodes/supported-browsers). | ||
## Design Goals | ||
@@ -15,0 +18,0 @@ |
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
35
42924
817