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

basisjs-tools-build

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basisjs-tools-build - npm Package Compare versions

Comparing version 1.11.2 to 1.11.3

5

HISTORY.md

@@ -0,1 +1,6 @@

## 1.11.3 (September 18, 2017)
- Update `basis.resource` with non-string argument exception such way, that it works with relative paths as well as namespace basis paths (@istrel, #26)
- Minor fixes
## 1.11.2 (September 11, 2017)

@@ -2,0 +7,0 @@

21

lib/cli.js
var clap = require.main.require('clap');
var utils = require('./common/utils');
var commands = {
extract: command('extract'),
find: command('find'),
lint: command('lint'),
build: command('build')
};

@@ -26,17 +32,2 @@ function command(name){

var commands = {
extract: command('extract'),
find: command('find'),
lint: command('lint'),
build: command('build')
};
//
// registrate commands
//
//
// export
//
module.exports = {

@@ -43,0 +34,0 @@ run: run,

@@ -543,5 +543,13 @@ var html_at = require('basisjs-tools-ast').html;

{
var basisDir = path.dirname(flow.js.basisScript);
var relativeToBasis = path.relative(basisDir, this.file.filename).replace(/\\/g, '/');
// FIXME: temporary solution to avoid warnings in basis.template/basis.l10n that using
// basis.resource to get templates & dictionary dinamically
if (!/^basis\.(template|l10n|utils\.source)(\.|$)/.test(this.file.namespace))
if (
relativeToBasis !== 'basis/l10n.js' &&
relativeToBasis !== 'basis/template.js' &&
relativeToBasis !== 'basis/template/declaration.js' &&
relativeToBasis !== 'basis/utils/source.js'
)
flow.warn({

@@ -548,0 +556,0 @@ file: this.file.relpath,

{
"name": "basisjs-tools-build",
"title": "Basis.js build tools",
"version": "1.11.2",
"version": "1.11.3",
"homepage": "https://github.com/basisjs/basisjs-tools",

@@ -44,3 +44,3 @@ "description": "Build tools for basis.js framework",

"chalk": "^1.1.3",
"clap": "^1.2.0",
"clap": "^1.2.2",
"es6-promise-polyfill": "^1.2.0",

@@ -47,0 +47,0 @@ "fixed-width-string": "^1.0.0",

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