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

broccoli-source

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-source - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

17

CHANGELOG.md

@@ -1,3 +0,18 @@

# master
## v2.1.2 (2019-05-24)
#### :bug: Bug Fix
* [#9](https://github.com/broccolijs/broccoli-source/pull/9) Ensure all source nodes have resolved their paths. ([@rwjblue](https://github.com/rwjblue))
#### Committers: 1
- Robert Jackson ([@rwjblue](https://github.com/rwjblue))
## 2.1.1 (2019-05-17)
#### :bug: Bug Fix
* [#7](https://github.com/broccolijs/broccoli-source/pull/7) Fixing missing files in published package ([@thoov](https://github.com/thoov))
#### Committers: 1
- Travis Hoover ([@thoov](https://github.com/thoov))
# 2.1.0

@@ -4,0 +19,0 @@ * convert the project to typescript

3

index.js

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

});
const path = require("path");
class Directory {

@@ -12,3 +13,3 @@ constructor(directoryPath, watched, options) {

}
this._directoryPath = directoryPath;
this._directoryPath = path.resolve(directoryPath);
this._watched = !!watched;

@@ -15,0 +16,0 @@ options = options || {};

@@ -27,2 +27,4 @@ const broccoliFeatures = Object.freeze({

import * as path from 'path';
class Directory {

@@ -41,3 +43,4 @@ _directoryPath: string;

this._directoryPath = directoryPath;
this._directoryPath = path.resolve(directoryPath);
this._watched = !!watched;

@@ -44,0 +47,0 @@

{
"name": "broccoli-source",
"version": "2.1.2",
"description": "Broccoli plugin for referring to source directories on the file system",
"version": "2.1.1",
"author": "Jo Liss <joliss42@gmail.com>",
"main": "index.js",
"types": "index.d.ts",
"license": "MIT",
"keywords": [
"broccoli-plugin"
],
"repository": {

@@ -13,5 +12,4 @@ "type": "git",

},
"keywords": [
"broccoli-plugin"
],
"license": "MIT",
"author": "Jo Liss <joliss42@gmail.com>",
"files": [

@@ -23,2 +21,4 @@ "index.js",

],
"main": "index.js",
"types": "index.d.ts",
"scripts": {

@@ -29,5 +29,6 @@ "build": "tsc -b .",

"prepublishOnly": "yarn build",
"release": "release-it",
"test": "yarn build && yarn test:pre && yarn test:js",
"test:js": "mocha test/*.test.js",
"test:pre": "multidep test/multidep.json",
"test:js": "mocha test/*.test.js",
"watch": "tsc --watch ."

@@ -52,2 +53,4 @@ },

"prettier": "^1.16.4",
"release-it": "^12.2.1",
"release-it-lerna-changelog": "^1.0.3",
"typescript": "^3.4.3"

@@ -57,3 +60,19 @@ },

"node": "6.* || 8.* || >= 10.*"
},
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"release-it": {
"plugins": {
"release-it-lerna-changelog": {
"infile": "CHANGELOG.md"
}
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
}
}
}

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