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

@pkgr/utils

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pkgr/utils - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.3.2](https://github.com/rx-ts/pkgr/compare/@pkgr/utils@0.3.1...@pkgr/utils@0.3.2) (2019-11-03)
### Bug Fixes
* **rollup:** support `external` alias and single string type ([c4e21be](https://github.com/rx-ts/pkgr/commit/c4e21be1d701ec940f59549f910064326b6ec156))
## [0.3.1](https://github.com/rx-ts/pkgr/compare/@pkgr/utils@0.3.0...@pkgr/utils@0.3.1) (2019-11-03)

@@ -8,0 +19,0 @@

1

lib/helpers.d.ts

@@ -18,2 +18,3 @@ export declare const tryPkg: (pkg: string) => string | undefined;

export declare const findUp: (searchEntry: string, searchFile?: string) => string;
export declare const arrayify: <T, R = T extends (infer S)[] ? S : T>(...args: T[]) => R[];
//# sourceMappingURL=helpers.d.ts.map

@@ -84,2 +84,12 @@ "use strict";

};
exports.arrayify = function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
return args.reduce(function (arr, curr) {
arr.push.apply(arr, (Array.isArray(curr) ? curr : [curr]));
return arr;
}, []);
};
//# sourceMappingURL=helpers.js.map

4

package.json
{
"name": "@pkgr/utils",
"version": "0.3.1",
"version": "0.3.2",
"description": "Shared utils for `@pkgr` packages or any package else",

@@ -27,3 +27,3 @@ "repository": "git+https://github.com/rx-ts/pkgr.git",

"sideEffects": false,
"gitHead": "7e75de4d3975211ae657cd47f65193372ce5defa"
"gitHead": "e9b04193f4a4689f34e9ea8baf48f4099d00f3ec"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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