You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BREAKING] Rebased on updated codebase (#7)
* Setup repository (#5)
* Remove tests
* Copy jsontableschema-js skeleton
* Add .idea/
* Use jsontableschema-js scripts and deps
* Update template, add badges, add note about the API changes
* Add testing data previously found in test/fixtures #6366ce930b9085081b3ff275fb3af65a0829cff6
* Stub code for passing the tests
* Add babel and mocha configs
* Stub test
* Stub index for the build scripts
* Add lodash as dependency
* Added Resource class (#10)
* Remove tests
* Copy jsontableschema-js skeleton
* Add .idea/
* Use jsontableschema-js scripts and deps
* Update template, add badges, add note about the API changes
* Add testing data previously found in test/fixtures #6366ce930b9085081b3ff275fb3af65a0829cff6
* Stub code for passing the tests
* Add babel and mocha configs
* Stub test
* Stub index for the build scripts
* Add lodash as dependency
* Add jts and nock as dependencies
* Initial Resource implementation
* Initial tests for the Resource implementation
* Use js getters
* Rename _getResourceField to _getSourceKey
* Use the source getter in get table
* Add transform-async-to-generator
* Use await instead of then on resource.table
* Add docstrings
* Add babel-plugin-transform-async-to-generator
* Add tests that work on dp1 from data/
* table getter discards errors and resolves in null, make sourceKey getter
* Add test to make resource.table resolves in null
* Add test for resource.table with csv file
* Move test data to test directory
* Move test data to data/ directory
* Rename sourceKey to _sourceKey, reject rejected jts.Table with null
* Test on actual data from csv file, expect rejected table to be null
* Add simple caching for jts.Table and make it resolve to null on errors
* Expect table promise to resolve to null on errors
* Setup eslint (#18)
* Remove tests
* Copy jsontableschema-js skeleton
* Add .idea/
* Use jsontableschema-js scripts and deps
* Update template, add badges, add note about the API changes
* Add testing data previously found in test/fixtures #6366ce930b9085081b3ff275fb3af65a0829cff6
* Stub code for passing the tests
* Add babel and mocha configs
* Stub test
* Stub index for the build scripts
* Add lodash as dependency
* Add eslint related packages as dev deps
* Add code linting after tests
* Fix review run
* Code lint
* Base .eslintrc from jts with dangling underscore turned off
* Added Profiles and validate (#13) (#14)
* Remove tests
* Copy jsontableschema-js skeleton
* Add .idea/
* Use jsontableschema-js scripts and deps
* Update template, add badges, add note about the API changes
* Add testing data previously found in test/fixtures #6366ce930b9085081b3ff275fb3af65a0829cff6
* Stub code for passing the tests
* Add babel and mocha configs
* Stub test
* Stub index for the build scripts
* Add lodash as dependency
* Add jts and nock as dependencies
* Initial Resource implementation
* Initial tests for the Resource implementation
* Use js getters
* Rename _getResourceField to _getSourceKey
* Use the source getter in get table
* Add transform-async-to-generator
* Use await instead of then on resource.table
* Add docstrings
* Add babel-plugin-transform-async-to-generator
* Add tests that work on dp1 from data/
* table getter discards errors and resolves in null, make sourceKey getter
* Add test to make resource.table resolves in null
* Add test for resource.table with csv file
* Move test data to test directory
* Move test data to data/ directory
* Rename sourceKey to _sourceKey, reject rejected jts.Table with null
* Test on actual data from csv file, expect rejected table to be null
* Add simple caching for jts.Table and make it resolve to null on errors
* Expect table promise to resolve to null on errors
* Add local copy of registry.cvs and schemas listed in it
* Add frictionlessdata/datapackage-registry-js code and tests
* Add isomprhic-fetch, json-lint, tv4 and chai-as-promised
* Consolidate utils into single class
* Remove utils folder
* Use Utils class, add remote flag
* Initial profiles implementation
* Reflect registry changes to the tests
* Merge registry, docstrings and code lint
* Add function for parsing tv4 errors, code lint
* Rename tv4Errors to errorsToStringArray
* Rename to profiles
* Fix valid local descriptor test
* Add CLI for schemas checking and updating
* Test schemas actuallity
* Common setup and mocks for testing
* Make constructor async
* Don't show no-undef eslint errors
* Don't show class-methods-use-this errors
* Code lint
* Add check-schemas and update-schemas commands
* Add and use test:travis command to run tests without schemas check
* Fix test:travis, add run
* Code refactor and docstrings update
* Move _gerDirname to Utils
* Add standalone validate function
* Change retrieve to return null if undefined
* Remove mocks and profiles.validate String support
* Add docstrings
* Run regular tests
* Code lint
* Remove test:travis command
* Increase timeout to 5s
* Export Resource, Profiles and validate
* Move validate from Profiles.validate to validate.js
* Resolve rejections into array of errors
* Return more obvious message when the profile isn't found
* Docstrings corrections
* Fix remoteProfiles default value to be Boolean
* Reflect changes on tests
* Add testing datapackage
* Remove unnecessary try-catch
* Correct docstrings
* Handle profile not found error on validation
* Added DataPackage class (#11)
* Initial Datapackage class
* Initial tests for Datapackage class
* Make update and addResource async
* Code cleaning, docstrings corrections
* New #addResource test, code cleaning and new asserts
* Added basePath argument to DataPackage, Resource (#26)
* Add basepath
* Add basePath tests
* Export Datapackage class
* Added readme, fixes (#19)
* Add test datapackage with inline data
* export Datapackage class
* Add rejection catch-reject for situations like network is unavalable/ect, fix docstrins
* Check whether data is string before handling it to url.parse to prevent errors being throwed
* Correct docstrings
* Add README tests
* Add README contents
* rebased on github/gitignore
* renamed license to license.md
* added lib to gitignore
* moved schema utils from src to utils
* improved scripts, setup deployment
* added npmignore
* removed Profiles from public API, minor updates
* minor code improvements
* moved mocha conf to mocharc
* added linting to test, utils
* rebased webpack on env vars
* moves schemas to src
* monor fixes
* fixed test linting, other fixes
* fixed readme examples
* minor fixes